Magento 2 - "Class does not exist"当我点击结帐按钮时



客户无法访问结账页面,因为出现错误消息"类不存在">

所以我查看了错误日志。日志显示以下消息。我不知道该怎么办。

这是图2.2.2。

请让我知道如何解决

{"0":"类不存在","1":"#0/home/mg222/public_html/vendor/magento/framework/Code/Reader/ClassReader.php(19):ReflectionClass->__construct('')\n#1/home/mg222/public_html/videor/magento/framework/ObjectManager/Definition/Runtime.php(44):magento\framework\Code\Reader\ClassReader->getConstructor('')\n#2/home/mg222/public_html/vender/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(48):magento\framework\ObjectManager\Definition\Runtime->getParameters('')\n#3/home/mg222/public_html/vvendor/magento/framework/ObjectManager/ObjectManager.php(56):magento\framework\ObjectManager\Factory\Dynamic\Developer->create('',Array)\n#4/home/mg222/public_html/regenerated/code/Magento/Customer/Model/AddressFactory.php(57):Magento\Framework\ObjectManager\ObjectManager->create(NULL,Array)\n#5/home/mg222/public_html/vender/magento/module-customer/Model/AddressRegistry.php(46):magento\customer\Model\AddressFactory->create()\n#6/home/mg222/public_html/vender/magento/module-customer/Model/ResourceModel/AddressRepository.php(166):magento\customer\Model\AddressRegistry->retrieve('100389')\n#7/home/mg222/public_html/vender/magento/module quote/Model/Requote.php(936):magento\Customer\Model\ResourceModel\AddressRepository->getById('100389')\n#8/home/mg222/public_html/vendor/magento/module quote/Model/Requote.php(913):magento\quote\Model\quote->assignCustomerWithAddressChange(对象(Magento\Customer\Model\Data\Customer))\n#9/home/mg222/public_html/vendor/Magento/module-checking/Model/Type/Onepage.php(339):Magento\Quote\Model\Quote->assignCustomer(Object(Magento\Customer\Model\Data\Customer)\n#10/home/mg222/public_html/regenerated/code/Magento/Checkout/Model/Type/Onepage/Interceptor.php(76):Magento\Checkout\Model\Type\Onepage->initCheckout()\n#11/home/mg222/public_html/vender/magento/module-checking/Controller/Index/Index.php(37):magento\checkout\Model\Type\Onepage\Interceptor->initCheckout()\n#12/home/mg222/public_html/vender/magento/framework/Interception/Interceptor.php(60):magento\Checkout\Controller\Index\Index->execute()\n#13/home/mg222/public_html/vender/magento/framework/Interception/Interceptor.php(174):magento\Checkout\Controller\Index\Interceptor-&gt___callParent('execute',Array)\n#14/home/mg222/public_html/vender/magento/framework/Interception/Interceptor.php(189):magento\Checkout\Controller\Index\Interceptor->Magento\Framework\Interception\{closure}()\n#15/home/mg222/public_html/regenerated/code/Magento/Checkout/Controller/Index/Interceptor.php(26):Magento\Checkout\Controller\Index\Interceptor-&gt___callPlugins('execute',Array,Array)\n#16/home/mg222/public_html/vender/magento/framework/App/Action/Action.php(107):magento\Checkout\Controller\Index\Index\Interceptor->execute()\n#17/home/mg222/public_html/vender/magento/module-checking/Controller/Onepage.php(161):magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))\n#18/home/mg222/public_html/vender/Magento/Framework/Interception/Interceptor.php(60):Magento\Checkout\Controller\Onepage->dispatch(Object(Magento\Framework\App\Request\Http))\n#19/home/mg222/public_html/vender/Magento/Framework/Interception/Interceptor.php(174):Magento\Checkout\Controller\Index\Interceptor-&gt___callParent('dispatch',Array)\n#20/home/mg222/public_html/vender/magento/framework/Interception/Interceptor.php(189):magento\Checkout\Controller\Index\Interceptor->Magento\Framework\Interception\{closure}(对象(Magento\ Framework\App\Request\Http))\n#21/home/mg222/public_html/regenerated/code/Magento/Checkout/Controller/Index/Index/Interceptor.php(39):Magento\Checkout\Controller\Index\Interceptor-&gt___callPlugins('dispatch',Array,Array)\n#22/home/mg222/public_html/vender/magento/framework/App/FrontController.php(55):magento\Checkout\Controller\Index\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)\n#23/home/mg222/public_html/vender/Magento/Framework/Interception/Interceptor.php(60):Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)\n#24/home/mg222/public_html/vender/Magento/Framework/Interception/Interceptor.php(174):Magento\Framework\App\FrontController\Interceptor-&gt___callParent('dispatch',Array)\n#25/home/mg222/public_html/vender/magento/module store/App/FrontController/Plugin/RequestPreprocessor.php(94):magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(对象(Magento\ Framework\App\Request\Http))\n#26/home/mg222/public_html/vender/Magento/Framework/Inception/Inceptor.php(171):Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(对象(Magento\Framework\App\FrontController\Interceptor),对象(闭包),对象

你好,请运行以下命令并重试

php-bin/magento设置:升级

php-bin/magento设置:di:编译

php-bin/magento设置:静态内容:部署-f

chmod-R 777 var/生成/

相关内容

  • 没有找到相关文章

最新更新