Guten Tag zusammen,
nachdem ich heute problemlos das Update auf 5.6.6 bei einem unserer Shops durchführen konnte, erwies sich das Update bei einem weiteren Shop als Problem.
Das Update lief soweit durch bis zum „Aufräumen“. Direkt danach leitet der Browser auf unten stehende Fehlermeldung weiter und ab diesem Zeitpunkt war der Shop im Wartungsmodus.
Slim Application Error
The application could not run because of the following error:
Details
Type: Doctrine\ORM\Mapping\MappingException
Message: No mapping found for field ‚shop‘ on class ‚Shopware\Models\Attribute\Shop‘.
File: /var/www/web4316/html/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php
Line: 163
Trace
#0 /var/www/web4316/html/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(1256): Doctrine\ORM\Mapping\MappingException::mappingNotFound(‚Shopware\Models…‘, ‚shop‘)
#1 /var/www/web4316/html/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(447): Doctrine\ORM\Mapping\ClassMetadataInfo->getAssociationMapping(‚shop‘)
#2 /var/www/web4316/html/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(2723): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadOneToOneEntity(Array, Object(Shopware\Models\Shop\Shop))
#3 /var/www/web4316/html/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(271): Doctrine\ORM\UnitOfWork->createEntity(‚Shopware\Models…‘, Array, Array)
#4 /var/www/web4316/html/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(492): Doctrine\ORM\Internal\Hydration\ObjectHydrator->getEntity(Array, ‚shop‘)
#5 /var/www/web4316/html/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(162): Doctrine\ORM\Internal\Hydration\ObjectHydrator->hydrateRowData(Array, Array)
#6 /var/www/web4316/html/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(153): Doctrine\ORM\Internal\Hydration\ObjectHydrator->hydrateAllData()
#7 /var/www/web4316/html/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(977): Doctrine\ORM\Internal\Hydration\AbstractHydrator->hydrateAll(Object(PDOStatement), Object(Doctrine\ORM\Query\ResultSetMapping), Array)
#8 /var/www/web4316/html/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(923): Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache(NULL, NULL)
#9 /var/www/web4316/html/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(765): Doctrine\ORM\AbstractQuery->execute(NULL, NULL)
#10 /var/www/web4316/html/engine/Shopware/Models/Shop/Repository.php(309): Doctrine\ORM\AbstractQuery->getOneOrNullResult()
#11 /var/www/web4316/html/engine/Shopware/Bundle/MediaBundle/MediaService.php(306): Shopware\Models\Shop\Repository->getActiveDefault()
#12 /var/www/web4316/html/engine/Shopware/Bundle/MediaBundle/MediaService.php(74): Shopware\Bundle\MediaBundle\MediaService->createFallbackMediaUrl()
#13 /var/www/web4316/html/engine/Shopware/Bundle/MediaBundle/MediaServiceFactory.php(83): Shopware\Bundle\MediaBundle\MediaService->__construct(Object(League\Flysystem\Filesystem), Object(Shopware\Bundle\MediaBundle\Strategy\Md5Strategy), Object(ShopwareProduction10a6773a1651f89ebcae99ac46f6e3e098c4d761ProjectContainer), Array)
#14 /var/www/web4316/html/var/cache/production_202003031106/proxies/ShopwareProduction10a6773a1651f89ebcae99ac46f6e3e098c4d761ProjectContainer.php(4261): Shopware\Bundle\MediaBundle\MediaServiceFactory->factory(‚local‘)
#15 /var/www/web4316/html/vendor/symfony/dependency-injection/Container.php(306): ShopwareProduction10a6773a1651f89ebcae99ac46f6e3e098c4d761ProjectContainer->getShopwareMedia_MediaServiceService()
#16 /var/www/web4316/html/engine/Shopware/Components/DependencyInjection/Container.php(220): Symfony\Component\DependencyInjection\Container->get(‚shopware_media…‘, 1)
#17 /var/www/web4316/html/engine/Shopware/Components/DependencyInjection/Container.php(141): Shopware\Components\DependencyInjection\Container->doLoad(‚shopware_media…‘, ‚shopware_media…‘, 1)
#18 /var/www/web4316/html/var/cache/production_202003031106/proxies/ShopwareProduction10a6773a1651f89ebcae99ac46f6e3e098c4d761ProjectContainer.php(5463): Shopware\Components\DependencyInjection\Container->get(‚shopware_media…‘)
#19 /var/www/web4316/html/vendor/symfony/dependency-injection/Container.php(306): ShopwareProduction10a6773a1651f89ebcae99ac46f6e3e098c4d761ProjectContainer->getThemeServiceService()
#20 /var/www/web4316/html/engine/Shopware/Components/DependencyInjection/Container.php(220): Symfony\Component\DependencyInjection\Container->get(‚theme_service‘, 1)
#21 /var/www/web4316/html/engine/Shopware/Components/DependencyInjection/Container.php(141): Shopware\Components\DependencyInjection\Container->doLoad(‚theme_service‘, ‚theme_service‘, 1)
#22 /var/www/web4316/html/var/cache/production_202003031106/proxies/ShopwareProduction10a6773a1651f89ebcae99ac46f6e3e098c4d761ProjectContainer.php(5455): Shopware\Components\DependencyInjection\Container->get(‚theme_service‘)
#23 /var/www/web4316/html/vendor/symfony/dependency-injection/Container.php(306): ShopwareProduction10a6773a1651f89ebcae99ac46f6e3e098c4d761ProjectContainer->getThemeInstallerService()
#24 /var/www/web4316/html/engine/Shopware/Components/DependencyInjection/Container.php(220): Symfony\Component\DependencyInjection\Container->get(‚theme_installer‘, 1)
#25 /var/www/web4316/html/engine/Shopware/Components/DependencyInjection/Container.php(141): Shopware\Components\DependencyInjection\Container->doLoad(‚theme_installer‘, ‚theme_installer‘, 1)
#26 /var/www/web4316/html/recovery/update/src/DependencyInjection/Container.php(189): Shopware\Components\DependencyInjection\Container->get(‚theme_installer‘)
#27 /var/www/web4316/html/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(118): Shopware\Recovery\Update\DependencyInjection\Container->Shopware\Recovery\Update\DependencyInjection{closure}(Object(Pimple\Container))
#28 /var/www/web4316/html/recovery/common/src/DependencyInjection/Container.php(71): Pimple\Container->offsetGet(‚shopware.theme_…‘)
#29 /var/www/web4316/html/recovery/update/src/app.php(169): Shopware\Recovery\Common\DependencyInjection\Container->get(‚shopware.theme_…‘)
#30 [internal function]: {closure}()
#31 /var/www/web4316/html/recovery/common/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)
#32 /var/www/web4316/html/recovery/common/vendor/slim/slim/Slim/Slim.php(1355): Slim\Route->dispatch()
#33 /var/www/web4316/html/recovery/common/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#34 /var/www/web4316/html/recovery/common/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#35 /var/www/web4316/html/recovery/common/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#36 /var/www/web4316/html/recovery/common/vendor/slim/slim/Slim/Slim.php(1300): Slim\Middleware\PrettyExceptions->call()
#37 /var/www/web4316/html/recovery/update/index.php(57): Slim\Slim->run()
#38 {main}
Ich habe bereits im Forum nach einer Lösung gesucht, jedoch schien bisher keine der vorgeschlagenen zu funktionieren.
Vielleicht hat jemand ein ähnliches Problem mit dem aktuellem Update.
Herzlichen Dank für eure Mithilfe.