I'm trying to patch our moodle from 3.8 to 3.9. I've backuped all the files and went on with the installation. After downloading the current release and placing it in the 'old' directory, copying the config.php, I get the following error message when trying to load the site or run any admin.cli commands:
PHP Fatal error: Cannot use 'object' as class name as it is reserved in /var/www/html/moodle/lib/setuplib.php on line 66
I run the following PHP version on my server:
Can anybody help me?