CodeIgniter Message: Only variable references should be returned by reference

By Indra Yana on October 12, 2014 in Happy / 8 comments

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];