Error from common,php
Brought to you by:
jekkos,
pappastech
Hi, I just installed the project. I am using NetBeans IDE - XAMPP and PHP version 5.6.8. Comes up ok, but I get the following PHP warning at the top of most pages:
A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
The offending line is: return $_config[0] =& $config;
Program seems to work fine otherwise (although I have not tested it much). I dabble, but this is a bit out of my depth - any suggestions?
Thanks,
Mike J.
Nevermind - I found the answer here:
http://stackoverflow.com/questions/28348879/only-variable-references-should-be-returned-by-reference-codeigniter
Ok thanks for the link. This looks like an issue in CI 2.2. Might be best to upgrade to 2.2.2.