# Fehler bei Update auf 5.2.2

**URL:** https://forum.shopware.com/t/fehler-bei-update-auf-5-2-2/38355
**Category:** Installation/Einstieg
**Created:** [19. Juli 2016 um 11:52 UTC](https://forum.shopware.com/t/fehler-bei-update-auf-5-2-2/38355 "2016-07-19T11:52:51Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![TAPETEPOTSDAM](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@TAPETEPOTSDAM](https://forum.shopware.com/u/TAPETEPOTSDAM)
#### Post date: [19. Juli 2016 um 11:52 UTC](https://forum.shopware.com/t/fehler-bei-update-auf-5-2-2/38355/1 "2016-07-19T11:52:51Z")

</div>

Wir haben gerade folgenses Problem:

```
Slim Application Error

The application could not run because of the following error:

Details

Type: ErrorException
Code: 2
Message: Missing argument 1 for Enlight_Application::__construct(), called in /var/www/vhosts/eimox.store/httpdocs/engine/Shopware/Application.php on line 67 and defined
File: /var/www/vhosts/eimox.store/httpdocs/engine/Library/Enlight/Application.php
Line: 138
Trace

 
#0 /var/www/vhosts/eimox.store/httpdocs/engine/Library/Enlight/Application.php(138): Slim\Slim::handleErrors(2, 'Missing argumen...', '/var/www/vhosts...', 138, Array)
#1 /var/www/vhosts/eimox.store/httpdocs/engine/Shopware/Application.php(67): Enlight_Application->__construct()
#2 /var/www/vhosts/eimox.store/httpdocs/engine/Shopware/Kernel.php(387): Shopware->__construct(Object(ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer))
#3 /var/www/vhosts/eimox.store/httpdocs/engine/Shopware/Kernel.php(281): Shopware\Kernel->initializeShopware()
#4 /var/www/vhosts/eimox.store/httpdocs/recovery/update/src/DependencyInjection/Container.php(175): Shopware\Kernel->boot()
#5 /var/www/vhosts/eimox.store/httpdocs/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(113): Shopware\Recovery\Update\DependencyInjection\Container->Shopware\Recovery\Update\DependencyInjection\{closure}(Object(Pimple\Container))
#6 /var/www/vhosts/eimox.store/httpdocs/recovery/update/src/DependencyInjection/Container.php(184): Pimple\Container->offsetGet('shopware.contai...')
#7 /var/www/vhosts/eimox.store/httpdocs/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(113): Shopware\Recovery\Update\DependencyInjection\Container->Shopware\Recovery\Update\DependencyInjection\{closure}(Object(Pimple\Container))
#8 /var/www/vhosts/eimox.store/httpdocs/recovery/common/src/DependencyInjection/Container.php(80): Pimple\Container->offsetGet('shopware.theme_...')
#9 /var/www/vhosts/eimox.store/httpdocs/recovery/update/src/app.php(164): Shopware\Recovery\Common\DependencyInjection\Container->get('shopware.theme_...')
#10 [internal function]: {closure}()
#11 /var/www/vhosts/eimox.store/httpdocs/recovery/common/vendor/slim/slim/Slim/Route.php(462): call_user_func_array(Object(Closure), Array)
#12 /var/www/vhosts/eimox.store/httpdocs/recovery/common/vendor/slim/slim/Slim/Slim.php(1326): Slim\Route->dispatch()
#13 /var/www/vhosts/eimox.store/httpdocs/recovery/common/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#14 /var/www/vhosts/eimox.store/httpdocs/recovery/common/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#15 /var/www/vhosts/eimox.store/httpdocs/recovery/common/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#16 /var/www/vhosts/eimox.store/httpdocs/recovery/common/vendor/slim/slim/Slim/Slim.php(1271): Slim\Middleware\PrettyExceptions->call()
#17 /var/www/vhosts/eimox.store/httpdocs/recovery/update/index.php(46): Slim\Slim->run()
#18 {main}

```

Hat da jemand ne Idee???

---

<div class="post-metadata">

### Author: ![BernhardK](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/bernhardk/32/17669_2.png) [@BernhardK](https://forum.shopware.com/u/BernhardK)
#### Post date: [21. Juli 2016 um 18:52 UTC](https://forum.shopware.com/t/fehler-bei-update-auf-5-2-2/38355/2 "2016-07-21T18:52:16Z")

</div>

Habe nun gleiches Problem. Bei einer anderen Installation gab es kein Problem.

---

<div class="post-metadata">

### Author: ![BernhardK](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/bernhardk/32/17669_2.png) [@BernhardK](https://forum.shopware.com/u/BernhardK)
#### Post date: [21. Juli 2016 um 19:55 UTC](https://forum.shopware.com/t/fehler-bei-update-auf-5-2-2/38355/3 "2016-07-21T19:55:25Z")

</div>

**Problem (und Lösung) gefunden:**

Bei mir lag es an der PHP-Version. Hatte 5.3.6 installiert. Nach Update auf 5.6.24 (Minimum 5.6.23 notwendig) funktionierte die Installation nun.  
Wichtig: Bevor man einen zweiten Versuch startet, erst die Datenbank löschen und aus dem Backup neu einspielen, sonst schlägt das Update wieder fehl.

Viel Erfolg!

---

<div class="post-metadata">

### Author: ![Recall](https://avatars.discourse-cdn.com/v4/letter/r/b487fb/32.png) [@Recall](https://forum.shopware.com/u/Recall)
#### Post date: [2. August 2016 um 09:00 UTC](https://forum.shopware.com/t/fehler-bei-update-auf-5-2-2/38355/4 "2016-08-02T09:00:01Z")

</div>

Auch hier tritt genau das selbe Problem auf, an der PHP Version liegt es aber nicht, die ist derzeit auf 5.6.12.  
Laut Shopware ist 5.6.4 notwendig. Somit ist das kriterium eigentlich erfüllt.

Jemanden einen Tipp?

---

<div class="post-metadata">

### Author: ![BernhardK](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/bernhardk/32/17669_2.png) [@BernhardK](https://forum.shopware.com/u/BernhardK)
#### Post date: [2. August 2016 um 12:51 UTC](https://forum.shopware.com/t/fehler-bei-update-auf-5-2-2/38355/5 "2016-08-02T12:51:43Z")

</div>

Hast du das mal mit phpinfo() geprüft?

---

<div class="post-metadata">

### Author: ![Recall](https://avatars.discourse-cdn.com/v4/letter/r/b487fb/32.png) [@Recall](https://forum.shopware.com/u/Recall)
#### Post date: [5. August 2016 um 14:13 UTC](https://forum.shopware.com/t/fehler-bei-update-auf-5-2-2/38355/6 "2016-08-05T14:13:48Z")

</div>

Ja habe ich, daher habe ich auch die Info 😉
