您的位置:首页 > 编程语言 > PHP开发

A PHP Error was encountered

2015-09-11 15:25 633 查看


A PHP Error was encountered 


Severity: Notice 


Message: Only variable references should be returned by reference 


Filename: core/Common.php 


Line Number: 257 

There's a bug with FuelCMS 1.2.1 on PHP 5.6...
A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257


Screenshot: http://i.imgur.com/rDFblff.png

Solution 1:
"fuel\codeigniter\core\Common.php"
<return $_config[0] =& $config;
>$_config[0] =& $config;
>return $_config[0];


Solution 2:
Update CodeIgniter from 2.2.0 to 2.2.1.
https://github.com/bcit-ci/CodeIgniter
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  php