解决Strict Standards: Non-static method cls_image::gd_version() should not be called statically in ecs

Strict Standards: Non-static method cls_image::gd_version() should not be called statically in ecshop\install\includes\lib_installer.php on line 31

 解决:找到install/includes/lib_installer.php中的第31行   return cls_image::gd_version();然后在找到include/cls_image.php中的678行,发现gd_version()方 法未声明静态static,所以会出错。这时候只要:

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

已解决!

来源://作者:/更新时间:2014-02-17
相关文章
评论:
验证码:
匿名评论: