Closed (fixed)
Project:
Mail System
Version:
7.x-2.33
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2012 at 17:00 UTC
Updated:
26 Mar 2012 at 13:00 UTC
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
Comment #1
ianchan commentedTurns 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.
Comment #2
bforchhammer commentedThe same error exists in 7.x-2.31; I also have a caption tag in the source html...
Comment #3
patrickharris commentedI'm getting this same error too when emailing a table with a caption tag.
Comment #4
pillarsdotnet commentedInteresting...
Comment #5
pillarsdotnet commented(sigh) was a simple typo.
fixed in 6.x-2.33 / 7.x-2.33 / 8.x-2.33 releases.
Comment #6
pillarsdotnet commentedComment #7
bforchhammer commentedThank you :)