see: https://stackoverflow.com/questions/28348879/only-variable-references-should-be-returned-by-reference-codeigniter I've changed core/Common.php as in that issue, but upgrading ti would be good. I've not commited the change on the lhs acserver.