大佬教程收集整理的这篇文章主要介绍了在 magento 2,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
嗨,我在客户付款后遇到了我的 magento 问题。他们遇到了这个错误消息
处理您的请求时出错 创建对象时发生类型错误:vendor\autoInvoice\Observer\OrderObserver 错误日志记录号:36209293a74e8a1a4c09d455d7907e74f6e256326a6b65b3bb4cff3f84501279
我打开记录号文件:
{"0":"创建对象时发生类型错误:vendor\autoInvoice\Observer\OrderObserver","1":"#1 Magento\Framework\ObjectManager\Factory\Compiled->create() 在 [vendor 调用/magento/framework/ObjectManager/ObjectManager.php:70]\n#2 Magento\Framework\ObjectManager\ObjectManager->get() 在 [vendor/magento/framework/Event/ObserverFactory.php:33] 处调用\n#3 Magento\Framework\Event\ObserverFactory->get() 在 [vendor/magento/framework/Event/Invoker/InvokerDefault.php:72] 处调用\n#4 Magento\Framework\Event\Invoker\InvokerDefault->dispatch() 调用在 [vendor/magento/framework/Event/Manager.php:66]\n#5 Magento\Framework\Event\Manager->dispatch() 在 [generated/code/Magento/Framework/Event/Manager/Proxy.php 调用:95]\n#6 Magento\Framework\Event\Manager\Proxy->dispatch() 调用 [vendor/magento/module-checkout/Controller/Onepage/success.php:33]\n#7 Magento\checkout\ Controller\Onepage\success->execute() 在 [vendor/magento/framework/App/Action/Action.php:108] 处调用\n#8 Magento\Framework\App\ Action\Action->dispatch() 在 [vendor/magento/module-checkout/Controller/Onepage.php:161] 处调用\n#9 Magento\checkout\Controller\Onepage->dispatch() 在 [vendor/magento/ 处调用framework/Interception/Interceptor.php:58]\n#10 Magento\checkout\Controller\Onepage\success\Interceptor->___callParent() 在 [vendor/magento/framework/Interception/Interceptor.php:138] 处调用\n# 11 Magento\checkout\Controller\Onepage\success\Interceptor->Magento\Framework\Interception\{ClosurE}() 调用 [vendor/magento/framework/Interception/Interceptor.php:153]\n#12 Magento\checkout\ Controller\Onepage\success\Interceptor->___callPlugins() 在 [generated/code/Magento/checkout/Controller/Onepage/success/Interceptor.php:26]\n#13 Magento\checkout\Controller\Onepage\success\Interceptor 处调用->dispatch() 在 [vendor/magento/framework/App/FrontController.php:162] 处调用\n#14 Magento\Framework\App\FrontController->processrequest() 在 [vendor/magento/framework/App/FrontController 处调用.php:98]\n#15 Magento\Framework\App\F rontController->dispatch() 在 [vendor/magento/framework/Interception/Interceptor.php:58] 处调用\n#16 Magento\Framework\App\FrontController\Interceptor->___callParent() 在 [vendor/magento/framework/ 处调用Interception/Interceptor.php:138]\n#17 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{ClosurE}() 在 [vendor/magento/module-store/App/FrontController/Plugin 调用/requestPreprocessor.php:99]\n#18 Magento\Store\App\FrontController\Plugin\requestPreprocessor->arounddispatch() 在 [vendor/magento/framework/Interception/Interceptor.php:135] 处调用\n#19 Magento\ Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{ClosurE}() 在 [app/code/Mirasvit/CacheWarmer/Plugin/DeBUG/OnHitPlugin.php:140]\n#20 Mirasvit\CacheWarmer\Plugin 处调用\DeBUG\OnHitPlugin->aroundArounddispatch() 在 [vendor/magento/framework/Interception/Interceptor.php:135] 处调用\n#21 Magento\PageCache\Model\App\FrontController\BuilTinPlugin\Interceptor->Magento\Framework\In terception\{ClosurE}() 在 [vendor/magento/framework/Interception/Interceptor.php:153]\n#22 Magento\PageCache\Model\App\FrontController\BuilTinPlugin\Interceptor->___callPlugins() 调用在 [generated /code/Magento/PageCache/Model/App/FrontController/BuilTinPlugin/Interceptor.php:26]\n#23 Magento\PageCache\Model\App\FrontController\BuilTinPlugin\Interceptor->arounddispatch() 在 [vendor/magento/ 调用framework/Interception/Interceptor.php:135]\n#24 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{ClosurE}() 在 [vendor/magento/framework/Interception/Interceptor.php 调用:153]\n#25 Magento\Framework\App\FrontController\Interceptor->___callPlugins() 在 [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26] 处调用\n#26 Magento\Framework\ App\FrontController\Interceptor->dispatch() 在 [vendor/magento/framework/App/http.php:116] 处调用\n#27 Magento\Framework\App\http->launch() 在 [generated/code/ 处调用Magento/Framework/App/http/Inter ceptor.php:24]\n#28 Magento\Framework\App\http\Interceptor->launch() 调用 [vendor/magento/framework/App/bootstrap.php:261]\n#29 Magento\Framework\App \bootstrap->run() 在 [index.php:39] 处调用\n","url":"/checkout/onepage/success/","script_name":"/index.php","report_ID":" 36209293a74e8a1a4c09d455d7907e74f6e256326a6b65b3bb4cff3f84501279"}
如何解决这个问题?用最简单的方法,因为我没有这方面的经验..谢谢
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)
以上是大佬教程为你收集整理的在 magento 2全部内容,希望文章能够帮你解决在 magento 2所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。