No identifier/primary key specified for Entity "Shopware\Models\Attribute\Category"

Hi zusammen,

derzeit ist unser Shop nicht nutzbar und folgende Fehlermeldung erscheint, wenn man z.B. im Backend auf “Kategorien” geht. Alle Kategorien sind im Frontend nicht erreichtbar.

Weiß da jemand Rat?

Doctrine\ORM\Mapping\MappingException: No identifier/primary key specified for Entity "Shopware\Models\Attribute\Category" sub class of "Shopware\Components\Model\ModelEntity". Every Entity must have an identifier/primary key. in /var/www/clients/client1749/web3690/web/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php:46
Stack trace:
#0 /var/www/clients/client1749/web3690/web/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(1009): Doctrine\ORM\Mapping\MappingException::identifierRequired('Shopware\\Models...')
#1 /var/www/clients/client1749/web3690/web/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(271): Doctrine\ORM\Mapping\ClassMetadataInfo->validateIdentifier()
#2 /var/www/clients/client1749/web3690/web/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(251): Doctrine\ORM\Mapping\ClassMetadataFactory->validateRuntimeMetadata(Object(Doctrine\ORM\Mapping\ClassMetadata), NULL)
#3 /var/www/clients/client1749/web3690/web/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(332): Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata(Object(Doctrine\ORM\Mapping\ClassMetadata), NULL, false, Array)
#4 /var/www/clients/client1749/web3690/web/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(78): Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata('Shopware\\Models...')
#5 /var/www/clients/client1749/web3690/web/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(216): Doctrine\ORM\Mapping\ClassMetadataFactory->loadMetadata('Shopware\\Models...')
#6 /var/www/clients/client1749/web3690/web/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(281): Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor('Shopware\\Models...')
#7 /var/www/clients/client1749/web3690/web/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(1255): Doctrine\ORM\EntityManager->getClassMetadata('Shopware\\Models...')
#8 /var/www/clients/client1749/web3690/web/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(1100): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getSelectColumnsSQL()
#9 /var/www/clients/client1749/web3690/web/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(740): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getSelectSQL(Array, NULL, NULL, NULL, NULL, NULL)
#10 /var/www/clients/client1749/web3690/web/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(760): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(Array, NULL)
#11 /var/www/clients/client1749/web3690/web/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(462): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(Array)
#12 /var/www/clients/client1749/web3690/web/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(154): Doctrine\ORM\EntityManager->find('Shopware\\Models...', Array, NULL, NULL)
#13 /var/www/clients/client1749/web3690/web/engine/Shopware/Models/Category/Repository.php(66): Doctrine\ORM\EntityRepository->find('83')
#14 /var/www/clients/client1749/web3690/web/engine/Shopware/Controllers/Frontend/Listing.php(383): Shopware\Models\Category\Repository->getPathById('83')
#15 /var/www/clients/client1749/web3690/web/engine/Shopware/Controllers/Frontend/Listing.php(593): Shopware_Controllers_Frontend_Listing->isValidCategoryPath('83')
#16 /var/www/clients/client1749/web3690/web/engine/Shopware/Controllers/Frontend/Listing.php(51): Shopware_Controllers_Frontend_Listing->loadCategoryContent('83')
#17 /var/www/clients/client1749/web3690/web/engine/Library/Enlight/Controller/Action.php(193): Shopware_Controllers_Frontend_Listing->indexAction()
#18 /var/www/clients/client1749/web3690/web/engine/Library/Enlight/Controller/Dispatcher/Default.php(549): Enlight_Controller_Action->dispatch('indexAction')
#19 /var/www/clients/client1749/web3690/web/engine/Library/Enlight/Controller/Front.php(222): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#20 /var/www/clients/client1749/web3690/web/engine/Shopware/Kernel.php(215): Enlight_Controller_Front->dispatch()
#21 /var/www/clients/client1749/web3690/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(486): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /var/www/clients/client1749/web3690/web/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#23 /var/www/clients/client1749/web3690/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(443): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#24 /var/www/clients/client1749/web3690/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(339): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true)
#25 /var/www/clients/client1749/web3690/web/engine/Shopware/Components/HttpCache/AppCache.php(189): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#26 /var/www/clients/client1749/web3690/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(205): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#27 /var/www/clients/client1749/web3690/web/engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#28 /var/www/clients/client1749/web3690/web/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#29 {main}

 

Die Foreign Keys haben wir bereits repariert (https://community.shopware.com/Foreign-Keys-reparieren_detail_954.html) leider ohne Erfolg.