Child Service [_lang_attr] is not find in fecshop\services\cms\article\ArticleMongodb, you must config it!

bug问题 · wizren · 于 2年前 发布 · 1034 次阅读

后台Service数据库配置如下,urlRewrite脚本已经执行,访问商品,分类都无问题,访问Page页报错 以下是报错信息

#0 /data/wwwroot/fecmall/vendor/fancyecommerce/fecshop/services/Service.php(38): fecshop\services\Service->getChildService('_lang_attr')
#1 /data/wwwroot/fecmall/vendor/fancyecommerce/fecshop/services/cms/article/ArticleMongodb.php(61): fecshop\services\Service->__get('_lang_attr')
#2 /data/wwwroot/fecmall/vendor/fancyecommerce/fecshop/services/cms/Article.php(74): fecshop\services\cms\article\ArticleMongodb->getActivePageByPrimaryKey('611b404140ca354...')
#3 /data/wwwroot/fecmall/vendor/fancyecommerce/fecshop/app/appfront/modules/Cms/block/article/Index.php(41): fecshop\services\cms\Article->getActivePageByPrimaryKey('611b404140ca354...')
#4 /data/wwwroot/fecmall/vendor/fancyecommerce/fecshop/app/appfront/modules/Cms/block/article/Index.php(24): fecshop\app\appfront\modules\Cms\block\article\Index->initHead()
#5 /data/wwwroot/fecmall/vendor/fancyecommerce/fecshop/app/appfront/modules/Cms/controllers/ArticleController.php(18): fecshop\app\appfront\modules\Cms\block\article\Index->getLastData()
#6 [internal function]: fecshop\app\appfront\modules\Cms\controllers\ArticleController->actionIndex()
#7 /data/wwwroot/fecmall/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#8 /data/wwwroot/fecmall/vendor/yiisoft/yii2/base/Controller.php(181): yii\base\InlineAction->runWithParams(Array)
#9 /data/wwwroot/fecmall/vendor/yiisoft/yii2/base/Module.php(534): yii\base\Controller->runAction('index', Array)
#10 /data/wwwroot/fecmall/vendor/yiisoft/yii2/web/Application.php(104): yii\base\Module->runAction('cms/article/ind...', Array)
#11 /data/wwwroot/fecmall/vendor/yiisoft/yii2/base/Application.php(392): yii\web\Application->handleRequest(Object(fecshop\yii\web\Request))
#12 /data/wwwroot/fecmall/appfront/web/index.php(66): yii\base\Application->run()
#13 {main}

请问下是哪里配置有问题吗

共收到 3 条回复 问题提问
Fecmall#12年前 0 个赞

先记录一下,找时间处理。

您先切换成mysql

wizren#22年前 0 个赞

@Fecmall #1楼 好的,我这边先使用mysql

wizren#32年前 0 个赞

@Fecmall #1楼 大佬,请问下近期有时间处理这个问题吗

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