Hello all,

When I send a test for a newsletter, I get the folowing warning.

* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: ID newsletterTitle already defined in Entity, line: 79 in /home/renaudj/public_html/drpl1/sites/all/modules/simplenews_template/emogrifier.php on line 59.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: ID newsletterTitle already defined in Entity, line: 82 in /home/renaudj/public_html/drpl1/sites/all/modules/simplenews_template/emogrifier.php on line 59.

Line 59 of emogrifier.php reads : $xmldoc->loadHTML($body);

Anyone seen this before?

  • I'm running D6.16
  • Simplenews 6.x-2.x-dev (2010-Jul-11)
  • Simplenews Template 6.x-1.x-dev (2010-Jul-11)
  • Mime Mail 6.x-1.0-alpha4 (CSS compressor enabled)

Otherwise, all seems to work fine. (I finally got Simplenews Template delivering a custon header with custom CSS. Kudos to the maintainers! :-)

Comments

RyanR’s picture

I am getting a very similar error.

•warning: DOMDocument::loadHTML() [domdocument.loadhtml]: htmlParseStartTag: invalid element name in Entity, line: 18 in /home/clearcon/public_html/sites/all/modules/simplenews_template/emogrifier.php on line 68.
•warning: DOMDocument::loadHTML() [domdocument.loadhtml]: htmlParseStartTag: invalid element name in Entity, line: 18 in /home/clearcon/public_html/sites/all/modules/simplenews_template/emogrifier.php on line 68.

Drupal 6.22
Simplenews 1.3
Simplenews template 1.0-beta 3
Mime Main 1.0-beta2

ashrafmhd09’s picture

I'm getting the similar error

Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: ID random-3 already defined in Entity.