异常代码

Strict standards: Only variables should be passed by reference

实际代码

$tag_sel = array_shift(explode(' ', $tag));

解决方案

修改成 $tag_sel= explode(' ', $tag); $tag_sel = array_shift($tag_sel);