# Warenkorb-Fehler im Google Chrome

**URL:** <https://forum.shopware.com/t/warenkorb-fehler-im-google-chrome/57994>\
**Category:** Allgemein\
**Created:** [12. Februar 2019 um 09:33 UTC](https://forum.shopware.com/t/warenkorb-fehler-im-google-chrome/57994 "2019-02-12T09:33:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IP\_Sam](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@IP\_Sam](https://forum.shopware.com/u/IP_Sam)\
**Post date:** [12. Februar 2019 um 09:33 UTC](https://forum.shopware.com/t/warenkorb-fehler-im-google-chrome/57994/1 "2019-02-12T09:33:01Z")

</div>

Hi an alle,

uns ist aufgefallen, dass bei einem unserer Shops beim Klick auf den Warenkorb folgender Fehler auftritt. Dies passiert allerdings nur im Chrome, in anderen Browsern scheint es absolut keine Probleme zu geben.

**Fatal error** : Uncaught TypeError: Argument 1 passed to Shopware\Components\Cart\Struct\CartItemStruct::setUpdatedPrice() must be of the type array, null given, called in /engine/Shopware/Core/sBasket.php on line 2917 and defined in /engine/Shopware/Components/Cart/Struct/CartItemStruct.php:123 Stack trace: #0 /engine/Shopware/Core/sBasket.php(2917): Shopware\Components\Cart\Struct\CartItemStruct-\>setUpdatedPrice(NULL) #1 /engine/Shopware/Core/sBasket.php(1631): sBasket-\>getPricesForItemUpdates(Array) #2 /engine/Shopware/Core/sBasket.php(1292): sBasket-\>updateCartItems(Array) #3 /var/cache/production\_201810301443/proxies/sBasketProxy.php(79): sBasket-\>sGetBasket() #4 /engine/Library/Enlight/Hook/HookExecutionContext.php(141): Shopware\_Proxies\_sBasketProxy-\>\_\_executeOriginalMethod('sG in&nbsp; **/engine/Shopware/Components/Cart/Struct/CartItemStruct.php** on line&nbsp; **123**

Ich werde aus dem Fehlercode nicht schlau, scheinbar sei aber etwas im /Core/sBasket.php und ich wüsste nicht, wann und wieso wir uns im /Core-Verzeichnis bewegt haben sollten… aber vielleicht fällt euch ja etwas ein. 🙂

Vielen Dank schon Mal!

---

<div class="post-metadata">

**Author:** ![robin.marquardt](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/robin.marquardt/32/14080_2.png) [@robin.marquardt](https://forum.shopware.com/u/robin.marquardt)\
**Post date:** [8. Juli 2021 um 08:23 UTC](https://forum.shopware.com/t/warenkorb-fehler-im-google-chrome/57994/2 "2021-07-08T08:23:57Z")

</div>

Hey,  
konntest du das Problem lösen?  
wir bekommen seit heute die gleiche Meldung.

Viele Grüße  
Robin
