优惠全部云服务器首月 8 折,优惠码 CLOUD去领取

ecshop后台报错“ Strict Standards: Non-static method cls_image::gd_version() should not be called statically in /includes/lib_base.php on line 346

· 阅读约 1 分钟

进入ecshop管理后台提示“ Strict Standards: Non-static method cls_image::gd_version() should not be called statically in /includes/lib_base.php on line 346”

找到includes/cls_image.php中的678行,发现gd_version()方法未声明静态static。

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

相关文章

更多「网站和优化」文章服务器使用指南