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.
In D7, user_mail_token() takes a first parameter by reference instead of a returning value, as in D6 (ref: http://api.drupal.org/api/drupal/modules--user--user.module/function/use...).
Function account_reminder_mail() needs to update its call to user_mail_tokens() [line 211] to reflect this change.
Currently, the missing argument causes a fatal error (see: http://drupal.org/node/1326934).
Comment | File | Size | Author |
---|---|---|---|
#2 | account_reminder-user_mail_tokens-1365638-v02.patch | 625 bytes | mesr01 |
#1 | account_reminder-user_mail_tokens-1365638.patch | 602 bytes | mesr01 |
Comments
Comment #1
mesr01 CreditAttribution: mesr01 commentedHere's a patch that needs testing.
Comment #2
mesr01 CreditAttribution: mesr01 commentedPrevious patch is incorrect. Use this one instead.
Comment #3
jaydub CreditAttribution: jaydub commentedThanks for the patch. I've done some more substantial refactoring of the d7 version to bring it up to snuff and this error shouldn't happen anymore with the new changes. Please try out the current d7 code and let me know if it works for you.
Comment #4
jaydub CreditAttribution: jaydub commented