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.
I have a site where i just want to uninstall the Comment module, but when I try it didn't work aand there is this error message in the log.
Recoverable fatal error: Argument 1 passed to paymentreference_field_delete_instance() must be of the type array, null given in paymentreference_field_delete_instance() (Line 286 of /srv/pub/drupal/sites/all/modules/payment/paymentreference/paymentreference.module).
Comments
Comment #1
andros CreditAttribution: andros commentedOnly after deaktivating Payment module I could uninstall the Comment module.
Comment #2
XanoThat sounds like a bug in Field, which passes on NULL instead of the instance. Can you please provide step-by-step instructions on how to reproduce this problem using a clean installation of Drupal?
Comment #3
andros CreditAttribution: andros commentedI have tested it with a almost new install.
When I just enable the payment reference sub module it is not possible to uninstall comment module.
After just deactivating payment reference module it works!
Comment #4
XanoWithout step-by-step instructions, we cannot reproduce the problem, which is needed to fix it. Please provide them.
Comment #5
andros CreditAttribution: andros commentedComment #6
firfin CreditAttribution: firfin commentedI get the same error. But when uninstalling the 'productreference' module. Not the comment module. Will try and reproduce on fresh install.
Comment #7
Kebz CreditAttribution: Kebz commentedI get the same error from trying to "uninstall" these modules...
I just installed these modules, but decided to uninstall them since it does not support PayPal gateway
Recoverable fatal error: Argument 1 passed to paymentreference_field_delete_instance() must be of the type array, null given in paymentreference_field_delete_instance() (line 287 of /sites/all/modules/payment/paymentreference/paymentreference.module).