ecshop后台报错“ Strict Standards: Non-static method cls_image::g

2016-09-07 22:02 来源:www.chinab4c.com 作者:ecshop专家

进入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()方法未声明静态static。

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

 

 
(责任编辑:chinab4c)