shopware: Add to cart: Exception exceeds Database memory + huge log files
PHP Version
8
Shopware Version
6.4.1.2
Expected behaviour
Item should be added to cart without login.
Actual behaviour
Uncaught TypeError: Cannot read property 'remove' of null
at all.js?1625751614903957:11
(anonymous) @ all.js?1625751614903957:11
load (async)
(anonymous) @ all.js?1625751614903957:10
all.js?1625751614903957:3 POST https://my.shop/checkout/line-item/add 500 (Internal Server Error)
value @ all.js?1625751614903957:3
value @ all.js?1625751614903957:3
value @ all.js?1625751614903957:5
value @ all.js?1625751614903957:5
value @ all.js?1625751614903957:5
value @ all.js?1625751614903957:5
(anonymous) @ all.js?1625751614903957:5
value @ all.js?1625751614903957:3
value @ all.js?1625751614903957:5
value @ all.js?1625751614903957:5
all.js?1625751614903957:3 Uncaught Error: The required element ".begin-checkout-btn" does not exist in parent node!
at Function.value (all.js?1625751614903957:3)
at e.value (all.js?1625751614903957:5)
at e.value (all.js?1625751614903957:3)
at e.value (all.js?1625751614903957:5)
at u (all.js?1625751614903957:5)
at Function.value (all.js?1625751614903957:5)
at XMLHttpRequest.<anonymous> (all.js?1625751614903957:3)
How to reproduce
I’m just trying to add items to cart without login. As it works in a clean set up shop with demo data, I guess that error comes from a combination of some custom settings. I have no idea where to debug. The error message is not helpful.
Already deactivated all relevant plugins, removed custom templates, the error remains. You can check the bug on the shop website: https://allaoui.shop
We have 2200 Products with 2600 Variants in the shop
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (5 by maintainers)
look into var/log/*.log files