Please give us a short description of the bug
Installing using PHP 8.3.10 and get a $GLOBALS error
Expected behaviour
For it to work
What did you expect to happen?
For it to work
Actual behaviour
[02-Sep-2024 23:58:10 UTC] PHP Fatal error: $GLOBALS can only be modified using the $GLOBALS[$name] = $value syntax in /home/oppie/public_html/webDiplomacy/header.php on line 140
What happened instead?
?
Steps to reproduce
Use PHP 8.3.10 or newer.
If you know how to trigger the bug, please tell us here
Warning
As of PHP 8.1.0, write access to the entire $GLOBALS array is no longer supported:
You have this in header.php file:
// Reset globals
// FIXME: Resetting this means $GLOBALS['asdf'] is no longer kept in sync with global $asdf. This causes problems during construction
line 140 = $GLOBALS = array();
line 141 = $GLOBALS['scriptStartTime'] = microtime(true);
Bug report
Please give us a short description of the bug Installing using PHP 8.3.10 and get a $GLOBALS error
Expected behaviour
For it to work What did you expect to happen? For it to work
Actual behaviour
[02-Sep-2024 23:58:10 UTC] PHP Fatal error: $GLOBALS can only be modified using the $GLOBALS[$name] = $value syntax in /home/oppie/public_html/webDiplomacy/header.php on line 140 What happened instead? ?
Steps to reproduce
Use PHP 8.3.10 or newer. If you know how to trigger the bug, please tell us here
Warning As of PHP 8.1.0, write access to the entire $GLOBALS array is no longer supported:
You have this in header.php file: // Reset globals // FIXME: Resetting this means $GLOBALS['asdf'] is no longer kept in sync with global $asdf. This causes problems during construction line 140 = $GLOBALS = array(); line 141 = $GLOBALS['scriptStartTime'] = microtime(true);