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.
When we disable a user account (blocked but not completely deleted), this message shows up in the log for each account cancellation:
Warning: Parameter 1 to account_reminder_user_cancel() expected to be a reference, value given in module_invoke_all() (line 850 of /home/user/public_html/includes/module.inc).
Comment | File | Size | Author |
---|---|---|---|
#3 | account_reminder-hook_user_cancel-1733848-1.patch | 1.13 KB | jaydub |
#1 | account_reminder-hook_user_cancel-1733848-1.patch | 1.13 KB | jaydub |
Comments
Comment #1
jaydub CreditAttribution: jaydub commentedCan you try the attached patch?
Comment #2
dhalbert CreditAttribution: dhalbert commentedWhat service! Unfortunately the patch does not apply. I pulled the latest with git, but I get an error. Maybe you generated a patch against a newer version?
In the account_reminder.module I have, line 165 is:
Comment #3
jaydub CreditAttribution: jaydub commentedLet's try that again, I hadn't updated my tree :)
Comment #4
dhalbert CreditAttribution: dhalbert commentedWorks! No more error. Thank you.
Comment #5
jaydub CreditAttribution: jaydub commentedCommitted fix