在服务器之间迁移 Magento 1.9.3.7 站点后,我无法访问设置页面:导航到管理 > 系统 > 配置 显示以下错误:致命错误:未捕获错误:[] 运算符不支持 /home/defaultwebsite/public/app/code/local/Codazon/Themeframework/Model/System/Config/Source/Categoriestree.php:28 中的字符串Categoriestree.php:28 错误在这里 >>$this->_categoriesTree[] = array('value' => $item['category_id'],'label' => str_repeat("–––", $level)." ".$item['name']);
1 回答

陪伴而非守候
TA贡献1757条经验 获得超8个赞
可能这篇文章有帮助,类似于你的问题错误 https://www.key2goal.com/article/wordpress-error-php-71-php-fatal-error-uncaught-error-operator-not-supported-strings
如果您使用 php 7.1,那么您需要正确的数组定义..
可以这样定义
$this->_categoriesTree = array();
- 1 回答
- 0 关注
- 220 浏览
添加回答
举报
0/150
提交
取消