-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
4.0.5, 4.1
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MDL-76472-master -
The warning is:
PHP Warning: Object of class XMLParser could not be converted to int in /var/www/public/moodle401/lib/webdavlib.php on line 1072
It occurs in a few other lines as well. When using the nextcloud repository, it happens during a AJAX Request, so is only visible in the php error.log. But for example in the plugin mod_collaborativefolders it also happens in the foreground and the warnings get printed normally.
The warning is caused by PHP 8 representing a XML Parser as a class instead of a resource (int). Fortunately, nothing else changed and the xml_ methods work exactly the same.
- duplicates
-
MDL-76324 WebDAV is not working with PHP8
- Closed