Title: PHP Warning: SimpleXMLElement::addChild
Last modified: July 31, 2023

---

# PHP Warning: SimpleXMLElement::addChild

 *  Resolved [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-simplexmlelementaddchild/)
 * Hello
   I see the next warning in the PHP logs.Looks like this might prevent reading
   some data from XML
 *     ```wp-block-code
       PHP Warning:  SimpleXMLElement::addChild(): unterminated entity reference list=PL51EB26FF8931E0DB in /plugins/xml-sitemap-generator-for-google/includes/vendor/SitemapGenerator.php on line 218
       PHP Warning:  SimpleXMLElement::addChild(): unterminated entity reference autoplay=1&rel=0 in /plugins/xml-sitemap-generator-for-google/includes/vendor/SitemapGenerator.php on line 218
       PHP Warning:  SimpleXMLElement::addChild(): unterminated entity reference           t=49s in /plugins/xml-sitemap-generator-for-google/includes/vendor/SitemapGenerator.php on line 218
       PHP Warning:  SimpleXMLElement::addChild(): unterminated entity reference           rel=0 in /plugins/xml-sitemap-generator-for-google/includes/vendor/SitemapGenerator.php on line 218
       PHP Warning:  SimpleXMLElement::addChild(): unterminated entity reference    wmode=opaque in /plugins/xml-sitemap-generator-for-google/includes/vendor/SitemapGenerator.php on line 218
       ```
   
 * Kind regards and thank you for this awesome plugin

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

 *  Plugin Author [WP Grim](https://wordpress.org/support/users/wpgrim/)
 * (@wpgrim)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-simplexmlelementaddchild/#post-16937222)
 * Hi [@track77](https://wordpress.org/support/users/track77/)
 * There was an escaping URL issue with Video Sitemap `player_loc`. We have fixed
   this issue and released an update **v 1.5.4**. Please update the plugin in order
   to get this fix.
 * Thank you very much one more time for helping us with improvement of this plugin
   🙂 We really appreciate this **♥**
 * PS: We mentioned you in our Changelog 🙂
 * Best regards
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-simplexmlelementaddchild/#post-16938945)
 * Excellent!
   Thank you!

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

The topic ‘PHP Warning: SimpleXMLElement::addChild’ is closed to new replies.

 * ![](https://ps.w.org/xml-sitemap-generator-for-google/assets/icon-256x256.gif?
   rev=3369212)
 * [Dynamic XML Sitemaps Generator for Google](https://wordpress.org/plugins/xml-sitemap-generator-for-google/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/xml-sitemap-generator-for-google/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/xml-sitemap-generator-for-google/)
 * [Active Topics](https://wordpress.org/support/plugin/xml-sitemap-generator-for-google/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/xml-sitemap-generator-for-google/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/xml-sitemap-generator-for-google/reviews/)

## Tags

 * [video sitemap](https://wordpress.org/support/topic-tag/video-sitemap/)

 * 2 replies
 * 2 participants
 * Last reply from: [Oleksandr](https://wordpress.org/support/users/track77/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/php-warning-simplexmlelementaddchild/#post-16938945)
 * Status: resolved