# 500 Error wenn man auf Cache / Performance geht

**URL:** <https://forum.shopware.com/t/500-error-wenn-man-auf-cache-performance-geht/98491>\
**Category:** Administration\
**Created:** [10. Februar 2023 um 14:06 UTC](https://forum.shopware.com/t/500-error-wenn-man-auf-cache-performance-geht/98491 "2023-02-10T14:06:14Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![SCOOPEX](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/scoopex/32/18328_2.png) [@SCOOPEX](https://forum.shopware.com/u/SCOOPEX)\
**Post date:** [10. Februar 2023 um 14:53 UTC](https://forum.shopware.com/t/500-error-wenn-man-auf-cache-performance-geht/98491/21 "2023-02-10T14:53:29Z")

</div>

Der CSRF (Invalid Token) Fehler wird vermutlich durch ein Plugin verursacht und hat nichts mit der PHP oder Shopware Version zu tun.

Das musst Du dann debuggen oder kannst temporär die CSRF Protection in der config.php abschalten, was jedoch aus Sicherheitsgrüden nicht zu empfehlen ist.

> **[CSRF Protection](https://developers.shopware.com/developers-guide/csrf-protection/)**
>
> CSRF Protection

---

<div class="post-metadata">

**Author:** ![nadjak](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nadjak](https://forum.shopware.com/u/nadjak)\
**Post date:** [10. Februar 2023 um 14:55 UTC](https://forum.shopware.com/t/500-error-wenn-man-auf-cache-performance-geht/98491/22 "2023-02-10T14:55:34Z")

</div>

Und wie finde ich raus, welches Plugin es ist? in meinem Post war immer von einem Sicherheitsplugin die Rede. Aber das scheint bei mir nicht installiert zu sein.  
Danke und VG Nadja

---

<div class="post-metadata">

**Author:** ![SCOOPEX](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/scoopex/32/18328_2.png) [@SCOOPEX](https://forum.shopware.com/u/SCOOPEX)\
**Post date:** [10. Februar 2023 um 14:57 UTC](https://forum.shopware.com/t/500-error-wenn-man-auf-cache-performance-geht/98491/23 "2023-02-10T14:57:21Z")

</div>

So wie @sonic es beschrieben hat …

---

<div class="post-metadata">

**Author:** ![nadjak](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nadjak](https://forum.shopware.com/u/nadjak)\
**Post date:** [10. Februar 2023 um 15:00 UTC](https://forum.shopware.com/t/500-error-wenn-man-auf-cache-performance-geht/98491/24 "2023-02-10T15:00:24Z")

</div>

Meinst du hier im Beitrag? Da geht es doch um den 500er Fehler. Das ist geklärt.  
Ich meinte das Debugging wie ich rausfinde welches der Plugins den invalid Token auslöst  
VG Nadja

---

<div class="post-metadata">

**Author:** ![sonic](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sonic/32/25728_2.png) [@sonic](https://forum.shopware.com/u/sonic)\
**Post date:** [10. Februar 2023 um 15:08 UTC](https://forum.shopware.com/t/500-error-wenn-man-auf-cache-performance-geht/98491/25 "2023-02-10T15:08:30Z")

</div>

Zum Token:

1. welche Shopware-Version hast Du im Einsatz - aha - 5.7.16 steht im anderem Thread
2. mal mit dem standard-Theme vom Shopware testen (Problem Theme ja/nein)
3. nach und nach PlugIns - insbesondere solche, die Veränderungen am „Aussehen“ vorhnehmen - einzeln abschalten

Edit: Version gefunden - ggf- auch mal gucken, ob Zahlungs-Plugins veraltet sind - auch die mal abschalten.

---

<div class="post-metadata">

**Author:** ![nadjak](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nadjak](https://forum.shopware.com/u/nadjak)\
**Post date:** [10. Februar 2023 um 15:10 UTC](https://forum.shopware.com/t/500-error-wenn-man-auf-cache-performance-geht/98491/26 "2023-02-10T15:10:29Z")

</div>

Vielen Dank.  
Die Shopwareversion ist 5.7.16. Also die aktuelle.  
Den Rest teste ich durch.  
Danke!  
Vg NAdja

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [10. Februar 2023 um 23:27 UTC](https://forum.shopware.com/t/500-error-wenn-man-auf-cache-performance-geht/98491/27 "2023-02-10T23:27:28Z")

</div>

Ich habe es jetzt noch einmal mit PHP 8.1 und 8.2 probiert. Leider scheint der Fehler dort immer noch aufzutreten. Vielleicht hat ja jemand eine andere Idee, wie dies zu lösen bzw. zu umgehen ist.

---

<div class="post-metadata">

**Author:** ![SCOOPEX](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/scoopex/32/18328_2.png) [@SCOOPEX](https://forum.shopware.com/u/SCOOPEX)\
**Post date:** [11. Februar 2023 um 09:21 UTC](https://forum.shopware.com/t/500-error-wenn-man-auf-cache-performance-geht/98491/28 "2023-02-11T09:21:40Z")

</div>

Die OPCache Status Abfrage müsste ansonsten Shopware halt anpassen - in diesem Beitrag bei Drupal wird dies ebenfalls diskutiert:

[https://www.drupal.org/project/drupal/issues/2639878](https://www.drupal.org/project/drupal/issues/2639878)

Oder aber Du verwendest halt kein Shared Hosting, wo Du diesen Schutz entfernen kannst.

Viele Grüße

> **[SCOOPEX GmbH - Cloud, eCommerce & IT-Dienstleistungen](https://www.scoopex.de)**
>
> Wir betreuen unsere Kunden umfangreich zu allen IT Fragen. IT Managed Services, eCommerce Solutions, Shopware Optimierung, uvm.

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [11. Februar 2023 um 13:33 UTC](https://forum.shopware.com/t/500-error-wenn-man-auf-cache-performance-geht/98491/29 "2023-02-11T13:33:42Z")

</div>

Perfekt, so klappt’s, danke dir. 😃

[Vorherige Seite](https://forum.shopware.com/t/500-error-wenn-man-auf-cache-performance-geht/98491.md?page=1)
