exception 'ReflectionException'

Hallo zusammen, ich hab da ein kleines problem und komme nicht mehr weiter, vielleicht könnt ihr mir helfen. :slight_smile: Kriege neulich immer ein Fehler vom Shop der lautet: exception 'ReflectionException' with message 'Class Shopware\Models\Attribute\CustomerGroup does not exist' in /shopware/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php:74 Stack trace: #0 /shopware/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php(74): ReflectionClass-\>\_\_construct('Shopware\\Models...') #1 /shopware/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(888): Doctrine\Common\Persistence\Mapping\RuntimeReflectionService-\>getClass('Shopware\\Models...') #2 /shopware/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(537): Doctrine\ORM\Mapping\ClassMetadataInfo-\>wakeupReflection(Object(Doctrine\Common\Persistence\Mapping\RuntimeReflectionService)) #3 /shopware/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(209): Doctrine\ORM\Mapping\ClassMetadataFactory-\>wakeupReflection(Object(Doctrine\ORM\Mapping\ClassMetadata), Object(Doctrine\Common\Persistence\Mapping\RuntimeReflectionService)) #4 /shopware/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(295): Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory-\>getMetadataFor('Shopware\\Models...') #5 /shopware/engine/Library/Doctrine/ORM/Persisters/BasicEntityPersister.php(1269): Doctrine\ORM\EntityManager-\>getClassMetadata('Shopware\\Models...') #6 /shopware/engine/Library/Doctrine/ORM/Persisters/BasicEntityPersister.php(1147): Doctrine\ORM\Persisters\BasicEntityPersister-\>getSelectColumnsSQL() #7 /shopware/engine/Library/Doctrine/ORM/Persisters/BasicEntityPersister.php(766): Doctrine\ORM\Persisters\BasicEntityPersister-\>getSelectSQL(Array, NULL, 0, NULL, NULL, NULL) #8 /shopware/vendor/doctrine/orm/lib/Doctrine/ORM/Proxy/ProxyFactory.php(172): Doctrine\ORM\Persisters\BasicEntityPersister-\>load(Array, Object(Shopware\Proxies\_\_CG\_\_\Shopware\Models\Customer\Group)) #9 /shopware/cache/production\_201509160944/doctrine/proxies/\_\_CG\_\_ShopwareModelsCustomerGroup.php(208): Doctrine\ORM\Proxy\ProxyFactory-\>Doctrine\ORM\Proxy\{closure}(Object(Shopware\Proxies\_\_CG\_\_\Shopware\Models\Customer\Group), 'getKey', Array) #10 /shopware/cache/production\_201509160944/doctrine/proxies/\_\_CG\_\_ShopwareModelsCustomerGroup.php(208): Closure-\>\_\_invoke(Object(Shopware\Proxies\_\_CG\_\_\Shopware\Models\Customer\Group), 'getKey', Array) #11 /shopware/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php(179): Shopware\Proxies\_\_CG\_\_\Shopware\Models\Customer\Group-\>getKey() #12 /shopware/engine/Shopware/Models/Shop/Shop.php(711): Shopware\Bundle\StoreFrontBundle\Service\Core\ContextService-\>initializeShopContext() #13 /shopware/engine/Shopware/Plugins/Default/Core/Router/Bootstrap.php(129): Shopware\Models\Shop\Shop-\>registerResources(Object(Shopware\_Proxies\_ShopwareBootstrapProxy)) #14 /shopware/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Core\_Router\_Bootstrap-\>onRouteStartup(Object(Enlight\_Controller\_EventArgs)) #15 /shopware/engine/Library/Enlight/Event/EventManager.php(211): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Enlight\_Controller\_EventArgs)) #16 /shopware/engine/Library/Enlight/Controller/Front.php(162): Enlight\_Event\_EventManager-\>notify('Enlight\_Control...', Object(Enlight\_Controller\_EventArgs)) #17 /shopware/engine/Shopware/Kernel.php(143): Enlight\_Controller\_Front-\>dispatch() #18 /shopware/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(490): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /shopware/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #20 /shopware/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(447): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #21 /shopware/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(347): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>fetch(Object(Symfony\Component\HttpFoundation\Request), true) #22 /shopware/engine/Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>lookup(Object(Symfony\Component\HttpFoundation\Request), true) #23 /shopware/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(211): Shopware\Components\HttpCache\AppCache-\>lookup(Object(Symfony\Component\HttpFoundation\Request), true) #24 /shopware/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #25 /shopware/shopware.php(101): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #26 {main} Hab schon innerhalb 1-2 Stunden 60 Mails mit dieser Meldung bekommen… Wisst ihr worum es hier geht? Gruß crimsonrider

Hat keiner eine idee? :wtf:

Hallo, du kannst zwei Sachen testen: 1. Foreign Keys reparieren: http://community.shopware.com/Foreign-K … l_954.html 2. Plugins deaktivieren. Am schnellsten über diese beiden Querries: UPDATE s_core_plugins SET active= 0 WHERE source = ‚Community‘ UPDATE s_core_plugins SET active= 0 WHERE source = ‚Local‘ Dann hast du alle Plugins bis auf die Standardplugins deaktiviert. Im Anschluss beidesmal den Cache-Ordner /cache/production…/ umbenennen, damit er neu erzeugt wird. Moritz

Hallo, Danke für die Antwort! :slight_smile: Ich teste das mal und dann sag ich bescheid wie es gelaufen ist. Hätte da aber gleich noch eine Frage, habe nämlich letztens paar Plugins selber geschrieben und falls es an denen liegt(sollte aber nicht da der Fehler schon mal vor den Plugins da war)? Wie kann ich dann da vorgehen? Gruß Crimsonrider