Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
致命错误:未捕获错误:类';Spyc';在app/code/DeviceDetector/Yaml/Spyc.php中找不到_Php_Magento_Fatal Error_Device Detection - Fatal编程技术网

致命错误:未捕获错误:类';Spyc';在app/code/DeviceDetector/Yaml/Spyc.php中找不到

致命错误:未捕获错误:类';Spyc';在app/code/DeviceDetector/Yaml/Spyc.php中找不到,php,magento,fatal-error,device-detection,Php,Magento,Fatal Error,Device Detection,我面临着在Magento ver上下订单的问题。2.2.2。完成付款后,我将重定向到网站https://domainname/paypal/express/placeOrder/页面和错误显示在该页面上 Please check the error below, 致命错误:未捕获错误:在中找不到类“Spyc” /public_html/app/code/DeviceDetector/Yaml/Spyc.php:17堆栈跟踪:#0 /public_html/app/code/DeviceDet

我面临着在Magento ver上下订单的问题。2.2.2。完成付款后,我将重定向到网站
https://domainname/paypal/express/placeOrder/
页面和错误显示在该页面上

Please check the error below, 
致命错误:未捕获错误:在中找不到类“Spyc” /public_html/app/code/DeviceDetector/Yaml/Spyc.php:17堆栈跟踪:#0 /public_html/app/code/DeviceDetector/Parser/ParserAbstract.php(155): DeviceDetector\Yaml\Spyc->parseFile('/p..)#1 /public_html/app/code/DeviceDetector/Parser/ParserAbstract.php(243): DeviceDetector\Parser\ParserAbstract->getRegexes()#2 /public_html/app/code/DeviceDetector/Parser/Bot.php(53): DeviceDetector\Parser\ParserAbstract->preMatchOverall()#3 /public_html/app/code/DeviceDetector/DeviceDetector.php(623): DeviceDetector\Parser\Bot->parse()#4 /public_html/app/code/DeviceDetector/DeviceDetector.php(587): DeviceDetector\DeviceDetector->parseBot()#5 /public_html/app/code/MageWorx/OrdersBase/Observer/orderplacted.php(107): DeviceDetector\DeviceDetector->parse()#6 /public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(72): MageWorx\OrdersBase\Observer\OrderPlaced-in /第17行的public_html/app/code/DeviceDetector/Yaml/Spyc.php

该错误似乎与
DeviceDetector插件相关,但我不知道为什么会发生此问题&我已检查了错误中提到的特定行,但未找到解决方案


请让我知道如何解决这个问题。提前谢谢

在出现此错误开始的操作之后,您可以在此处添加更多详细信息吗? 如果您将这个类注入构造函数中的某个地方,那么我建议您运行
rm-rf generated/*
,因为如果您更改在生成中已经生成的类,M2不会自动更新生成的文件夹。 如果它不起作用,请分享一些背景