Strict Standards: Only variables should be passed by reference in upload\includes\cls_template.php on line 418
第418行:$tag_sel = array_shift(explode(' ', $tag));
解决办法:
5.3以上版本的问题
找到upload\includes\cls_template.php 418行
并把:
$tag_sel = array_shift(explode(' ', $tag));
改成:
$tag_arr = explode(' ', $tag);
$tag_sel = array_shift($tag_arr);
因为array_shift的参数是引用传递的,5.3以上默认只能传递具体的变量,而不能通过函数返回值。
刷新之后如果418行还有错误,就删除temp文件夹,并拷贝初始的temp文件夹,418错误即可解决。
1329行错误同理可以解决:
$array = explode('.', $tmp);
$ext = end($array);
$ext = end($array);