# Warenkorb Problem nach Update auf 6.5 "Leider ist etwas scheif gelaufen"

**URL:** <https://forum.shopware.com/t/warenkorb-problem-nach-update-auf-6-5-leider-ist-etwas-scheif-gelaufen/101498>\
**Category:** Shopware 6 (German)\
**Created:** [6. Oktober 2023 um 20:47 UTC](https://forum.shopware.com/t/warenkorb-problem-nach-update-auf-6-5-leider-ist-etwas-scheif-gelaufen/101498 "2023-10-06T20:47:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![benni-media](https://avatars.discourse-cdn.com/v4/letter/b/59ef9b/32.png) [@benni-media](https://forum.shopware.com/u/benni-media)\
**Post date:** [6. Oktober 2023 um 20:47 UTC](https://forum.shopware.com/t/warenkorb-problem-nach-update-auf-6-5-leider-ist-etwas-scheif-gelaufen/101498/1 "2023-10-06T20:47:13Z")

</div>

Hallo,  
nach dem Update bekomme ich im Warenkorb folgendes angezeigt „Leider ist etwas schief gelaufen“.  
Im Log steht folgendes:  
„[2023-10-06T20:26:07.912193+00:00] request.CRITICAL: Uncaught PHP Exception Shopware\Storefront\Controller\Exception\StorefrontException: „Can not render @SwagPayPal/storefront/component/checkout/offcanvas-cart.html.twig view: Unknown „sw\_csrf“ function. with these parameters: {„themeIconConfig“:}“ at /www/htdocs/w016becd/tiedemann-shop/vendor/shopware/storefront/Controller/Exception/StorefrontException.php line 29 {„exception“:“[object] (Shopware\Storefront\Controller\Exception\StorefrontException(code: 0): Can not render @SwagPayPal/storefront/component/checkout/offcanvas-cart.html.twig view: Unknown "sw\_csrf" function. with these parameters: {"themeIconConfig":} at /www/htdocs/w016becd/tiedemann-shop/vendor/shopware/storefront/Controller/Exception/StorefrontException.php:29)„} “

Kann mir jemand sagen was das zu bedeuten hat?

---

<div class="post-metadata">

**Author:** ![chamaw](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@chamaw](https://forum.shopware.com/u/chamaw)\
**Post date:** [7. Oktober 2023 um 04:43 UTC](https://forum.shopware.com/t/warenkorb-problem-nach-update-auf-6-5-leider-ist-etwas-scheif-gelaufen/101498/2 "2023-10-07T04:43:57Z")

</div>

Mach mal folgendes:

1. PayPal Plugin aus
2. Cache löschen
3. funktioniert es jetzt ?
4. PayPal Plugin updaten, Cache löschen
5. Falls kein PayPal Update vorliegt, einfach mal versuchen wieder anzuschalten (und Cache löschen)

Ursprung des Fehlers ist die bekannte Deprecation der Twig-Funktion „sw\_csrf“ in Shopware 6.5, siehe [https://github.com/shopware/platform/blob/trunk/UPGRADE-6.5.md](https://github.com/shopware/platform/blob/trunk/UPGRADE-6.5.md)

---

<div class="post-metadata">

**Author:** ![benni-media](https://avatars.discourse-cdn.com/v4/letter/b/59ef9b/32.png) [@benni-media](https://forum.shopware.com/u/benni-media)\
**Post date:** [9. Oktober 2023 um 12:05 UTC](https://forum.shopware.com/t/warenkorb-problem-nach-update-auf-6-5-leider-ist-etwas-scheif-gelaufen/101498/3 "2023-10-09T12:05:54Z")

</div>

Vielen Dank für deine Antwort.  
Es lag an meinem Theme, irgendwas passt Shopware dort nicht mit der csrf Funktion. Habe es raufgenommen und nun funktioniert es super. 🙂
