安装fecyo后,h5分类页面报错

bug问题 · zhuyiaachen · 于 8天前 发布 · 23 次阅读

安装了fecyo应用,只添加了一个分类和一个测试商品,打开apphtml5页面,点分类页面,出现下面报错, yii\base\ErrorException: Use of undefined constant top_categorys - assumed 'top_categorys' (this will throw an Error in a future version of PHP) in /var/www/html/fecmall/addons/fecmall/fecyo/app/apphtml5/theme/fecyo/catalog/categorylist/index.php:12 Stack trace: #0 /var/www/html/fecmall/addons/fecmall/fecyo/app/apphtml5/theme/fecyo/catalog/categorylist/index.php(12): yii\base\ErrorHandler->handleError(2, 'Use of undefine...', '/var/www/html/f...', 12, Array) #1 /var/www/html/fecmall/vendor/yiisoft/yii2/base/View.php(348): require('/var/www/html/f...') #2 /var/www/html/fecmall/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/var/www/html/f...', Array) #3 /var/www/html/fecmall/vendor/fancyecommerce/fecshop/app/apphtml5/modules/AppfrontController.php(96): yii\base\View->renderFile('/var/www/html/f...', Array, Object(fectb\app\apphtml5\modules\Catalog\controllers\CategorylistController)) #4 /var/www/html/fecmall/addons/fecmall/fectb_theme/app/apphtml5/modules/Catalog/controllers/CategorylistController.php(35): fecshop\app\apphtml5\modules\AppfrontController->render('index', Array) #5 [internal function]: fectb\app\apphtml5\modules\Catalog\controllers\CategorylistController->actionIndex() #6 /var/www/html/fecmall/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #7 /var/www/html/fecmall/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #8 /var/www/html/fecmall/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('', Array) #9 /var/www/html/fecmall/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('catalog/categor...', Array) #10 /var/www/html/fecmall/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(fecshop\yii\web\Request)) #11 /var/www/html/fecmall/apphtml5/web/index.php(63): yii\base\Application->run() #12 {main}

共收到 1 条回复
Fecmall#18天前 0 个赞

OK, fecyo应用已经更新,您更新应用即可。

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics