# 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:** 4

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [April 8, 2021, 10:56pm UTC](https://meta.discourse.org/t/error-msg-libxml-disable-entity-loader/185883/4 "2021-04-08T22:56:55Z")

</div>

Hey @Romain_Bisseret,

The issue here is arising because your hosting provider has disabled a PHP function called [` libxml_disable_entity_loader`](https://www.php.net/manual/en/function.libxml-disable-entity-loader.php), which is used in the [WP Discourse](https://github.com/discourse/wp-discourse) plugin.

That function is used in a wide variety of Wordpress plugins, and is fully supported in PHP 7.\*, however it has been deprecated in PHP 8.0. We’ll be deprecating it in the [WP Discourse](https://github.com/discourse/wp-discourse) plugin in the near future, alongside other work to ensure full compatability with PHP 8.0; in fact, I’m pushing that up my todo list.

Could you confirm:

1. The version of the PHP you’re using (sorry I wasn’t clear by your reference to PHP 7 if you mean that’s the version you’re running)

2. Your hosting provider. It may be worth asking them about enabling this on your instance(s). The function is a supported function in PHP 7.\*.

Thanks.

---

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