I'm trying to update an installation of MW 1.34.1 and get the following error
PHP Parse error: syntax error, unexpected '?' in .../w/maintenance/Maintenance.php on line 376
I'm trying to update an installation of MW 1.34.1 and get the following error
PHP Parse error: syntax error, unexpected '?' in .../w/maintenance/Maintenance.php on line 376
The "??" operator was introduced in PHP 7.0. Looks like your server is not using PHP 7.3 but an older version, at least from the command line.
You should check if the php binary for 7.3 is installed somewhere else and you need to run scripts with the full path to that binary, like /usr/bin/php73 or similar