This error may occur when PHP is upgraded to version 5.4 of PHP:
If a function (or class) is used in this way, a PHP Fatal error will result :
foo(& $var);
In fact, that’s what’s going to happen in PHp5.3, but it’s just going to Deprecated.
// Right
function myFunc(&$arg) { do something... }
myFunc($var);//Call myFunc
//Wrong
function myFunc($arg) { do something... }
myFunc(&$arg);//Call myFunc
Read More:
- [PHP] Solve Call-time pass-by-reference has been removed
- [Solved] has been blocked by CORS policy: Response to preflight request doesn‘t pass access control check: No
- [Solved] WordPress Upgrade PHP 5.6 to 7.x Fatal error: Uncaught Error: Call to undefined function mysql_connect()
- [PHP] Solve PHP Call to undefined function ldap_connect()
- PHP encryption 3DES error Call to undefined function: mcrypt_module_open() solution
- Workman Run Error: stream_socket_server() has been disabled for security reasons
- [Solved] laravel proc_get_status() has been disabled for security reasons
- How to Solve PHP Fatal error: Namespace declaration statement has to be the very first statement
- [PHP] __autoload function will be called when class_exists does not exist
- PHP Error Object of class mysqli could not be converted to string in
- PHP parse error: syntax error, unexpected ‘use’
- [WordPress Error] Fatal error undefined function is_network_admin()
- [Solved] Fatal error: Class ‘think\Container‘ not found & [InvalidArgumentException] Could not find package
- Mac installs the php Swoole extension and appears Enable openssl support, require openssl library or fatal error:’openssl/ssl.h’ file not found
- Undefined index: name error in composer [How to Solve]
- [Solved] Artisan error: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes
- TP5 fuzzy Chinese characters error [How to Solve]
- Using $this when not in object context in (How to Fix)
- Unserialize(): cause analysis and solution of error at offset
- PHP error in Windows: class’ mysqli ‘not found