CodeIgniter Message: Only variable references should be returned by reference


If you happened encountered that PHP Error on your CodeIgniter application (eg fuelcms), then try this fix by milan.petrak in EllisLab’s forum :

return $_config[0] =& $config;

change into :

$_config[0] =& $config;
return $_config[0];


Leave a Reply

Your email address will not be published. Required fields are marked *