The function libxml_disable_entity_loader is deprecated on PHP 8 and will throw some warnings about it. It may have some side effects like batch import is stopped.

The attached patch will wrap these calls to php version check, so they are only called on the older PHP versions.

Comments

rang501 created an issue. See original summary.

megachriz’s picture

Status: Active » Fixed

Thanks for the patch. Committed it with additional code comments.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.