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?

Support from Acquia helps fund testing for Drupal Acquia logo

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
FileSize
3.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
FileSize
3.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.