Hilfe - täglich Fehler im Shop

Hallo zusammen, ich erhalte alle paar Stunden diese Fehlermeldung. Mein Shop ist dann nicht erreichbar. Ich bitte um Hilfe, da ich am verzweifeln bin… Die Fehlermeldung "Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. No mapping found for field ‘customerGroup’ on class ‘Shopware\Models\Attribute\CustomerGroup’. in vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php on line 153 Stack trace: #0 vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(1120): Doctrine\ORM\Mapping\MappingException::mappingNotFound(‘Shopware\Models…’, ‘customerGroup’) #1 Doctrine/ORM/Persisters/BasicEntityPersister.php(1297): Doctrine\ORM\Mapping\ClassMetadataInfo->getAssociationMapping(‘customerGroup’) #2 Doctrine/ORM/Persisters/BasicEntityPersister.php(1147): Doctrine\ORM\Persisters\BasicEntityPersister->getSelectColumnsSQL() #3 Doctrine/ORM/Persisters/BasicEntityPersister.php(766): Doctrine\ORM\Persisters\BasicEntityPersister->getSelectSQL(Array, NULL, 0, NULL, NULL, NULL) #4 vendor/doctrine/orm/lib/Doctrine/ORM/Proxy/ProxyFactory.php(172): Doctrine\ORM\Persisters\BasicEntityPersister->load(Array, Object(Shopware\Proxies__CG__\Shopware\Models\Customer\Group)) #5 cache/doctrine/proxies/201404291539/__CG__ShopwareModelsCustomerGroup.php(208): Doctrine\ORM\Proxy\ProxyFactory->Doctrine\ORM\Proxy{closure}(Object(Shopware\Proxies__CG__\Shopware\Models\Customer\Group), ‘getKey’, Array) #6 cache/doctrine/proxies/201404291539/__CG__ShopwareModelsCustomerGroup.php(208): Closure->__invoke(Object(Shopware\Proxies__CG__\Shopware\Models\Customer\Group), ‘getKey’, Array) #7 Shopware/Plugins/Default/Core/System/Bootstrap.php(102): Shopware\Proxies__CG__\Shopware\Models\Customer\Group->getKey() #8 Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Core_System_Bootstrap::onInitResourceSystem(Object(Enlight_Event_EventArgs)) #9 Enlight/Event/EventManager.php(252): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Event_EventArgs)) #10 Shopware/Components/DependencyInjection/Container.php(247): Enlight_Event_EventManager->notifyUntil(‘Enlight_Bootstr…’, Array) #11 Shopware/Components/DependencyInjection/Container.php(142): Shopware\Components\DependencyInjection\Container->load(‘system’) #12 Shopware/Bootstrap.php(124): Shopware\Components\DependencyInjection\Container->has(‘System’) #13 Enlight/Application.php(452): Shopware_Bootstrap->hasResource(‘System’) #14 Shopware/Plugins/Default/Core/System/Bootstrap.php(165): Enlight_Application->__call(‘System’, Array) #15 Shopware/Plugins/Default/Core/System/Bootstrap.php(165): Shopware->System() #16 Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Core_System_Bootstrap::onInitResourceModules(Object(Enlight_Event_EventArgs)) #17 Enlight/Event/EventManager.php(252): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Event_EventArgs)) #18 Shopware/Components/DependencyInjection/Container.php(247): Enlight_Event_EventManager->notifyUntil(‘Enlight_Bootstr…’, Array) #19 Shopware/Components/DependencyInjection/Container.php(188): Shopware\Components\DependencyInjection\Container->load(‘modules’) #20 Shopware/Bootstrap.php(149): Shopware\Components\DependencyInjection\Container->get(‘Modules’) #21 Shopware/Application.php(145): Shopware_Bootstrap->getResource(‘Modules’) #22 Shopware/Controllers/Frontend/Index.php(44): Shopware->Modules() #23 Enlight/Controller/Action.php(159): Shopware_Controllers_Frontend_Index->indexAction() #24 Enlight/Controller/Dispatcher/Default.php(528): Enlight_Controller_Action->dispatch(‘indexAction’) #25 Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #26 Shopware/Kernel.php(141): Enlight_Controller_Front->dispatch() #27 vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(473): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #28 Shopware/Components/HttpCache/AppCache.php(256): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #29 vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(430): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #30 vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(330): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #31 Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #32 vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(194): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #33 Shopware/Components/HttpCache/AppCache.php(113): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #34 shopware.php(91): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #35 {main}

Klingt so als wäre bei dem Kunden mit dem du einkaufen möchtest eine Kundengruppe zugewiesen die es nicht mehr gibt - kann das sein? Hast du eine Kundengruppe gelöscht?

Wenn die Fehlerursache vom Vorposter ausgeschlossen werden kann, könnte die Ursache auch an den Foreign Keys liegen. Hier im Wiki gibt es eine Anleitung wie Du es reparieren kannst. Ich hatte die Fehlermeldung auch schon und musste dann nach dem Wiki Artikel die Datenbank reparieren. Zusätzlich waren in den *_attributes Tabellen noch verweiste Einträge die dann entfernt werden mussten. Gruß

2 „Gefällt mir“

Hallo Zusammen, danke für euer schnelle Hilfe. der Fehler tritt dann auf, wenn ich das PayPal Plug in aktiviere. sobald ich es deaktiviere, sind die Fehler weg. Also Kundengruppen habe ich keine gelöscht. Neuinstallation PayPal ? Meint ihr damit lässt sich das lösen? Ich versuche mal die Reparatur mit wiki zu lösen gruss Dominik

Ich glaube aber nicht das PayPal die Ursache ist. Verwendest Du die aktuelle PayPal Version? Gruß