广州传奇网络
地址:广州市天河区东圃大马路富华楼C座
电话:13808825895
QQ:1564443073
下面我们一起来看在使用ecshop提示Strict Standards:Non-static method cls_image::gd_version() should not be called statically错误问题解决办法吧。
在使用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版本不同导致的问题.