Skip to content

Magento 2 success page error

I’m using magento 2, upgraded to the last version 2.4.6-p2, and I’m having an issue with the success page, but not with all payment methods…

What I get in the success page is:

1 exception(s):
Exception #0 (Exception): Unknown Config Class

Exception #0 (Exception): Unknown Config Class
<pre>#1 MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() called at [vendor/magento/framework/ObjectManager/Factory/Compiled.php:108]
#2 MagentoFrameworkObjectManagerFactoryCompiled->create() called at [vendor/magento/framework/ObjectManager/ObjectManager.php:56]
#3 MagentoFrameworkObjectManagerObjectManager->create() called at [vendor/magento/framework/View/Element/BlockFactory.php:44]
#4 MagentoFrameworkViewElementBlockFactory->createBlock() called at [vendor/magento/framework/View/Layout/Generator/Block.php:272]
#5 MagentoFrameworkViewLayoutGeneratorBlock->getBlockInstance() called at [vendor/magento/framework/View/Layout/Generator/Block.php:252]
#6 MagentoFrameworkViewLayoutGeneratorBlock->createBlock() called at [vendor/magento/framework/View/Layout/Generator/Block.php:229]
#7 MagentoFrameworkViewLayoutGeneratorBlock->generateBlock() called at [vendor/magento/framework/View/Layout/Generator/Block.php:134]
#8 MagentoFrameworkViewLayoutGeneratorBlock->process() called at [vendor/magento/framework/View/Layout/GeneratorPool.php:93]
#9 MagentoFrameworkViewLayoutGeneratorPool->process() called at [vendor/magento/framework/View/Layout.php:365]
#10 MagentoFrameworkViewLayout->generateElements() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#11 MagentoFrameworkViewLayoutInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#12 MagentoFrameworkViewLayoutInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#13 MagentoFrameworkViewLayoutInterceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:32]
#14 MagentoFrameworkViewLayoutInterceptor->generateElements() called at [vendor/magento/framework/View/Layout/Builder.php:129]
#15 MagentoFrameworkViewLayoutBuilder->generateLayoutBlocks() called at [vendor/magento/framework/View/Page/Builder.php:65]
#16 MagentoFrameworkViewPageBuilder->generateLayoutBlocks() called at [vendor/magento/framework/View/Layout/Builder.php:65]
#17 MagentoFrameworkViewLayoutBuilder->build() called at [vendor/magento/framework/View/Layout.php:271]
#18 MagentoFrameworkViewLayout->build() called at [vendor/magento/framework/View/Layout.php:896]
#19 MagentoFrameworkViewLayout->getBlock() called at [vendor/magento/module-google-analytics/Observer/SetGoogleAnalyticsOnOrderSuccessPageViewObserver.php:61]
#20 MagentoGoogleAnalyticsObserverSetGoogleAnalyticsOnOrderSuccessPageViewObserver->execute() called at [vendor/magento/framework/Event/Invoker/InvokerDefault.php:88]
#21 MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod() called at [vendor/magento/framework/Event/Invoker/InvokerDefault.php:74]
#22 MagentoFrameworkEventInvokerInvokerDefault->dispatch() called at [vendor/magento/framework/Event/Manager.php:65]
#23 MagentoFrameworkEventManager->dispatch() called at [generated/code/Magento/Framework/Event/Manager/Proxy.php:95]
#24 MagentoFrameworkEventManagerProxy->dispatch() called at [vendor/magento/module-checkout/Controller/Onepage/Success.php:33]
#25 MagentoCheckoutControllerOnepageSuccess->execute() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#26 MagentoCheckoutControllerOnepageSuccessInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#27 MagentoCheckoutControllerOnepageSuccessInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#28 MagentoCheckoutControllerOnepageSuccessInterceptor->___callPlugins() called at [generated/code/Magento/Checkout/Controller/Onepage/Success/Interceptor.php:23]
#29 MagentoCheckoutControllerOnepageSuccessInterceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:111]
#30 MagentoFrameworkAppActionAction->dispatch() called at [vendor/magento/module-checkout/Controller/Onepage.php:161]
#31 MagentoCheckoutControllerOnepage->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#32 MagentoCheckoutControllerOnepageSuccessInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#33 MagentoCheckoutControllerOnepageSuccessInterceptor->MagentoFrameworkInterception{closure}() called at [app/code/Webkul/RewardSystem/Plugin/App/Action/Context.php:55]
#34 WebkulRewardSystemPluginAppActionContext->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#35 MagentoCheckoutControllerOnepageSuccessInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#36 MagentoCheckoutControllerOnepageSuccessInterceptor->___callPlugins() called at [generated/code/Magento/Checkout/Controller/Onepage/Success/Interceptor.php:32]
#37 MagentoCheckoutControllerOnepageSuccessInterceptor->dispatch() called at [vendor/magento/framework/App/FrontController.php:245]
#38 MagentoFrameworkAppFrontController->getActionResponse() called at [vendor/magento/framework/App/FrontController.php:212]
#39 MagentoFrameworkAppFrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:147]
#40 MagentoFrameworkAppFrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#41 MagentoFrameworkAppFrontControllerInterceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#42 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99]
#43 MagentoStoreAppFrontControllerPluginRequestPreprocessor->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#44 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:75]
#45 MagentoPageCacheModelAppFrontControllerBuiltinPlugin->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135]
#46 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]
#47 MagentoFrameworkAppFrontControllerInterceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:23]
#48 MagentoFrameworkAppFrontControllerInterceptor->dispatch() called at [vendor/magento/framework/App/Http.php:116]
#49 MagentoFrameworkAppHttp->launch() called at [vendor/magento/framework/App/Bootstrap.php:264]
#50 MagentoFrameworkAppBootstrap->run() called at [pub/index.php:30]
</pre>

I get this error with default cash on delivery payment, bank transfer and also paypall.
Using php 8.1, no errors in magento and apache logs.

Can anyone help me?

Best regards,
Leonel Nunes