报错位置在cls_template.php文件里.
由于PHP5.3以上默认只能传递具体的变量,而不能通过函数返回值传递,所以这段代码中的explode就得移出来重新赋值了.
解决办法:
打开cls_template.php文件中找到下面这段代码:
$tag_sel = array_shift(explode(' ', $tag));
改为:
$tagArr = explode(' ', $tag);
$tag_sel = array_shift($tagArr);
清除一下缓存,错误就没有了.