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?

Comments

halohaloplace’s picture

Title: Simple » Fatal error SimplenewsSpool::prepareMail()

I 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?

berdir’s picture

Status: Active » Needs review
StatusFileSize
new3.13 KB

Confirmed, 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.

Status: Needs review » Needs work

The last submitted patch, fatal-error-prepare-mail-1742836-2.patch, failed testing.

berdir’s picture

Version: 7.x-1.0-rc1 » 7.x-1.x-dev
berdir’s picture

Status: Needs work » Needs review
berdir’s picture

Status: Needs review » Needs work

The last submitted patch, fatal-error-prepare-mail-1742836-2.patch, failed testing.

berdir’s picture

Status: Needs work » Needs review
StatusFileSize
new3.13 KB

Fixed the constant name.

berdir’s picture

Status: Needs review » Fixed

Commited.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.