首页 > 运营 > 帮助中心 > 正文

ecshop提示Strict Standards: Non-static method cls_image::gd_version()

2019-10-16 21:42:34
字体:
来源:转载
供稿:网友

下面我们一起来看在使用ecshop提示Strict Standards: Non-static method cls_image::gd_version() should not be called statically错误问题解决办法吧。

在使用ecshop时提示

ecshop提示Strict Standards: Non-static method cls_image::gd_version() should not be called statically in E:/wwwroot/weirenchou/includes/lib_base.php on line 346

这个错误,搜索问题原来是php版本的问题,我是用的php5.4版本的,解决办法如下:

找到346行吧

return cls_image::gd_version()

替换成:

$p = new cls_image();

return $p->gd_version();

这样就行了,由于php版本不同导致的问题。

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表