Function libxml_disable_entity_loader() is deprecated since 8.0, as external entity loading is disabled by default

Description

This warning signals that PHP is not using this function anymore: the features of loading external entities has been disabled, for security purposes: loading entities from a remote server without checking them was a serious vulnerability.

The deprecation warning warns the user that this feature is already inactive.

Example

<?php

libxml_disable_entity_loader(true);

?>

Solutions

  • Remove the call to libxml_disable_entity_loader().