gogogo
管理员
管理员
  • UID25
  • 粉丝0
  • 关注0
  • 发帖数1382
阅读:5701回复:1

ECshop安装问题一解决:Strict Standards: Non-static method cls_image::gd_version() should not be called stati

楼主#
更多 发布于:2020-02-17 23:35


ECshop安装问题一解决:Strict Standards: Non-static method cls_image::gd_version() should not be called statically in ……

gogogo
管理员
管理员
  • UID25
  • 粉丝0
  • 关注0
  • 发帖数1382
沙发#
发布于:2020-02-17 23:36
在安装Ecshop 2.7.3版本的时候,遇到两个问题:


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


解决:找到include/cls_image.php中的678行,发现gd_version()方法未声明静态static,所以会出错。这时候只要:


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


点赞
————————————————
https://blog.csdn.net/fjnjxr/article/details/52411904
原文链接:https://blog.csdn.net/fjnjxr/article/details/52411904
游客


返回顶部