# Error msg libxml\_disable\_entity\_loader

**URL:** <https://meta.discourse.org/t/error-msg-libxml-disable-entity-loader/185883>\
**Category:** WordPress\
**Created:** [April 7, 2021, 1:19pm UTC](https://meta.discourse.org/t/error-msg-libxml-disable-entity-loader/185883 "2021-04-07T13:19:57Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Romain\_Bisseret](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/romain_bisseret/32/199904_2.png) [@Romain\_Bisseret](https://meta.discourse.org/u/Romain_Bisseret)\
**Post date:** [April 7, 2021, 1:19pm UTC](https://meta.discourse.org/t/error-msg-libxml-disable-entity-loader/185883/1 "2021-04-07T13:19:57Z")

</div>

Hi,  
I created a staging site for making changes on the production site. On the staging site, I noticed for every page/article where there’s a connexion to the Discourse forum, that I get this error:  
**Warning** : libxml\_disable\_entity\_loader() has been disabled for security reasons in **/www/way\_to\_my\_puglin\_folder/wp-discourse/lib/template-functions.php** on line xxx

Since it’s a staging, I figured that Discourse didn’t recognize the legit website and deactivated some stuff. However, I just pushed the staging to production, and the error is still there (on the production site, with the legit URL). Any clue what I can do to get rid of it?

---

_[View the full topic](https://meta.discourse.org/t/error-msg-libxml-disable-entity-loader/185883)._
