前台
解决办法:
打开cls_template.php文件中发现下面这段代码:
$tag_sel = array_shift(explode(' ', $tag));
PHP5.3以上默认只能传递具体的变量,而不能通过函数返回值传递,所以这段代码中的explode就得移出来重新赋值了
$tagArr = explode(' ', $tag);
$tag_sel = array_shift($tagArr);
这样之后顶部的报错没掉了, 左侧和底部的报错还需要去ecshop的后台点击清除缓存才能去除。
后台
Strict Standards: Redefining already defined constructor for class chinabank in /data/web/includes/modules/payment/alipay.php on line 85
将
1 | function __construct() |
2 | { |
3 | $this ->alipay(); |
4 | } |
放到
1 | function alipay() |
2 | { |
3 | } |
前面