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

7,987次阅读
没有评论

共计 273 个字符,预计需要花费 1 分钟才能阅读完成。

环境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”

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()即可。

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

 

刷新页面 错误提示无

正文完
 0
渋驀
版权声明:本站原创文章,由 渋驀 于2014-04-14发表,共计273字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)