PHP Fatal Error
One Of My Customers Is Getting The Error:
According To My Research - This Is Because Of Depreciated PHP Commands - This Software The Customers Is Trying Uses & Recommends (PHP4 or PHP5). PHP 5 is recommended
The Server Has 5.5 | 5.6 & 7.0 Installed - Default Version For Server Is 5.6 Any Ideas
PHP Fatal error: Cannot re-assign auto-global variable _POST in /home/************/public_html/music/index.php on line 9549According To My Research - This Is Because Of Depreciated PHP Commands - This Software The Customers Is Trying Uses & Recommends (PHP4 or PHP5). PHP 5 is recommended
The Server Has 5.5 | 5.6 & 7.0 Installed - Default Version For Server Is 5.6 Any Ideas
-
bit of coding stuff.friend, as this is what I got " Since PHP 5.4, you cannot use a superglobal as the parameter to a function, $_POST is globally accessible. So you don't have to pass to your function" Just vi file +9549 and try checking removing the POST variable. Have a backup of file first 0 -
You would need to use PHP 5.3 as apparently its functionality was removed in PHP 5.4 PHP: Superglobals - Manual Just Google "Cannot re-assign auto-global variable _POST" there are a bunch of hits, some of which may help you to change the code up a bit to resolve it. 0 -
What i figured - The customer understood and was able to find an alternative :) mod can close this thread 0 -
Hello, I'm happy to see the issue is now addressed. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
4 comments