Hallo Community,
habe soeben ein Update auf 5.0.13 durchgeführt und wenn ich mich im Frontend nun in ein Account einlogge und „Mein Konto“ aufrufen möchte, bekomme ich eine Fehlermeldung „Ups! Ein Fehler ist aufgetreten!“. Habe den Cache bereits gelöscht und vorrab die Vorraussetzungen und Plugins auf kompatibilität geprüft.
Auszug aus der Syslog(backend):
exception 'Doctrine\ORM\Mapping\MappingException' with message 'No mapping found for field 'customer' on class 'Shopware\Models\Attribute\Customer'.' in /vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php:163 Stack trace:
#0 /vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(1238): Doctrine\ORM\Mapping\MappingException::mappingNotFound('Shopware\\Models...', 'customer')
#1 /engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(1287): Doctrine\ORM\Mapping\ClassMetadataInfo->getAssociationMapping('customer')
#2 /engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(1100): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getSelectColumnsSQL()
#3 /engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(740): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getSelectSQL(Array, NULL, NULL, NULL, NULL, NULL)
#4 /engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(760): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(Array, NULL)
#5 /vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(462): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(Array)
#6 /engine/Shopware/Core/sAdmin.php(3543): Doctrine\ORM\EntityManager->find('Shopware\\Models...', '35')
#7 /engine/Shopware/Core/sAdmin.php(1465): sAdmin->getUserBillingData('35', Array)
#8 /engine/Shopware/Controllers/Frontend/Account.php(64): sAdmin->sGetUserData()
#9 /engine/Library/Enlight/Controller/Action.php(150): Shopware_Controllers_Frontend_Account->preDispatch()
#10 /engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('indexAction')
#11 /engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#12 /engine/Shopware/Kernel.php(179): Enlight_Controller_Front->dispatch()
#13 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#15 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(444): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#16 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(344): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true)
#17 /engine/Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#18 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(210): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#19 /engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /var/www/vhosts/hosting8590.af94e.netcup.net/httpdocs/shopware.php(117): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#21 {main}
Kunden im Backend anlegen/löschen funktioniert auch nicht bekomme dann ein „503 Service unavailable“
exception 'Doctrine\ORM\ORMException' with message 'The identifier id is missing for a query of Shopware\Models\Customer\Customer' in /vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php:294 Stack trace:
#0 /vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(403): Doctrine\ORM\ORMException::missingIdentifierField('Shopware\\Models...', 'id')
#1 /vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(154): Doctrine\ORM\EntityManager->find('Shopware\\Models...', NULL, NULL, NULL)
#2 /engine/Shopware/Controllers/Backend/Customer.php(648): Doctrine\ORM\EntityRepository->find(NULL)
#3 /engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_Customer->deleteAction()
#4 /engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('deleteAction')
#5 /engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#6 /engine/Shopware/Kernel.php(179): Enlight_Controller_Front->dispatch()
#7 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#8 /engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#9 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#10 /engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#11 /var/www/vhosts/hosting8590.af94e.netcup.net/httpdocs/shopware.php(117): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#12 {main}