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

change into :