I have a rule that sends an email when content is updated. After the most recent upgrade to Mail System, when I save content, I get a blank screen and the following error message in the Drupal log.

Argument 1 passed to _mailsystem_html_to_text() must be an instance of DOMNode, null given, called in /drupal/sites/all/modules/mailsystem/html_to_text.inc on line 486 and defined in /drupal/sites/all/modules/mailsystem/html_to_text.inc on line 161

Comments

ianchan’s picture

Priority: Critical » Normal

Turns out the error was only happening on one page. The page had a caption tag in the HTML and when I removed that the error did not come up again.

bforchhammer’s picture

Version: 6.x-2.9 » 7.x-2.31

The same error exists in 7.x-2.31; I also have a caption tag in the source html...

patrickharris’s picture

I'm getting this same error too when emailing a table with a caption tag.

pillarsdotnet’s picture

Interesting...

pillarsdotnet’s picture

Version: 7.x-2.31 » 8.x-2.10
Status: Active » Fixed

(sigh) was a simple typo.

fixed in 6.x-2.33 / 7.x-2.33 / 8.x-2.33 releases.

pillarsdotnet’s picture

Version: 8.x-2.10 » 7.x-2.33
bforchhammer’s picture

Thank you :)

Status: Fixed » Closed (fixed)

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