最近将Magento 2.3升级到2.4.1。网站看起来一切都很好。当尝试登录到Magento时,下面是浏览器中显示的内容。不知道这意味着什么。请建议在哪里找一个修理方法。谢谢
1 exception(s):
Exception #0 (ReflectionException): Class Magento\Elasticsearch\Model\Adapter\FieldMapper\ProductFieldMapper does not exist
Exception #0 (ReflectionException): Class Magento\Elasticsearch\Model\Adapter\FieldMapper\ProductFieldMapper does not exist
<pre>#1 Magento\Framework\Code\Reader\ClassReader->getConstructor() called at [vendor/magento/framework/ObjectManager/Definition/Runtime.php:54]
#2 Magento\Framework\ObjectManager\Definition\Runtime->getParameters() called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:100]
#3 Magento\Framework\ObjectManager\Factory\Compiled->create() called at [vendor/magento/framework/ObjectManager/ObjectManager.php:70]
#4 Magento\Framework\ObjectManager\ObjectManager->get() called at [vendor/wyomind/framework/Helper/License.php:11]
#5 Wyomind\Framework\Helper\License->constructor() called at [vendor/wyomind/elasticsearchbrowser/Helper/Data.php:28]
#6 Wyomind\ElasticsearchBrowser\Helper\Data->__construct() called at [vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121]
#7 Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject() called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:108]
#8 Magento\Framework\ObjectManager\Factory\Compiled->create() called at [vendor/magento/framework/ObjectManager/ObjectManager.php:70]
#9 Magento\Framework\ObjectManager\ObjectManager->get() called at [vendor/wyomind/framework/Helper/License.php:11]
#10 Wyomind\Framework\Helper\License->constructor() called at [vendor/wyomind/elasticsearchbrowser/Plugin/Ui/Config/Data.php:13]
#11 Wyomind\ElasticsearchBrowser\Plugin\Ui\Config\Data->__construct() called at [vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121]
#12 Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject() called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:108]
#13 Magento\Framework\ObjectManager\Factory\Compiled->create() called at [vendor/magento/framework/ObjectManager/ObjectManager.php:70]
#14 Magento\Framework\ObjectManager\ObjectManager->get() called at [vendor/magento/framework/Interception/PluginList/PluginList.php:174]
#15 Magento\Framework\Interception\PluginList\PluginList->getPlugin() called at [vendor/magento/framework/Interception/Interceptor.php:133]
#16 Magento\Ui\Config\Data\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#17 Magento\Ui\Config\Data\Interceptor->___callPlugins() called at [generated/code/Magento/Ui/Config/Data/Interceptor.php:23]
#18 Magento\Ui\Config\Data\Interceptor->get() called at [vendor/magento/framework/View/Layout/Reader/UiComponent.php:100]
#19 Magento\Framework\View\Layout\Reader\UiComponent->interpret() called at [vendor/magento/framework/View/Layout/ReaderPool.php:105]
#20 Magento\Framework\View\Layout\ReaderPool->interpret() called at [vendor/magento/framework/View/Layout/Reader/Container.php:84]
#21 Magento\Framework\View\Layout\Reader\Container->interpret() called at [vendor/magento/framework/View/Layout/ReaderPool.php:105]
#22 Magento\Framework\View\Layout\ReaderPool->interpret() called at [vendor/magento/framework/View/Page/Config/Reader/Body.php:68]
#23 Magento\Framework\View\Page\Config\Reader\Body->interpret() called at [vendor/magento/framework/View/Layout/ReaderPool.php:105]
#24 Magento\Framework\View\Layout\ReaderPool->interpret() called at [vendor/magento/framework/View/Layout.php:334]
#25 Magento\Framework\View\Layout->generateElements() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:32]
#26 Magento\Framework\View\Layout\Interceptor->generateElements() called at [vendor/magento/framework/View/Layout/Builder.php:129]
#27 Magento\Framework\View\Layout\Builder->generateLayoutBlocks() called at [vendor/magento/framework/View/Page/Builder.php:65]
#28 Magento\Framework\View\Page\Builder->generateLayoutBlocks() called at [vendor/magento/framework/View/Layout/Builder.php:65]
#29 Magento\Framework\View\Layout\Builder->build() called at [vendor/magento/framework/View/Page/Config.php:224]
#30 Magento\Framework\View\Page\Config->build() called at [vendor/magento/framework/View/Page/Config.php:237]
#31 Magento\Framework\View\Page\Config->publicBuild() called at [vendor/magento/framework/View/Result/Page.php:242]
#32 Magento\Framework\View\Result\Page->render() called at [vendor/magento/framework/View/Result/Layout.php:171]
#33 Magento\Framework\View\Result\Layout->renderResult() called at [generated/code/Magento/Backend/Model/View/Result/Page/Interceptor.php:23]
#34 Magento\Backend\Model\View\Result\Page\Interceptor->renderResult() called at [vendor/magento/framework/App/Http.php:120]
#35 Magento\Framework\App\Http->launch() called at [vendor/magento/framework/App/Bootstrap.php:263]
#36 Magento\Framework\App\Bootstrap->run() called at [index.php:39]
</pre>
发布于 2022-06-10 21:34:07
问题似乎与一些第三方的扩展有关。请检查您是否有Amasty分层导航,如果有,请尝试禁用扩展Amasty_Shopby
bin/magento module:disable Amasty_Shopby
bin/magento setup:di:compile
并运行di:编译。如果这有助于您尝试从Amasty_Shopby获得Magento2.4的更新,请接受作为解决方案,如果这对您有效,并给Kudos Smiley快乐
https://stackoverflow.com/questions/65681300
复制