Fehlermeldung bei Update 5.5.8 auf 5.6.0

Folgender Fehler tritt kurz vor Ende der Updateroutine nach dem DB-Updateschritt auf (Update wurde manuell getätigt) - im Schritt 4 beim Aufräumen der Dateien - und leider hab ich mit Googeln etc. keine Lösung gefunden:

Slim Application Error

The application could not run because of the following error:

Details

Type: ErrorException

Code: 8

Message: Trying to access array offset on value of type null

File: /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php

Line: 1002

Trace

#0 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(1002): Slim\Slim::handleErrors(8, ‚Trying to acces…‘, ‚/is/htdocs/wp10…‘, 1002, Array)

#1 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(687): Doctrine\Common\Annotations\DocParser->Identifier()

#2 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(663): Doctrine\Common\Annotations\DocParser->Annotation()

#3 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(354): Doctrine\Common\Annotations\DocParser->Annotations()

#4 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(518): Doctrine\Common\Annotations\DocParser->parse(’/**\n * @Annotat…’, ‚class @Shopware…‘)

#5 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(751): Doctrine\Common\Annotations\DocParser->collectAnnotationMetadata(‚Shopware\Compon…‘)

#6 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(663): Doctrine\Common\Annotations\DocParser->Annotation()

#7 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(354): Doctrine\Common\Annotations\DocParser->Annotations()

#8 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php(254): Doctrine\Common\Annotations\DocParser->parse(’/**\n * @var…’, ‚property Shopwa…‘)

#9 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php(113): Doctrine\Common\Annotations\AnnotationReader->getPropertyAnnotations(Object(ReflectionProperty))

#10 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php(125): Doctrine\Common\Annotations\CachedReader->getPropertyAnnotations(Object(ReflectionProperty))

#11 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php(292): Doctrine\Common\Annotations\CachedReader->getPropertyAnnotation(Object(ReflectionProperty), ‚Doctrine\ORM\Ma…‘)

#12 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(151): Doctrine\ORM\Mapping\Driver\AnnotationDriver->loadMetadataForClass(‚Shopware\Models…‘, Object(Doctrine\ORM\Mapping\ClassMetadata))

#13 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(304): Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata(Object(Doctrine\ORM\Mapping\ClassMetadata), NULL, false, Array)

#14 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(78): Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata(‚Shopware\Models…‘)

#15 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(183): Doctrine\ORM\Mapping\ClassMetadataFactory->loadMetadata(‚Shopware\Models…‘)

#16 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(89): Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor(‚Shopware\Models…‘)

#17 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/engine/Shopware/Components/Model/ModelManager.php(206): Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getAllMetadata()

#18 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/engine/Shopware/Components/Model/ModelManager.php(190): Shopware\Components\Model\ModelManager->regenerateAttributeProxies(Array)

#19 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/engine/Shopware/Components/DependencyInjection/Bridge/Models.php(86): Shopware\Components\Model\ModelManager->generateAttributeModels()

#20 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/engine/Shopware/Components/DependencyInjection/Bridge/Models.php(74): Shopware\Components\DependencyInjection\Bridge\Models->generateAttributeModels(Object(Shopware\Components\Model\ModelManager))

#21 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/var/cache/production_201908091314/proxies/ShopwareProduction9e05cf2b33234a677fea31a73db841302e0eaf0fProjectContainer.php(2281): Shopware\Components\DependencyInjection\Bridge\Models->factory(Object(Doctrine\Common\EventManager), Object(Shopware\Components\Model\Configuration), Object(Enlight_Loader), Object(Doctrine\DBAL\Connection), Object(Doctrine\ORM\Mapping\Driver\AnnotationDriver), Object(Shopware\Components\Model\QueryOperatorValidator))

#22 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/vendor/symfony/dependency-injection/Container.php(306): ShopwareProduction9e05cf2b33234a677fea31a73db841302e0eaf0fProjectContainer->getModelsService()

#23 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/engine/Shopware/Components/DependencyInjection/Container.php(218): Symfony\Component\DependencyInjection\Container->get(‚models‘, 1)

#24 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/engine/Shopware/Components/DependencyInjection/Container.php(140): Shopware\Components\DependencyInjection\Container->doLoad(‚models‘, ‚models‘, 1)

#25 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/recovery/update/src/DependencyInjection/Container.php(180): Shopware\Components\DependencyInjection\Container->get(‚models‘)

#26 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(118): Shopware\Recovery\Update\DependencyInjection\Container->Shopware\Recovery\Update\DependencyInjection{closure}(Object(Pimple\Container))

#27 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/recovery/update/src/DependencyInjection/Container.php(186): Pimple\Container->offsetGet(‚shopware.contai…‘)

#28 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(118): Shopware\Recovery\Update\DependencyInjection\Container->Shopware\Recovery\Update\DependencyInjection{closure}(Object(Pimple\Container))

#29 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/recovery/common/src/DependencyInjection/Container.php(71): Pimple\Container->offsetGet(‚shopware.theme_…‘)

#30 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/recovery/update/src/app.php(169): Shopware\Recovery\Common\DependencyInjection\Container->get(‚shopware.theme_…‘)

#31 [internal function]: {closure}()

#32 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/recovery/common/vendor/slim/slim/Slim/Route.php(468): call_user_func_array(Object(Closure), Array)

#33 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/recovery/common/vendor/slim/slim/Slim/Slim.php(1355): Slim\Route->dispatch()

#34 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/recovery/common/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()

#35 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/recovery/common/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()

#36 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/recovery/common/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()

#37 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/recovery/common/vendor/slim/slim/Slim/Slim.php(1300): Slim\Middleware\PrettyExceptions->call()

#38 /is/htdocs/wp1044231_RHG794OP45/www/test/shopware/recovery/update/index.php(57): Slim\Slim->run()

#39 {main}

Hat von euch jemand eine Idee oder einen Lösungsansatz?

Hei @RockyMountain,

ich bin gerade durch Zufall auf einen ähnlichen Fehler gestoßen.
Welche PHP Version nutzt du aktuell?
Ich hatte für das Update via Console PHP Version 7.4 genutzt, sobald ich auf 7.3 geswitched hatte lief alles problemlos durch.

Liebe Grüße

Guten Morgen,
wir sind vom Hoster hosteurope aufgerufen worden, upzudaten, da seit gestern php 7.3 abgestellt wurde und unsere 5.5.8 mit php 7.4 nicht mehr lief.
Ich möchte auf 5.7.4 updaten (Schnittstelle kann 5.7.6 noch nicht). Das gestrige Update war der erste Schritt auf dem Weg (wie von Shopware empfohlen).

Ich hab die zip-Updatedatei hochgeladen und per php-Script entpackt.

Vlt. macht es Sinn, gleich das nächste Update zu 5.6.5 drüberzuspielen??? Was meint ihr?

Paralell hab ich eine 5.7.6 installiert. Die ist lauffähig. Aber ich erfuhr nun, dass die Schnittstelle nur mit 5.7.4 getestet ist. Kann ich eine 5.7.6 zu 5.7.4 downgraden mit einer manuellen Installation?

Ich habe nun zuerst 5.6.6 geupdatet mit dem ERfolg, dass im BE der Cache mit 500er Meldung kam, im FE alles weiß blieb. Dann spielte ich die 5.7.4 drüber. Das FE funktioniert, Bestellungen laufen. Aber der Cache bringt immer noch die 500er Meldung. Ich öffne dazu einen extra Thread.