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?

Files: 
CommentFileSizeAuthor
#8 fatal-error-prepare-mail-1742836-8.patch3.13 KBBerdir
PASSED: [[SimpleTest]]: [MySQL] 1,839 pass(es).
[ View ]
#2 fatal-error-prepare-mail-1742836-2.patch3.13 KBBerdir
FAILED: [[SimpleTest]]: [MySQL] 1,834 pass(es), 1 fail(s), and 1 exception(s).
[ View ]

Comments

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?

Status:Active» Needs review
StatusFileSize
new3.13 KB
FAILED: [[SimpleTest]]: [MySQL] 1,834 pass(es), 1 fail(s), and 1 exception(s).
[ View ]

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.

Version:7.x-1.0-rc1» 7.x-1.x-dev

Status:Needs work» Needs review

Status:Needs review» Needs work

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

Status:Needs work» Needs review
StatusFileSize
new3.13 KB
PASSED: [[SimpleTest]]: [MySQL] 1,839 pass(es).
[ View ]

Fixed the constant name.

Status:Needs review» Fixed

Commited.

Status:Fixed» Closed (fixed)

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