[eluser]leviathan28[/eluser]
[quote author="Gustav" date="1247148756"]More errors when migrating from PHP v5.2.3 to v5.3.0:
Deprecated: Assigning the return value of new by reference is deprecated in system\codeigniter\Common.php on line 130
Deprecated: Assigning the return value of new by reference is deprecated in system\codeigniter\Common.php on line 136
Code:
// File Common.php in system\codeigniter\
// Lines from 127 to 137
if ($is_subclass == TRUE)
{
$name = config_item('subclass_prefix').$class;
$objects[$class] =& new $name(); // line 130
return $objects[$class];
}
$name = ($class != 'Controller') ? 'CI_'.$class : $class;
$objects[$class] =& new $name(); // line 136
return $objects[$class];
And not only in that file.
v5.3.0 is big problem for CI 1.7.1 because all my CI projects throw errors.
CI needs an update.[/quote]
Those errors can be avoided by replacing line 13 in index.php
Code:
error_reporting(E_ALL);
with
Code:
error_reporting(E_ALL & ~E_DEPRECATED);
I agree that CI needs an upgrade.