Skip to content

[Bug] Error 'No such entity with cartId ='

Preconditions and environment

Module: hyva-themes/magento2-hyva-checkout v1.2.0 Magento 2.4.7-p3

Steps to reproduce

  1. Add an item to the cart.
  2. Attempt to complete the checkout process to achieve a successful purchase.

Expected result

After completing the checkout process, a message confirming a successful purchase is displayed

Actual result

After completing the checkout process, an error message is displayed: "No such entity with cartId =".

Additional information

The cause of this issue is the missing file Hyva_Checkout::system/component/guest_details.xml.

To fix it, apply the following patch:

Index: vendor/hyva-themes/magento2-hyva-checkout/src/etc/adminhtml/system.xml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/vendor/hyva-themes/magento2-hyva-checkout/src/etc/adminhtml/system.xml b/vendor/hyva-themes/magento2-hyva-checkout/src/etc/adminhtml/system.xml
--- a/vendor/hyva-themes/magento2-hyva-checkout/src/etc/adminhtml/system.xml	
+++ b/vendor/hyva-themes/magento2-hyva-checkout/src/etc/adminhtml/system.xml	(date 1741176204000)
@@ -116,7 +116,6 @@
                 <include path="Hyva_Checkout::system/component/billing.xml"/>
                 <include path="Hyva_Checkout::system/component/billing_address_form.xml"/>
                 <include path="Hyva_Checkout::system/component/payment.xml"/>
-                <include path="Hyva_Checkout::system/component/guest_details.xml"/>
                 <!--<include path="Hyva_Checkout::system/component/newsletter_subscription.xml"/>-->
             </group>
 
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information