# Fatal Error nach Update auf 5.2.1

**URL:** <https://forum.shopware.com/t/fatal-error-nach-update-auf-5-2-1/38041>\
**Category:** Allgemein\
**Created:** [7. Juli 2016 um 22:59 UTC](https://forum.shopware.com/t/fatal-error-nach-update-auf-5-2-1/38041 "2016-07-07T22:59:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharky2207](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@sharky2207](https://forum.shopware.com/u/sharky2207)\
**Post date:** [7. Juli 2016 um 22:59 UTC](https://forum.shopware.com/t/fatal-error-nach-update-auf-5-2-1/38041/1 "2016-07-07T22:59:53Z")

</div>

Hallo,

nach dem Update von 5.1.6 auf 5.2.1 bekomme ich nun folgende Fehlermeldung im Browser angezeigt:

Fatal error: Declaration of Shopware\Components\DependencyInjection\Container::reset() must be compatible with Symfony\Component\DependencyInjection\ResettableContainerInterface::reset() in /var/www/vhosts/meinedomain.de/httpdocs/engine/Shopware/Components/DependencyInjection/Container.php on line 35

Wenn ich das Frontend aufrufe erscheint die Seite im Wartungsmodus.

Hat jemand eine Idee woran es liegen könnte?

p.s. die Updatevorraussetzungen waren vor dem Update alle mit einem grünen Häckchen versehen.

Grüße,  
Mic

---

<div class="post-metadata">

**Author:** ![kulli](https://avatars.discourse-cdn.com/v4/letter/k/a3d4f5/32.png) [@kulli](https://forum.shopware.com/u/kulli)\
**Post date:** [8. Juli 2016 um 04:34 UTC](https://forum.shopware.com/t/fatal-error-nach-update-auf-5-2-1/38041/2 "2016-07-08T04:34:04Z")

</div>

vielleicht hilft das

[https://forum.shopware.com/discussion/36437/nach-update-auf-5-1-5-wartungsmodus-aktiv-frontend-und-backend](https://forum.shopware.com/discussion/36437/nach-update-auf-5-1-5-wartungsmodus-aktiv-frontend-und-backend)

&nbsp;

eventuell auch mal alle plugins durchgehen, meistens ist ein inkompatibles dabei.

---

<div class="post-metadata">

**Author:** ![sharky2207](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@sharky2207](https://forum.shopware.com/u/sharky2207)\
**Post date:** [8. Juli 2016 um 12:09 UTC](https://forum.shopware.com/t/fatal-error-nach-update-auf-5-2-1/38041/3 "2016-07-08T12:09:08Z")

</div>

Hi kulli, danke für den Link! Bei mir war ebenfalls der Updateordner noch im Verzeichnis /files drin. Hab ihn nun gelöscht und der Wartungsmodus ist weg. Allerdings steht jetzt nur noch die Fehlermeldung da…

```
Fatal error: Declaration of Shopware\Components\DependencyInjection\Container::reset() must be compatible with Symfony\Component\DependencyInjection\ResettableContainerInterface::reset() in /var/www/vhosts/meinedomain.de/httpdocs/engine/Shopware/Components/DependencyInjection/Container.php on line 35

```

Hab auch schon den Pluginordner auf dem Server umbenannt um zu sehen ob es evtl daran liegt aber das hilf auch nichts. In der Container.php finde ich zwar die betroffene Zeile aber schlauer werd ich daraus leider auch nicht. Hab gestern noch einen anderen Beitrag gefunden wo das gleiche Problem auftaucht.

[https://forum.shopware.com/discussion/comment/165257#Comment\_165257](https://forum.shopware.com/discussion/comment/165257#Comment_165257)

Ich hatte das ganze vorher bei mir lokal (Mamp) getestet gehabt und da hat es einwandfrei funktioniert. Könnte es evtl. doch am Server liegen?

---

<div class="post-metadata">

**Author:** ![kulli](https://avatars.discourse-cdn.com/v4/letter/k/a3d4f5/32.png) [@kulli](https://forum.shopware.com/u/kulli)\
**Post date:** [9. Juli 2016 um 13:17 UTC](https://forum.shopware.com/t/fatal-error-nach-update-auf-5-2-1/38041/4 "2016-07-09T13:17:52Z")

</div>

schwierig…

deaktiviere lieber mal alle Plugins und aktiviere Sie wieder

Cache leeren und kompilieren nicht vergessen;

bei zweien Updates hier gabs Probleme mit einem aktivierten, noch nicht kompatiblem Amazon Payments

&nbsp;

---

<div class="post-metadata">

**Author:** ![sharky2207](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@sharky2207](https://forum.shopware.com/u/sharky2207)\
**Post date:** [9. Juli 2016 um 15:18 UTC](https://forum.shopware.com/t/fatal-error-nach-update-auf-5-2-1/38041/5 "2016-07-09T15:18:49Z")

</div>

mein Shop ist noch ganz neu und hat bis auf das PayPal Plugin nichts weiter installiert. Ich habe jetzt den kompletten Shop runtergeladen und werde versuchen ihn lokal zu installieren. Mal sehen… ich werde dann wieder berichten ob es geklappt hat.

Schönes Wochenende bis dahin =)

---

<div class="post-metadata">

**Author:** ![sharky2207](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@sharky2207](https://forum.shopware.com/u/sharky2207)\
**Post date:** [9. Juli 2016 um 15:20 UTC](https://forum.shopware.com/t/fatal-error-nach-update-auf-5-2-1/38041/6 "2016-07-09T15:20:29Z")

</div>

p.s. Plugins deaktivieren klappt&nbsp;nicht, da ich&nbsp;garnicht ins Backend komme.

---

<div class="post-metadata">

**Author:** ![kulli](https://avatars.discourse-cdn.com/v4/letter/k/a3d4f5/32.png) [@kulli](https://forum.shopware.com/u/kulli)\
**Post date:** [9. Juli 2016 um 15:51 UTC](https://forum.shopware.com/t/fatal-error-nach-update-auf-5-2-1/38041/7 "2016-07-09T15:51:07Z")

</div>

Wenn der Shop ganz neu ist, würde ich es mit einer Neuinstallation versuchen und vorher nochmal genau die Servervorraussetzungen prüfen.

Allerdings ist das ganze jetzt etwas Verwirrend, denn in der Themenüberschrift steht Update und im vorletzten Post schreibst Du „ganz neu bis auf paypal“ und in den vorherigen Posts hast Du auch nicht geschrieben, dass du nicht ins Backend kommst…

---

<div class="post-metadata">

**Author:** ![sharky2207](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@sharky2207](https://forum.shopware.com/u/sharky2207)\
**Post date:** [9. Juli 2016 um 18:07 UTC](https://forum.shopware.com/t/fatal-error-nach-update-auf-5-2-1/38041/8 "2016-07-09T18:07:29Z")

</div>

mit ganz neu meine ich das der Shop noch in der Entwicklungsphase steckt. Update erfolgte wie in der Überschrift beschrieben von 5.1.6 auf 5.2.1.

---

<div class="post-metadata">

**Author:** ![sharky2207](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@sharky2207](https://forum.shopware.com/u/sharky2207)\
**Post date:** [18. Juli 2016 um 16:10 UTC](https://forum.shopware.com/t/fatal-error-nach-update-auf-5-2-1/38041/9 "2016-07-18T16:10:14Z")

</div>

Wollte hier nur noch kurz meine Lösung posten falls jemand das gleiche Problem hat. Ich habe den Shop in der neusten Version noch einmal neu installiert und danach mit der&nbsp;alten Datenbank verbunden. Nun klappt alles auch&nbsp;mit 5.2.1

Ich denke das beim Updaten irgendwas schief gelaufen ist, denn die Datenbank war bereits auf 2.5.1 angepasst.
