报错信息:Strict Standards: Only variables should be passed by reference in ......\ecshop\upload\includes\cls_template.php on line 424
主要是因为使用了php 5.5.x的高版本,但从PHP5.3版本开始,array_shift不支持函数返回
原代码:
$tag_sel = array_shift(explode(' ', $tag));
更改为:
$tag_tmp = (explode(' ', $tag));
$tag_sel = array_shift($tag_tmp);
//$tag_sel = array_shift(explode(' ', $tag));原来的可以注释掉了