Skip to content

Error appearing in Checkout after enabling Magento Stomp module. #40260

@scott-xigen

Description

@scott-xigen

Preconditions and environment

  • 2.4.7-p7
  • Apply 2.4.7-p8 patch to 2.4.7-p7 and then go to the checkout.

Steps to reproduce

  1. Apply 2.4.7-p8 patch to a 2.4.7-p7 site
  2. Go to the frontend of the storefront and add a product to the basket.
  3. Go to the checkout.
  4. An error saying "Something went wrong with your request" will appear.

Expected result

No error message appears on the checkout pages

Actual result

An error message appears at the top of the checkout page everytime the page is refreshed.

Additional information

The following stack trace is appearing in the exception.log:

main.CRITICAL: Error: Cannot instantiate interface Magento\Framework\MessageQueue\Bulk\Queue\QueueFactoryInterface in /vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121
Stack trace:
#0 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject()
#1 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create()
#2 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get()
#3 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create()
#4 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get()
#5 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create()
#6 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(125): Magento\Framework\ObjectManager\Factory\Compiled->get()
#7 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(135): Magento\Framework\ObjectManager\Factory\Compiled->parseArray()
#8 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(86): Magento\Framework\ObjectManager\Factory\Compiled->parseArray()
#9 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create()
#10 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get()
#11 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create()
#12 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get()
#13 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create()
#14 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get()
#15 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create()
#16 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(125): Magento\Framework\ObjectManager\Factory\Compiled->get()
#17 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(86): Magento\Framework\ObjectManager\Factory\Compiled->parseArray()
#18 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create()
#19 /vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get()
#20 /vendor/magento/framework/ObjectManager/ObjectManager.php(73): Magento\Framework\ObjectManager\Factory\Compiled->create()
#21 /vendor/magento/framework/App/Http.php(115): Magento\Framework\ObjectManager\ObjectManager->get()
#22 /generated/code/Magento/Framework/App/Http/Interceptor.php(50): Magento\Framework\App\Http->launch()
#23 /vendor/magento/module-application-performance-monitor/Plugin/ApplicationPerformanceMonitor.php(38): Magento\Framework\App\Http\Interceptor->Magento\Framework\App\Http{closure}()
#24 /generated/code/Magento/Framework/App/Http/Interceptor.php(48): Magento\ApplicationPerformanceMonitor\Plugin\ApplicationPerformanceMonitor->aroundLaunch()
#25 /vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->launch()
#26 /pub/index.php(107): Magento\Framework\App\Bootstrap->run()
#27 {main} {"exception":"[object] (Error(code: 0): Cannot instantiate interface Magento\Framework\MessageQueue\Bulk\Queue\QueueFactoryInterface at /vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121)"} []

Disabling Magento_Stomp seems to resolve the issue, suggesting an issue with the new module.

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Type

No type

Projects

Status

Ready for Confirmation

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions