Tuesday, November 27, 2012

PHP 5.4: Cannot re-assign auto-global variable GLOBALS

Error
Fatal error: Cannot re-assign auto-global variable GLOBALS in - on line 2

Solution You can't have a global variable or $_SESSION as a function argument any more in PHP 5.4, check the link below

https://bugs.php.net/bug.php?id=54657

No comments:

Post a Comment