A PHP Error was encountered Severity: Notice Message: Only variable references should be returned by reference Filename: core/Common.php Line Number: 257
An error appear after upgraded Xampp version 3.2.2. This system using Codeigniter 2.1.2.
To solve:-
To solve:-
Change it in your Common.php
if (count($replace) > 0){
foreach ($replace as $key => $val){
if (isset($config[$key])){
$config[$key] = $val;
}
}
}
$_config[0] =& $config;
return $_config[0];
Credit to:-
https://stackoverflow.com/questions/30785717/codeigniter-error-variable-references
Comments
Post a Comment
thanks