备货订单选择按状态(processing)搜索报错

bug问题 · green945 · 于 6个月前 发布 · 263 次阅读
Http status: 500 Internal Server Error
ajaxOptions: error
thrownError: Internal Server Error
Exception 'yii\base\InvalidCallException' with message 'fecshop service method is not exit.  fecro\services\Order::actionGetOperateStatusArr' 

in /www/wwwroot/demo2.bmaxspace.com/fecmall/vendor/fancyecommerce/fecshop/services/Service.php:60

Stack trace:
#0 /www/wwwroot/demo2.bmaxspace.com/fecmall/addons/fecmall/fecro/app/appadmin/modules/Sales/block/orderexport/Manager.php(233): fecshop\services\Service->__call()
#1 /www/wwwroot/demo2.bmaxspace.com/fecmall/addons/fecmall/fecro/app/appadmin/modules/Sales/block/orderexport/Manager.php(361): fecro\app\appadmin\modules\Sales\block\orderexport\Manager->initDataWhere()
#2 /www/wwwroot/demo2.bmaxspace.com/fecmall/addons/fecmall/fecro/app/appadmin/modules/Sales/block/orderexport/Manager.php(59): fecro\app\appadmin\modules\Sales\block\orderexport\Manager->getTableTbody()
#3 /www/wwwroot/demo2.bmaxspace.com/fecmall/addons/fecmall/fecro/app/appadmin/modules/Sales/controllers/OrderexportController.php(25): fecro\app\appadmin\modules\Sales\block\orderexport\Manager->getLastData()
#4 [internal function]: fecro\app\appadmin\modules\Sales\controllers\OrderexportController->actionManager()
#5 /www/wwwroot/demo2.bmaxspace.com/fecmall/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#6 /www/wwwroot/demo2.bmaxspace.com/fecmall/vendor/yiisoft/yii2/base/Controller.php(181): yii\base\InlineAction->runWithParams()
#7 /www/wwwroot/demo2.bmaxspace.com/fecmall/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#8 /www/wwwroot/demo2.bmaxspace.com/fecmall/vendor/yiisoft/yii2/web/Application.php(104): yii\base\Module->runAction()
#9 /www/wwwroot/demo2.bmaxspace.com/fecmall/vendor/yiisoft/yii2/base/Application.php(392): yii\web\Application->handleRequest()
#10 /www/wwwroot/demo2.bmaxspace.com/fecmall/appadmin/web/index.php(50): yii\base\Application->run()
#11 {main}

问题已解决: /www/wwwroot/demo2.bmaxspace.com/fecmall/addons/fecmall/fecro/app/appadmin/modules/Sales/block/orderexport/Manager.php(233) 改一下:actionGetOperateStatusArr为getOrderPaymentedStatusArr

$operate_status_arr = Yii::$service->order->getOrderPaymentedStatusArr();

不知道这样改对不对,是不报错了

订单导出又直接报错

共收到 3 条回复
Fecmall#16个月前 0 个赞

把这个函数删除掉就可以了

@fecro\app\appadmin\modules\Sales\block\orderexport\Manager

public function initDataWhere($searchArr)
green945#26个月前 0 个赞

订单导出excel是不兼容php7.4,换成php7.3之后报页面无法访问此网站,订单导出还是用不了

Fecmall#36个月前 0 个赞

无报错信息,帮不上忙

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