0
3
8
超级版主
Strict Standards: Non-static method cls_image::gd_version() should not be called statically in E:\web\shopex\includes\lib_base.php on line 346
PHP 5.3版本以上会出现这个错误。
在346行里面,发现gd_version()方法未声明静态static,所以会出错:
return cls_image::gd_version();
改成:
$p = new cls_image(); return $p->gd_version();
使用道具 举报
手机版|Archiver|叶子官网|杭州轩翼网络科技有限公司 ( 浙ICP备17027999号 )
GMT+8, 2024-11-15 13:57 , Processed in 0.120180 second(s), 24 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.