Hi, I have an error when trying to install Moodle 3.1.14. This happens at the very beginning of the installation. So, I type in localhost/moodle and I get the error below.
Fatal error: Type of xml_format_exception::$line must be int (as in class Exception) in C:\inetpub\wwwroot\moodle\lib\xmlize.php on line 42
I have looked at the php file and cannot see anything wrong with it, however I'm not a php programmer. PHP is setup correctly and all XML updates are installed.
I have attached a copy of the xmlize.php file. Thanks in advance.