Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The `mass_contact_opt_out` field on the user account doesn't get removed from config on uninstall. As a result, I was getting php errors in my log:
PHP message: PHP Fatal error: Call to undefined function mass_contact_opt_out_allowed_values_callback() in /core/modules/options/options.module on line 88
Had to delete the field through the GUI.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2900027-5.patch | 650 bytes | sumit kumar singh |
|
Comments
Comment #2
seancasey CreditAttribution: seancasey as a volunteer commentedComment #3
seancasey CreditAttribution: seancasey as a volunteer commentedComment #4
gaurav.kapoor CreditAttribution: gaurav.kapoor commentedWe can try this https://drupal.stackexchange.com/questions/173684/how-to-remove-mymodule...
Comment #5
sumit kumar singh CreditAttribution: sumit kumar singh commentedComment #6
sumit kumar singh CreditAttribution: sumit kumar singh at OpenSense Labs for DrupalFit commentedComment #8
gaurav.kapoor CreditAttribution: gaurav.kapoor commentedAdded the patch. Fixed comments and coding standards as well.Thanks.