ITPub博客

首页 > 数据库 > MySQL > Only variable references should be returned by reference

Only variable references should be returned by reference

原创 MySQL 作者:haoge0205 时间:2019-06-12 19:49:20 0 删除 编辑

Only variable references should be returned by reference


搭建完Lepus监控系统后,界面提示错误:

A PHP Error was encountered


Severity: Notice


Message: Only variable references should be returned by reference


Filename: core/Common.php


Line Number: 257


[root@b77-11-100 lepus_v3.7]# find / -name Common.php

/opt/lampp/htdocs/system/core/Common.php


修改如下内容

return $_config[0] =& $config;

 $_config[0] =& $config;

 return $_config[0];


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/28939273/viewspace-2647446/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2013-11-28

  • 博文量
    235
  • 访问量
    1645727