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 got this error from time to time:
Fatal error: Call to undefined method SimplenewsSpool::prepareMail() in /home/.../sites/all/modules/simplenews/includes/simplenews.source.inc on line 291
I am using Drupal 7.15 and the latest simplenews module. What is going on? Any patch for this?
Comment | File | Size | Author |
---|---|---|---|
#8 | fatal-error-prepare-mail-1742836-8.patch | 3.13 KB | Berdir |
#2 | fatal-error-prepare-mail-1742836-2.patch | 3.13 KB | Berdir |
Comments
Comment #1
halohaloplace CreditAttribution: halohaloplace commentedI got the following error from time to time:
Fatal error: Call to undefined method SimplenewsSpool::prepareMail() in /home/.../sites/all/modules/simplenews/includes/simplenews.source.inc on line 291
Any patch for this? Or what wrong had I done?
Comment #2
BerdirConfirmed, this happens when trying to send a node that has been deleted directly in the database or another way that did not trigger the corresponding node delete hook.
Comment #4
BerdirComment #5
BerdirComment #6
Berdir#2: fatal-error-prepare-mail-1742836-2.patch queued for re-testing.
Comment #8
BerdirFixed the constant name.
Comment #9
BerdirCommited.