解决ECSHOP"Strict Standards: Non-static method cls_image"问题

老蒋前面刚解决"解决ECSHOP出现"Deprecated: preg_replace()"报错提示问题",不过再次刷新页面又出现新的问题"Strict Standards: Non-static method cls_image::gd_version() should not be called statically in",看这次是gd_version函数问题。

解决方法:

include/cls_image.php

将这一行:

function gd_version()

改成

static function gd_version()

然后替换文件之后刷新就解决问题。

投上你的一票

原创文章,转载请注明出处:https://www.itbulu.com/ecshop-gd-version.html

上一篇 2017年7月17日 17:31
下一篇 2017年7月24日 14:40