西部数码主机 | 阿里云主机| 虚拟主机 | 服务器 | 返回乐道官网
当前位置: 主页 > php教程 > ecshop教程 >

ecshop后台报错“ Strict Standards: Non-static method cls_image::gd_version() should not be called statically in /includes/lib_base.php on line 346

时间:2016-01-19 10:54来源:未知 作者:好模板 点击:
进入ecshop管理后台提示 Strict Standards: Non-static method cls_image::gd_version() should not be called statically in /includes/lib_base.php on line 346 找到includes/cls_image.php中的678行,发现gd_version()方法未声明静态

进入ecshop管理后台提示“ Strict Standards: Non-static method cls_image::gd_version() should not be called statically in /includes/lib_base.php on line 346”

QQ截图20131224213906

找到includes/cls_image.php中的678行,发现gd_version()方法未声明静态static。

将function gd_version()改成static function gd_version()即可。

QQ截图20131224214231

 

 
(责任编辑:好模板)
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------