PHP Error: Function libxml_disable_entity_loader() is deprecated at /var/lib/nextcloud/apps/richdocuments/lib/WOPI/Parser.php

Good Evening,

I just upgraded to Nextcloud 21 on my Arch Linux server.

I run Collabora CODE from Docker.

My web server is nginx and I’m running PHP 8 with php-fpm.

Following the NC21 upgrade, everything seems to run fine in Collabora CODE.

However, when I check my Nextcloud log file, I see numerous instances of these two errors:

PHP Error: Function libxml_disable_entity_loader() is deprecated at /var/lib/nextcloud/apps/richdocuments/lib/WOPI/Parser.php#44
and
PHP Error: Function libxml_disable_entity_loader() is deprecated at /var/lib/nextcloud/apps/richdocuments/lib/WOPI/Parser.php#42

Since this does not appear to affect opening and saving files, it’s not critical to me, but I wanted to inquire about a resolution to this error.

Thank you,

buzz

I posted this at github:
https://github.com/nextcloud/richdocuments/issues/1376

1 Like