最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
php5.5中ecshop提示Only variables should be passed by reference
时间:2022-06-24 23:18:06 编辑:袖梨 来源:一聚教程网
php大家用的版本不断提高,Ecshop没有来得及修改那么及时。
Ecshop安装出现
Only variables should be passed by reference
5.3以上版本的问题,应该也和配置有关 只要418行把这一句拆成两句就没有问题了
代码如下 | 复制代码 |
$tag_sel = array_shift(explode(' ', $tag)); 改成: $tag_arr = explode(' ', $tag); $tag_sel = array_shift($tag_arr); |
(实验过,绝对可行) 因为array_shift的参数是引用传递的,5.3以上默认只能传递具体的变量,而不能通过函数返回值
修改
代码如下 | 复制代码 |
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead...? $out = " |
相关文章
- 归龙潮异域疾行怎么玩 10-01
- 光遇破晓季集体复刻怎么玩 10-01
- 敲棺盖修改器在哪下载 10-01
- 想要确保云网稳定运行离不开塔台管制员还是云网智能运维员的守护 10-01
- 蚂蚁庄园10月1日答案最新 10-01
- 支付宝蚂蚁森林神奇海洋9月30日答案 10-01