# exception 'ReflectionException'

**URL:** https://forum.shopware.com/t/exception-reflectionexception/31323
**Category:** Sonstiges
**Created:** [13. Oktober 2015 um 09:44 UTC](https://forum.shopware.com/t/exception-reflectionexception/31323 "2015-10-13T09:44:27Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![crimsonrider](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@crimsonrider](https://forum.shopware.com/u/crimsonrider)
#### Post date: [13. Oktober 2015 um 09:44 UTC](https://forum.shopware.com/t/exception-reflectionexception/31323/1 "2015-10-13T09:44:27Z")

</div>

Hallo zusammen, ich hab da ein kleines problem und komme nicht mehr weiter, vielleicht könnt ihr mir helfen. 🙂 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

---

<div class="post-metadata">

### Author: ![crimsonrider](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@crimsonrider](https://forum.shopware.com/u/crimsonrider)
#### Post date: [20. Oktober 2015 um 16:28 UTC](https://forum.shopware.com/t/exception-reflectionexception/31323/2 "2015-10-20T16:28:57Z")

</div>

Hat keiner eine idee? :wtf:

---

<div class="post-metadata">

### Author: ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)
#### Post date: [20. Oktober 2015 um 17:37 UTC](https://forum.shopware.com/t/exception-reflectionexception/31323/3 "2015-10-20T17:37:52Z")

</div>

Hallo, du kannst zwei Sachen testen: 1. Foreign Keys reparieren: [http://community.shopware.com/Foreign-K … l\_954.html](http://community.shopware.com/Foreign-Keys-reparieren%5C_detail%5C_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

---

<div class="post-metadata">

### Author: ![crimsonrider](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@crimsonrider](https://forum.shopware.com/u/crimsonrider)
#### Post date: [21. Oktober 2015 um 10:57 UTC](https://forum.shopware.com/t/exception-reflectionexception/31323/4 "2015-10-21T10:57:52Z")

</div>

Hallo, Danke für die Antwort! 🙂 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
