A-A+

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

2014年04月14日 灵犀一指 ecshop管理后台提示“ Strict Standards: Non-static method cls_image::gd_version() should not be called statically in /includes/lib_base.php on line 346”已关闭评论 阅读 5,916 人 次

环境php5.4

ecshop版本2.7.3

进入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

 

刷新页面 错误提示无

标签:

评论已关闭!