Title: Warning: DOMDocument::loadHTML()
Last modified: September 1, 2016

---

# Warning: DOMDocument::loadHTML()

 *  Resolved [flierter](https://wordpress.org/support/users/flierter/)
 * (@flierter)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-domdocumentloadhtml/)
 * Hi,
    i have a problem with Yoast SEO Version 3.3.0, WP version 4.5.2 width a 
   Costumer Theme.
 *  Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: End tag : expected ‘
   >’ in Entity, line: 219 in /xxx/wp-content/plugins/wordpress-seo/inc/sitemaps/
   class-sitemap-image-parser.php on line 139
 * Can anyone help me?
 * Thanks
 * [https://wordpress.org/plugins/wordpress-seo/](https://wordpress.org/plugins/wordpress-seo/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  [Taco Verdonschot](https://wordpress.org/support/users/tacoverdo/)
 * (@tacoverdo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-domdocumentloadhtml/#post-7475981)
 * Do you see the same warning when using a default theme like Twenty Sixteen?
 *  [Just a Wordpress User](https://wordpress.org/support/users/xrvel/)
 * (@xrvel)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-domdocumentloadhtml/#post-7476005)
 * I got that too on my post sitemap.
    But when i refreshed, the error was gone.
 * It seems to happen only once per website.
 *  [janvitos](https://wordpress.org/support/users/janvitos/)
 * (@janvitos)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-domdocumentloadhtml/#post-7476048)
 * Hi,
 * My NGINX error log seems to be filling up with the same errors since updating
   to 3.3.0.
 * Each time a post-sitemap.xml is accessed and not cached, the error log fills 
   up with dozens of these lines:
 * > PHP message: PHP Warning: DOMDocument::loadHTML(): htmlParseEntityRef: expecting‘;’
   > in Entity, line: 1 in /wordpress/wp-content/plugins/wordpress-seo/inc/sitemaps/
   > class-sitemap-image-parser.php on line 139
 * Thanks.
 *  [vdberto](https://wordpress.org/support/users/vdberto/)
 * (@vdberto)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-domdocumentloadhtml/#post-7476053)
 * same here 🙁
 * <b>Warning</b>: DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity,
   line: 1 in <b>/xxx/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemap-
   image-parser.php</b> on line <b>139</b>
 * <b>Warning</b>: DOMDocument::loadHTML(): htmlParseEntityRef: expecting ‘;’ in
   Entity, line: 1 in <b>/xxx/wp-content/plugins/wordpress-seo/inc/sitemaps/class-
   sitemap-image-parser.php</b> on line <b>139</b>
 *  [Taco Verdonschot](https://wordpress.org/support/users/tacoverdo/)
 * (@tacoverdo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-domdocumentloadhtml/#post-7476059)
 * I’ve created a GitHub issue for this warning at [https://github.com/Yoast/wordpress-seo/issues/4881](https://github.com/Yoast/wordpress-seo/issues/4881).
 * Please add any extra information you have to that issue, so that our development
   team resolve this more quickly. Valuable information would be a step-by-step 
   description on how to reproduce this warning.
 * Thanks!
 *  [vdberto](https://wordpress.org/support/users/vdberto/)
 * (@vdberto)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-domdocumentloadhtml/#post-7476061)
 * Taco,
 * I think we didnt tell you that it appears within the sitemap post-xml. Index 
   xml is fine, but post xml keep giving this error.
 *  [PPNSteve](https://wordpress.org/support/users/ppnsteve/)
 * (@ppnsteve)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-domdocumentloadhtml/#post-7476072)
 * related error messages:
 * Warning: DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity, line:
   36 in /home/yugioh-w/public_html/wp-content/plugins/wordpress-seo/inc/sitemaps/
   class-sitemap-image-parser.php on line 139
 * Warning: DOMDocument::loadHTML(): Invalid char in CDATA 0x1 in Entity, line: 
   1 in /home/yugioh-w/public_html/wp-content/plugins/wordpress-seo/inc/sitemaps/
   class-sitemap-image-parser.php on line 139
 * Warning: DOMDocument::loadHTML(): htmlParseEntityRef: expecting ‘;’ in Entity,
   line: 2 in /home/yugioh-w/public_html/wp-content/plugins/wordpress-seo/inc/sitemaps/
   class-sitemap-image-parser.php on line 139
 * Warning: DOMDocument::loadHTML(): htmlParseEntityRef: expecting ‘;’ in Entity,
   line: 2 in /home/yugioh-w/public_html/wp-content/plugins/wordpress-seo/inc/sitemaps/
   class-sitemap-image-parser.php on line 139
 * Latest ver of yoast.
    we’re using a child theme of TwentyFourteen with only cosmetic
   changes.
 *  [DiscountDukan](https://wordpress.org/support/users/techjockey/)
 * (@techjockey)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-domdocumentloadhtml/#post-7476075)
 * Me too getting similer errors on website
 * [15-Jun-2016 00:48:58 UTC] PHP Warning: DOMDocument::loadHTML(): ID Description
   already defined in Entity, line: 5 in /home/dealssts/public_html/wp-content/plugins/
   wordpress-seo/inc/sitemaps/class-sitemap-image-parser.php on line 139
 *  [Just a Wordpress User](https://wordpress.org/support/users/xrvel/)
 * (@xrvel)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-domdocumentloadhtml/#post-7476079)
 * I use Genesis theme, just FYI.
    And it happened in post / page / post-based sitemap(
   custom taxonomy). In my website, it happened only once. And the error was gone
   when i refreshed my browser when opening the sitemap.
 *  [Taco Verdonschot](https://wordpress.org/support/users/tacoverdo/)
 * (@tacoverdo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-domdocumentloadhtml/#post-7476096)
 * We’ve solved the problem and it will be released in Yoast SEO 3.3.1 later today.
   
   Thank you so much for all the helpful feedback!
 *  [janvitos](https://wordpress.org/support/users/janvitos/)
 * (@janvitos)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-domdocumentloadhtml/#post-7476142)
 * I confirm that the issue is resolved in 3.3.1.
 *  Thread Starter [flierter](https://wordpress.org/support/users/flierter/)
 * (@flierter)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-domdocumentloadhtml/#post-7476160)
 * Excellent! It’s working now.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Warning: DOMDocument::loadHTML()’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 12 replies
 * 7 participants
 * Last reply from: [flierter](https://wordpress.org/support/users/flierter/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/warning-domdocumentloadhtml/#post-7476160)
 * Status: resolved