Fehler bei Update auf 5.2.2

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???

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

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!

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?

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

Ja habe ich, daher habe ich auch die Info :wink: