R4M
17. Mai 2016 um 12:06
1
Kacke was ist das denn nu wieder?
Slim Application Error
The application could not run because of the following error:
Details
Type: ErrorException
Code: 8
Message: Undefined index: permissions
File: /var/www/vhosts/xxx/httpdocs/engine/Shopware/Bundle/MediaBundle/Subscriber/ServiceSubscriber.php
Line: 105
Trace
#0 /var/www/vhosts/xxx/httpdocs/engine/Shopware/Bundle/MediaBundle/Subscriber/ServiceSubscriber.php(105): Slim\Slim::handleErrors(8, 'Undefined index...', '/var/www/vhosts...', 105, Array)
#1 [internal function]: Shopware\Bundle\MediaBundle\Subscriber\ServiceSubscriber->createLocalAdapter(Object(Enlight_Event_EventArgs))
R4M
17. Mai 2016 um 13:20
2
Versuch mit Update auf nur 5.1.4 -> genau das selbe Problem
Die komplette Fehlermeldung:
Slim Application Error
The application could not run because of the following error:
Details
Type: ErrorException
Code: 8
Message: Undefined index: permissions
File: /var/www/vhosts/xxx/httpdocs/engine/Shopware/Bundle/MediaBundle/Subscriber/ServiceSubscriber.php
Line: 105
Trace
#0 /var/www/vhosts/xxx/httpdocs/engine/Shopware/Bundle/MediaBundle/Subscriber/ServiceSubscriber.php(105): Slim\Slim::handleErrors(8, 'Undefined index...', '/var/www/vhosts...', 105, Array)
#1 [internal function]: Shopware\Bundle\MediaBundle\Subscriber\ServiceSubscriber->createLocalAdapter(Object(Enlight_Event_EventArgs))
#2 /var/www/vhosts/xxx/httpdocs/engine/Library/Enlight/Event/Handler/Default.php(91): call_user_func(Array, Object(Enlight_Event_EventArgs))
#3 /var/www/vhosts/xxx/httpdocs/engine/Library/Enlight/Event/EventManager.php(339): Enlight_Event_Handler_Default->execute(Object(Enlight_Event_EventArgs))
#4 /var/www/vhosts/xxx/httpdocs/engine/Shopware/Bundle/MediaBundle/MediaServiceFactory.php(95): Enlight_Event_EventManager->collect('Shopware_Collec...', Object(Doctrine\Common\Collections\ArrayCollection), Array)
#5 /var/www/vhosts/xxx/httpdocs/engine/Shopware/Bundle/MediaBundle/MediaServiceFactory.php(73): Shopware\Bundle\MediaBundle\MediaServiceFactory->collectAdapterByType(Array)
#6 /var/www/vhosts/xxx/httpdocs/var/cache/production_201603220913/proxies/ShopwareProductionProjectContainer.php(750): Shopware\Bundle\MediaBundle\MediaServiceFactory->factory('local')
#7 /var/www/vhosts/xxx/httpdocs/vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer->getShopwareMedia_MediaServiceService()
#8 /var/www/vhosts/xxx/httpdocs/engine/Shopware/Components/DependencyInjection/Container.php(253): Symfony\Component\DependencyInjection\Container->get('shopware_media....')
#9 /var/www/vhosts/xxx/httpdocs/engine/Shopware/Components/DependencyInjection/Container.php(188): Shopware\Components\DependencyInjection\Container->load('shopware_media....')
#10 /var/www/vhosts/xxx/httpdocs/var/cache/production_201603220913/proxies/ShopwareProductionProjectContainer.php(1338): Shopware\Components\DependencyInjection\Container->get('shopware_media....')
#11 /var/www/vhosts/xxx/httpdocs/vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer->getThemeServiceService()
#12 /var/www/vhosts/xxx/httpdocs/engine/Shopware/Components/DependencyInjection/Container.php(253): Symfony\Component\DependencyInjection\Container->get('theme_service')
#13 /var/www/vhosts/xxx/httpdocs/engine/Shopware/Components/DependencyInjection/Container.php(188): Shopware\Components\DependencyInjection\Container->load('theme_service')
#14 /var/www/vhosts/xxx/httpdocs/var/cache/production_201603220913/proxies/ShopwareProductionProjectContainer.php(1330): Shopware\Components\DependencyInjection\Container->get('theme_service')
#15 /var/www/vhosts/xxx/httpdocs/vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer->getThemeInstallerService()
#16 /var/www/vhosts/xxx/httpdocs/engine/Shopware/Components/DependencyInjection/Container.php(253): Symfony\Component\DependencyInjection\Container->get('theme_installer')
#17 /var/www/vhosts/xxx/httpdocs/engine/Shopware/Components/DependencyInjection/Container.php(188): Shopware\Components\DependencyInjection\Container->load('theme_installer')
#18 /var/www/vhosts/xxx/httpdocs/recovery/update/src/DependencyInjection/Container.php(186): Shopware\Components\DependencyInjection\Container->get('theme_installer')
#19 /var/www/vhosts/xxx/httpdocs/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(112): Shopware\Recovery\Update\DependencyInjection\Container->Shopware\Recovery\Update\DependencyInjection\{closure}(Object(Pimple\Container))
#20 /var/www/vhosts/xxx/httpdocs/recovery/common/src/DependencyInjection/Container.php(80): Pimple\Container->offsetGet('shopware.theme_...')
#21 /var/www/vhosts/xxx/httpdocs/recovery/update/src/app.php(164): Shopware\Recovery\Common\DependencyInjection\Container->get('shopware.theme_...')
#22 [internal function]: {closure}()
#23 /var/www/vhosts/xxx/httpdocs/recovery/common/vendor/slim/slim/Slim/Route.php(462): call_user_func_array(Object(Closure), Array)
#24 /var/www/vhosts/xxx/httpdocs/recovery/common/vendor/slim/slim/Slim/Slim.php(1326): Slim\Route->dispatch()
#25 /var/www/vhosts/xxx/httpdocs/recovery/common/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#26 /var/www/vhosts/xxx/httpdocs/recovery/common/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#27 /var/www/vhosts/xxx/httpdocs/recovery/common/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#28 /var/www/vhosts/xxx/httpdocs/recovery/common/vendor/slim/slim/Slim/Slim.php(1271): Slim\Middleware\PrettyExceptions->call()
#29 /var/www/vhosts/xxx/httpdocs/recovery/update/index.php(46): Slim\Slim->run()
#30 {main}
R4M
17. Mai 2016 um 14:25
3
Hier wird der Inhalt dieser Funktion bemängelt:
public function createLocalAdapter(\Enlight_Event_EventArgs $args)
{
$config = $args->get('config');
return new ArrayCollection([
new Local($config['path'])
]);
}
Fehler bezieht sich auf $config[‚path‘], aber wie darf ich das verstehen? Am Shop wurde nichts verändert, also Standard.
R4M
19. Mai 2016 um 10:52
4
Thema vorerst erledigt. Habe über Stunden hinweg Schrittweise die alte Version mit neuen Daten überschrieben. Nun geht geht alles.