# Shopware Sicherheitsupdate vom 22.6.22 - Fehler und jetzt Wartungsmodus - Hilfe

**URL:** <https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920>\
**Category:** Shopware 5\
**Created:** [22. Juni 2022 um 08:12 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920 "2022-06-22T08:12:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![intex](https://avatars.discourse-cdn.com/v4/letter/i/e36b37/32.png) [@intex](https://forum.shopware.com/u/intex)\
**Post date:** [22. Juni 2022 um 08:12 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/1 "2022-06-22T08:12:37Z")

</div>

Habe das Sicherheits-Update angestoßen.

Es kam eine kryptische Meldung, dass etwas mit

magicquotes

deprecated sei.

Nach reload der Seite ist der Shop nun im Wartungsmodus.

Und nun?

Bisher war ich update-mäßig immer auf dem neuesten Stand. Der Shop ist ziemlich basic.

Den Wartungsmodus habe ich durch Löschen von files/update wieder beenden können.

Das nicht funktionierende Sicherheits-Update bleibt dann aber ja wohl - traue mich nicht so recht, es einfach erneut anzustoßen, denn die Meldung ist ja wohl ein Fehler im Code des Updates.

---

<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:** [22. Juni 2022 um 08:23 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/2 "2022-06-22T08:23:15Z")

</div>

Hallo,

kann ich bestätigen:

```auto
Slim Application Error

The application could not run because of the following error:
Details
Type: ErrorException
Code: 8192
Message: Function get_magic_quotes_gpc() is deprecated
File: /var/www/vhosts/meine-domain.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Http/Util.php
Line: 60
Trace
#0 /var/www/vhosts/meine-domain.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Http/Util.php(60): Slim\Slim::handleErrors()
#1 /var/www/vhosts/meine-domain.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Http/Request.php(226): Slim\Http\Util::stripSlashesIfMagicQuotes()
#2 /var/www/vhosts/meine-domain.de/httpdocs/recovery/update/src/Controller/RequirementsController.php(112): Slim\Http\Request->get()
#3 /var/www/vhosts/meine-domain.de/httpdocs/recovery/update/src/app.php(135): Shopware\Recovery\Update\Controller\RequirementsController->checkRequirements()
#4 [internal function]: {closure}()
#5 /var/www/vhosts/meine-domain.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Route.php(468): call_user_func_array()
#6 /var/www/vhosts/meine-domain.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Slim.php(1355): Slim\Route->dispatch()
#7 /var/www/vhosts/meine-domain.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#8 /var/www/vhosts/meine-domain.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#9 /var/www/vhosts/meine-domain.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#10 /var/www/vhosts/meine-domain.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Slim.php(1300): Slim\Middleware\PrettyExceptions->call()
#11 /var/www/vhosts/meine-domain.de/httpdocs/recovery/update/index.php(58): Slim\Slim->run()
#12 {main}

```

Viele Grüße

---

<div class="post-metadata">

**Author:** ![kim.kar](https://avatars.discourse-cdn.com/v4/letter/k/e9a140/32.png) [@kim.kar](https://forum.shopware.com/u/kim.kar)\
**Post date:** [22. Juni 2022 um 08:30 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/3 "2022-06-22T08:30:34Z")

</div>

Auch hier das selbe, Shop steht, Backend nicht erreichbar, das ist ganz schlecht 😕 …

![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/c/5/c56454539899d898d8ae80107ce3de051ab9c646.png)

Shopware Version 5.7.11  
PHP 7.4.24.  
MySQL 8.0.26  
Ubuntu 20.04.3

---

<div class="post-metadata">

**Author:** ![philipgatzka](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/philipgatzka/32/17109_2.png) [@philipgatzka](https://forum.shopware.com/u/philipgatzka)\
**Post date:** [22. Juni 2022 um 08:31 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/4 "2022-06-22T08:31:12Z")

</div>

Hallo zusammen,

könntet Ihr noch ein paar Details zu Euren Systemen posten? PHP-Version, Webserver etc.

---

<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:** [22. Juni 2022 um 08:35 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/5 "2022-06-22T08:35:20Z")

</div>

Hi,

@kim.kar : wie im ersten Beitrag erwähnt, in Deinem Shopware Verzeichnis unter files das Verzeichnis update löschen - dann sollte der Shop wieder funktionieren.

@philipgatzka : denke Webserver ist nicht relevant, da es ja eine PHP Funktion ist, die bemängelt wird - PHP Magic Quotes wurde in PHP7 schon entfernt, komisch dass die Meldung auftaucht.

Verwendet wird in meinem Fall PHP 7.4.30

Viele Grüße

**EDIT** - vermutlich ist das hier die Ursache:

> <https://stackoverflow.com/questions/61054418/php-7-4-deprecated-get-magic-quotes-gpc-function-alternative>

---

<div class="post-metadata">

**Author:** ![Steffffi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/steffffi/32/13846_2.png) [@Steffffi](https://forum.shopware.com/u/Steffffi)\
**Post date:** [22. Juni 2022 um 08:38 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/6 "2022-06-22T08:38:33Z")

</div>

Ein nächstes „Sicherheitsupdate“ , das wohl der Reihe nach Shops wieder offline stellt. Zumindest popped es nicht andauernd auf (weil es in per swag\_update deaktiviert wurde).

---

<div class="post-metadata">

**Author:** ![philipgatzka](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/philipgatzka/32/17109_2.png) [@philipgatzka](https://forum.shopware.com/u/philipgatzka)\
**Post date:** [22. Juni 2022 um 08:38 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/7 "2022-06-22T08:38:52Z")

</div>

Danke @SCOOPEX , ich versuche den Fall einmal nachzustellen.

---

<div class="post-metadata">

**Author:** ![feep](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@feep](https://forum.shopware.com/u/feep)\
**Post date:** [22. Juni 2022 um 08:44 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/8 "2022-06-22T08:44:51Z")

</div>

Leider habe ich die gleiche Fehlermeldung und das Wartungsmodus Fenster.

Das dieses Update nach den letzten 2 fehlerhaften Updates live geht verängstigt mich schon ☹

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [22. Juni 2022 um 08:47 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/9 "2022-06-22T08:47:10Z")

</div>

Hallo,

falls möglich stellt vor dem Update die PHP Version auf PHP8.0. Oder führt das Update über die Console aus per CLI.  
Damit sollte das Update durchlaufen.

Viele Grüße aus Schöppingen  
Michael Telgmann

---

<div class="post-metadata">

**Author:** ![weinrank](https://avatars.discourse-cdn.com/v4/letter/w/8797f3/32.png) [@weinrank](https://forum.shopware.com/u/weinrank)\
**Post date:** [22. Juni 2022 um 08:52 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/10 "2022-06-22T08:52:08Z")

</div>

Wir haben das Problem wie folgt gelöst:  
In der Datei „/recovery/common/vendor/slim/slim/Slim/Http/Util.php“ in Zeile 60 ‚get\_magic\_quotes\_gpc()‘ durch ‚false‘ ersetzen, sieht danach so aus:

```auto
public static function stripSlashesIfMagicQuotes($rawData, $overrideStripSlashes = null)
    {
        $strip = is_null($overrideStripSlashes) ? false : $overrideStripSlashes; // get_magic_quotes_gpc() replaced by false - get_magic_quotes_gpc() is deprecated
        if ($strip) {
            return self::stripSlashes($rawData);
        }

        return $rawData;
    }

```

Danach konnten wir fortfahren.

---

<div class="post-metadata">

**Author:** ![Steffffi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/steffffi/32/13846_2.png) [@Steffffi](https://forum.shopware.com/u/Steffffi)\
**Post date:** [22. Juni 2022 um 08:53 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/11 "2022-06-22T08:53:07Z")

</div>

Darf ich kurz mal nachhaken: Ihr gebt ein Sicherheitsupdate raus, das auch bei SW 5.6.10 aufscheint. Das Update wird natürlich wieder mal nix, kennt man von den vorhergehenden Updates. Ein Gewöhnungseffekt tritt ein.

Jetzt ratet man dann den Shopbetreibern, die guten Gewissens das Update reinspielen OHNE jedweden Hinweis im Update, auf PHP 8 umzustellen. Dass zb. 5.6.10 überhaupt nicht vollumfänglich PHP 8.0 fähig ist (was ich so weiß bis dato, bitte korrigieren falls falsch), egal. Dass zb. das Umstellen auf PHP einem vollumfänglichen Motortausch im Shop gleichkommt, auch egal, muss man verstehen, wenn ein Update reinkommt. Mit PHP 8 muss man halt dann nur alles, wirklich alles, bis ins kleinste Detail testen. Aber wohl auch egal.

Wie stellt Ihr Euch das denn so vor?

---

<div class="post-metadata">

**Author:** ![intex](https://avatars.discourse-cdn.com/v4/letter/i/e36b37/32.png) [@intex](https://forum.shopware.com/u/intex)\
**Post date:** [22. Juni 2022 um 08:56 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/12 "2022-06-22T08:56:28Z")

</div>

PHP 7.4 bei [all-inkl.com](http://all-inkl.com)

Wartungsmodus ist zwar durch Löschen von files/update leicht zu beseitigen, die Fehlermeldung ist aber schon eher „peinlich“ und ein Totalausfall des Shops sollte eigentlich nie passieren - warum können sich Updates im Fehlerfalle nicht automatisch selbst zurückspielen?

---

<div class="post-metadata">

**Author:** ![intex](https://avatars.discourse-cdn.com/v4/letter/i/e36b37/32.png) [@intex](https://forum.shopware.com/u/intex)\
**Post date:** [22. Juni 2022 um 08:57 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/13 "2022-06-22T08:57:28Z")

</div>

Danke für den Tipp, ist aber sicherlich keine Vorgehensweise für Otto-Normalo

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [22. Juni 2022 um 08:59 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/14 "2022-06-22T08:59:13Z")

</div>

Hallo @Steffffi

ich habe meinen Beitrag vorhin noch mal editiert. Ein Update über die Console und mit PHP7.4 ist immer noch möglich.

Viele Grüße aus Schöppingen  
Michael Telgmann

---

<div class="post-metadata">

**Author:** ![Steffffi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/steffffi/32/13846_2.png) [@Steffffi](https://forum.shopware.com/u/Steffffi)\
**Post date:** [22. Juni 2022 um 09:01 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/15 "2022-06-22T09:01:13Z")

</div>

Danke für die Info, aber nachwievor wird es wohl, wie auch ein Benutzer über mir geschrieben hat, Leute geben, die das Wort „console“ gar nicht buchstabieren können , geschweige denn wissen, was PHP ist und einfach bei der Updatewarnung auf „jetzt updaten“ klicken.

---

<div class="post-metadata">

**Author:** ![MattyTheKid80](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@MattyTheKid80](https://forum.shopware.com/u/MattyTheKid80)\
**Post date:** [22. Juni 2022 um 09:07 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/16 "2022-06-22T09:07:25Z")

</div>

Hi Community,

ich habe heute das gleiche Problem. Bin ehrlich gesagt ratlos.

 ![Slim_Application_Error](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/3/0/300a8bf45bba0488bf963c8d5719b259153401ff.jpeg)

PHP 7.2  
MySQL 5.7

---

<div class="post-metadata">

**Author:** ![weinrank](https://avatars.discourse-cdn.com/v4/letter/w/8797f3/32.png) [@weinrank](https://forum.shopware.com/u/weinrank)\
**Post date:** [22. Juni 2022 um 09:09 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/17 "2022-06-22T09:09:59Z")

</div>

> [@Shopware Sicherheitsupdate vom 22.6.22 - Fehler und jetzt Wartungsmodus - Hilfe](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/10):
>
> Wir haben das Problem wie folgt gelöst: In der Datei „/recovery/common/vendor/slim/slim/Slim/Http/Util.php“ in Zeile 60 ‚get\_magic\_quotes\_gpc()‘ durch ‚false‘ ersetzen, sieht danach so aus: public static function stripSlashesIfMagicQuotes($rawData, $overrideStripSlashes = null) { $strip = is\_null($overrideStripSlashes) ? false : $overrideStripSlashes; // get\_magic\_quotes\_gpc() replaced by false - get\_magic\_quotes\_gpc() is deprecated if ($strip) { return self::s…

Wir konnten es bei einem Kunden mit dem Vorgehen lösen.

---

<div class="post-metadata">

**Author:** ![MattyTheKid80](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@MattyTheKid80](https://forum.shopware.com/u/MattyTheKid80)\
**Post date:** [22. Juni 2022 um 09:12 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/18 "2022-06-22T09:12:39Z")

</div>

> [@Steffffi](#):
>
> as PHP ist und einfach bei der Updatewarnung auf

Hi, ich kann „console“ zwar buchstabieren, aber wenn ein Hinweis auf ein „Sicherheitsupdate“ angezeigt wird, gehe ich davon aus, dass es durchläuft. Schon irgendwie seltsam.

LG

---

<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:** [22. Juni 2022 um 09:17 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/20 "2022-06-22T09:17:52Z")

</div>

Peinlich…

Naja - die PayPal-Tochter hat ja auch für SW5 & SW6 mit Abstand die schlechtesten PayPal-Plugins im Shop-Umfeld.

Und obwohl Shopware nun über dieses Problem informiert ist, wird das Update weiter angeboten. Sorry - das ist aus meiner Sicht hart an der „Computersabotage“ - zumindest GROB fahrlässig.

---

<div class="post-metadata">

**Author:** ![MattyTheKid80](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@MattyTheKid80](https://forum.shopware.com/u/MattyTheKid80)\
**Post date:** [22. Juni 2022 um 09:46 UTC](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920/21 "2022-06-22T09:46:45Z")

</div>

@weinrank Könnten Sie uns die „Util.php“ einmal komplett senden? Dass wir sie ggf. austauschen, denn anscheinend funktioniert es bei uns irgendwie nicht. Das wäre 👌

[Nächste Seite](https://forum.shopware.com/t/shopware-sicherheitsupdate-vom-22-6-22-fehler-und-jetzt-wartungsmodus-hilfe/94920.md?page=2)
