Welcome Guest, Not a member yet? Register   Sign In
php 5.3 to 5.6 HELP!
#1

Hi

A site I maintain written in CI has just been migrated by the server from php 5.3 to 5.6.

It's now got this error message at the top of the page -

A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 243

The line in question is -

return $_config[0] =& $config;

as the last line of a function. A guy at the server suggested the error message meant php now could no longer find the array as it no longer understood it to be static.

Any tips for how to fix this, and any other issues re 5.3 to 5.6? Thanks!!!
Reply


Messages In This Thread
php 5.3 to 5.6 HELP! - by JohnScott - 09-30-2015, 07:46 AM
RE: php 5.3 to 5.6 HELP! - by Narf - 09-30-2015, 09:08 AM
RE: php 5.3 to 5.6 HELP! - by JohnScott - 09-30-2015, 09:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB