# Blank Space on Frontend and I got some Error in Backend

**URL:** https://forum.shopware.com/t/blank-space-on-frontend-and-i-got-some-error-in-backend/28366
**Category:** Shopware 3.5
**Tags:** general
**Created:** [23. Juni 2015 um 12:22 UTC](https://forum.shopware.com/t/blank-space-on-frontend-and-i-got-some-error-in-backend/28366 "2015-06-23T12:22:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![testusernetwork1](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@testusernetwork1](https://forum.shopware.com/u/testusernetwork1)
#### Post date: [23. Juni 2015 um 12:22 UTC](https://forum.shopware.com/t/blank-space-on-frontend-and-i-got-some-error-in-backend/28366/1 "2015-06-23T12:22:26Z")

</div>

In shopware5,I got the following in error in Log File [2015-06-22 16:37:06] core.ERROR: exception ‚Doctrine\ORM\Mapping\MappingException‘ with message ‚No mapping found for field ‚customerGroup‘ on class ‚Shopware\Models\Attribute\CustomerGroup‘.‘ in /home/foster/www/htdocs/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php:153 Stack trace: #0 /home/foster/www/htdocs/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(1129): Doctrine\ORM\Mapping\MappingException::mappingNotFound(‚Shopware\Models…‘, ‚customerGroup‘) #1 /home/foster/www/htdocs/engine/Library/Doctrine/ORM/Persisters/BasicEntityPersister.php(1297): Doctrine\ORM\Mapping\ClassMetadataInfo-\>getAssociationMapping(‚customerGroup‘) #2 /home/foster/www/htdocs/engine/Library/Doctrine/ORM/Persisters/BasicEntityPersister.php(1147): Doctrine\ORM\Persisters\BasicEntityPersister-\>getSelectColumnsSQL() #3 /home/foster/www/htdocs/engine/Library/Doctrine/ORM/Persisters/BasicEntityPersister.php(766): Doctrine\ORM\Persisters\BasicEntityPersister-\>getSelectSQL(Array, NULL, 0, NULL, NULL, NULL) #4 /home/foster/www/htdocs/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 /home/foster/www/htdocs/cache/production\_201505261453/doctrine/proxies/\_\_CG\_\_ShopwareModelsCustomerGroup.php(208): Doctrine\ORM\Proxy\ProxyFactory-\>Doctrine\ORM\Proxy{closure}(Object(Shopware\Proxies\_\_CG\_\_\Shopware\Models\Customer\Group), ‚getKey‘, Array) #6 /home/foster/www/htdocs/cache/production\_201505261453/doctrine/proxies/\_\_CG\_\_ShopwareModelsCustomerGroup.php(208): Closure-\>\_\_invoke(Object(Shopware\Proxies\_\_CG\_\_\Shopware\Models\Customer\Group), ‚getKey‘, Array) #7 /home/foster/www/htdocs/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php(179): Shopware\Proxies\_\_CG\_\_\Shopware\Models\Customer\Group-\>getKey() #8 /home/foster/www/htdocs/engine/Shopware/Models/Shop/Shop.php(711): Shopware\Bundle\StoreFrontBundle\Service\Core\ContextService-\>initializeShopContext() #9 /home/foster/www/htdocs/engine/Shopware/Plugins/Default/Core/Router/Bootstrap.php(129): Shopware\Models\Shop\Shop-\>registerResources(Object(Shopware\_Proxies\_ShopwareBootstrapProxy)) #10 /home/foster/www/htdocs/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Core\_Router\_Bootstrap-\>onRouteStartup(Object(Enlight\_Controller\_EventArgs)) #11 /home/foster/www/htdocs/engine/Library/Enlight/Event/EventManager.php(211): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Enlight\_Controller\_EventArgs)) #12 /home/foster/www/htdocs/engine/Library/Enlight/Controller/Front.php(162): Enlight\_Event\_EventManager-\>notify(‚Enlight\_Control…‘, Object(Enlight\_Controller\_EventArgs)) #13 /home/foster/www/htdocs/engine/Shopware/Kernel.php(143): Enlight\_Controller\_Front-\>dispatch() #14 /home/foster/www/htdocs/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(490): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /home/foster/www/htdocs/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #16 /home/foster/www/htdocs/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(447): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 /home/foster/www/htdocs/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(347): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>fetch(Object(Symfony\Component\HttpFoundation\Request), true) #18 /home/foster/www/htdocs/engine/Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>lookup(Object(Symfony\Component\HttpFoundation\Request), true) #19 /home/foster/www/htdocs/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(211): Shopware\Components\HttpCache\AppCache-\>lookup(Object(Symfony\Component\HttpFoundation\Request), true) #20 /home/foster/www/htdocs/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /home/foster/www/htdocs/shopware.php(101): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #22 {main} {„uid“:„86b5ecb“} Please help me to find a solution

---

<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: [23. Juni 2015 um 12:55 UTC](https://forum.shopware.com/t/blank-space-on-frontend-and-i-got-some-error-in-backend/28366/2 "2015-06-23T12:55:48Z")

</div>

Hello, in some cases this issue is caused by some missing foreign keys in the database. As first step I would recommend executing our foreign-key repair script. You can find it here: [http://en.wiki.shopware.com/\_detail\_1238.html](http://en.wiki.shopware.com/%5C_detail%5C_1238.html) Moritz

---

<div class="post-metadata">

### Author: ![testusernetwork1](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@testusernetwork1](https://forum.shopware.com/u/testusernetwork1)
#### Post date: [23. Juni 2015 um 15:32 UTC](https://forum.shopware.com/t/blank-space-on-frontend-and-i-got-some-error-in-backend/28366/3 "2015-06-23T15:32:43Z")

</div>

Problem Solved Thousand Thanks :thumbup:
