# Update von 5.5.10 auf 5.6.1 - No mapping found for field ´shop´ - Hilfe

**URL:** <https://forum.shopware.com/t/update-von-5-5-10-auf-5-6-1-no-mapping-found-for-field-shop-hilfe/61860>\
**Category:** Installation/Einstieg\
**Created:** [19. September 2019 um 12:41 UTC](https://forum.shopware.com/t/update-von-5-5-10-auf-5-6-1-no-mapping-found-for-field-shop-hilfe/61860 "2019-09-19T12:41:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![memaddalena](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@memaddalena](https://forum.shopware.com/u/memaddalena)\
**Post date:** [19. September 2019 um 12:41 UTC](https://forum.shopware.com/t/update-von-5-5-10-auf-5-6-1-no-mapping-found-for-field-shop-hilfe/61860/1 "2019-09-19T12:41:22Z")

</div>

&nbsp;

Hallo zusammen,

ich versuche auf die aktuelle Version von Shopware 5 upzudaten… aber am Schluss scheitert es immer wieder an dieser Fehlermeldung:

&nbsp;

> Slim Application Error
> 
> Details
> 
> **Type:** Doctrine\ORM\Mapping\MappingException
> 
> **Message:** No mapping found for field ‚shop‘ on class ‚Shopware\Models\Attribute\Shop‘.
> 
> **File:** /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php
> 
> **Line:** 163
> 
> Trace
> 
> &nbsp;
> 
> #0 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(1256): Doctrine\ORM\Mapping\MappingException::mappingNotFound(‚Shopware\Models…‘, ‚shop‘)
> 
> #1 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(446): Doctrine\ORM\Mapping\ClassMetadataInfo-\>getAssociationMapping(‚shop‘)
> 
> #2 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(2708): Doctrine\ORM\Persisters\Entity\BasicEntityPersister-\>loadOneToOneEntity(Array, Object(Shopware\Models\Shop\Shop))
> 
> #3 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(271): Doctrine\ORM\UnitOfWork-\>createEntity(‚Shopware\Models…‘, Array, Array)
> 
> #4 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(492): Doctrine\ORM\Internal\Hydration\ObjectHydrator-\>getEntity(Array, ‚shop‘)
> 
> #5 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(162): Doctrine\ORM\Internal\Hydration\ObjectHydrator-\>hydrateRowData(Array, Array)
> 
> #6 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(152): Doctrine\ORM\Internal\Hydration\ObjectHydrator-\>hydrateAllData()
> 
> #7 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(976): Doctrine\ORM\Internal\Hydration\AbstractHydrator-\>hydrateAll(Object(PDOStatement), Object(Doctrine\ORM\Query\ResultSetMapping), Array)
> 
> #8 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(922): Doctrine\ORM\AbstractQuery-\>executeIgnoreQueryCache(NULL, NULL)
> 
> #9 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(765): Doctrine\ORM\AbstractQuery-\>execute(NULL, NULL)
> 
> #10 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/engine/Shopware/Models/Shop/Repository.php(296): Doctrine\ORM\AbstractQuery-\>getOneOrNullResult()
> 
> #11 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/engine/Shopware/Bundle/MediaBundle/MediaService.php(302): Shopware\Models\Shop\Repository-\>getActiveDefault()
> 
> #12 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/engine/Shopware/Bundle/MediaBundle/MediaService.php(74): Shopware\Bundle\MediaBundle\MediaService-\>createFallbackMediaUrl()
> 
> #13 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/engine/Shopware/Bundle/MediaBundle/MediaServiceFactory.php(83): Shopware\Bundle\MediaBundle\MediaService-\>\_\_construct(Object(League\Flysystem\Filesystem), Object(Shopware\Bundle\MediaBundle\Strategy\Md5Strategy), Object(ShopwareProductioneaaeb247efc16a467dba3edf3216a8c5656c4674ProjectContainer), Array)
> 
> #14 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/var/cache/production\_201908270823/proxies/ShopwareProductioneaaeb247efc16a467dba3edf3216a8c5656c4674ProjectContainer.php(4175): Shopware\Bundle\MediaBundle\MediaServiceFactory-\>factory(‚local‘)
> 
> #15 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/vendor/symfony/dependency-injection/Container.php(306): ShopwareProductioneaaeb247efc16a467dba3edf3216a8c5656c4674ProjectContainer-\>getShopwareMedia\_MediaServiceService()
> 
> #16 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/engine/Shopware/Components/DependencyInjection/Container.php(218): Symfony\Component\DependencyInjection\Container-\>get(‚shopware\_media…‘, 1)
> 
> #17 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/engine/Shopware/Components/DependencyInjection/Container.php(140): Shopware\Components\DependencyInjection\Container-\>doLoad(‚shopware\_media…‘, ‚shopware\_media…‘, 1)
> 
> #18 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/var/cache/production\_201908270823/proxies/ShopwareProductioneaaeb247efc16a467dba3edf3216a8c5656c4674ProjectContainer.php(5373): Shopware\Components\DependencyInjection\Container-\>get(‚shopware\_media…‘)
> 
> #19 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/vendor/symfony/dependency-injection/Container.php(306): ShopwareProductioneaaeb247efc16a467dba3edf3216a8c5656c4674ProjectContainer-\>getThemeServiceService()
> 
> #20 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/engine/Shopware/Components/DependencyInjection/Container.php(218): Symfony\Component\DependencyInjection\Container-\>get(‚theme\_service‘, 1)
> 
> #21 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/engine/Shopware/Components/DependencyInjection/Container.php(140): Shopware\Components\DependencyInjection\Container-\>doLoad(‚theme\_service‘, ‚theme\_service‘, 1)
> 
> #22 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/var/cache/production\_201908270823/proxies/ShopwareProductioneaaeb247efc16a467dba3edf3216a8c5656c4674ProjectContainer.php(5365): Shopware\Components\DependencyInjection\Container-\>get(‚theme\_service‘)
> 
> #23 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/vendor/symfony/dependency-injection/Container.php(306): ShopwareProductioneaaeb247efc16a467dba3edf3216a8c5656c4674ProjectContainer-\>getThemeInstallerService()
> 
> #24 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/engine/Shopware/Components/DependencyInjection/Container.php(218): Symfony\Component\DependencyInjection\Container-\>get(‚theme\_installer‘, 1)
> 
> #25 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/engine/Shopware/Components/DependencyInjection/Container.php(140): Shopware\Components\DependencyInjection\Container-\>doLoad(‚theme\_installer‘, ‚theme\_installer‘, 1)
> 
> #26 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/recovery/update/src/DependencyInjection/Container.php(189): Shopware\Components\DependencyInjection\Container-\>get(‚theme\_installer‘)
> 
> #27 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(118): Shopware\Recovery\Update\DependencyInjection\Container-\>Shopware\Recovery\Update\DependencyInjection{closure}(Object(Pimple\Container))
> 
> #28 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/recovery/common/src/DependencyInjection/Container.php(71): Pimple\Container-\>offsetGet(‚shopware.theme\_…‘)
> 
> #29 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/recovery/update/src/app.php(169): Shopware\Recovery\Common\DependencyInjection\Container-\>get(‚shopware.theme\_…‘)
> 
> #30 [internal function]: {closure}()
> 
> #31 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/recovery/common/vendor/slim/slim/Slim/Route.php(468): call\_user\_func\_array(Object(Closure), Array)
> 
> #32 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/recovery/common/vendor/slim/slim/Slim/Slim.php(1355): Slim\Route-\>dispatch()
> 
> #33 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/recovery/common/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim-\>call()
> 
> #34 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/recovery/common/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash-\>call()
> 
> #35 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/recovery/common/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride-\>call()
> 
> #36 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/recovery/common/vendor/slim/slim/Slim/Slim.php(1300): Slim\Middleware\PrettyExceptions-\>call()
> 
> #37 /var/www/vhosts/h46066.server18.configcenter.info/httpdocs/shop/recovery/update/index.php(57): Slim\Slim-\>run()
> 
> #38 {main}

&nbsp;

Ich hab schon das mit diesen „repairForeignKeys“ probiert und es tut sich nicht.

&nbsp;

Ich hab auch schon versucht den Ordner „production\_…“ unter var/cache manuell zu löschen, aber ebenfalls keine Chance.

&nbsp;

Weiß jemand wie man mit diesen Fehler umgeht?

&nbsp;

Lg

&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![10083349](https://avatars.discourse-cdn.com/v4/letter/1/bc79bd/32.png) [@10083349](https://forum.shopware.com/u/10083349)\
**Post date:** [22. Februar 2020 um 21:08 UTC](https://forum.shopware.com/t/update-von-5-5-10-auf-5-6-1-no-mapping-found-for-field-shop-hilfe/61860/2 "2020-02-22T21:08:28Z")

</div>

Hallo Memaddalena,

ich habe gerade versucht, ein Update zu machen und habe exakt die gleiche Fehlermeldung erhalten.

Hast Du das Problem lösen können und weißt Du noch, wie?

LG

Mike

---

<div class="post-metadata">

**Author:** ![FloppyDisk](https://avatars.discourse-cdn.com/v4/letter/f/848f3c/32.png) [@FloppyDisk](https://forum.shopware.com/u/FloppyDisk)\
**Post date:** [7. Mai 2020 um 14:09 UTC](https://forum.shopware.com/t/update-von-5-5-10-auf-5-6-1-no-mapping-found-for-field-shop-hilfe/61860/3 "2020-05-07T14:09:23Z")

</div>

Hallo,&nbsp;

nach einem Serverumzug bekomme ich auch diese Fehlermeldung. Gibt es da schon eine Lösung?&nbsp;

Danke und LG

---

<div class="post-metadata">

**Author:** ![RockyMountain](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@RockyMountain](https://forum.shopware.com/u/RockyMountain)\
**Post date:** [15. November 2023 um 10:07 UTC](https://forum.shopware.com/t/update-von-5-5-10-auf-5-6-1-no-mapping-found-for-field-shop-hilfe/61860/4 "2023-11-15T10:07:29Z")

</div>

Hallo,  
ich habe auch die gleiche Fehlermeldung nach einem Serverumzug. weiß niemand Rat?

kann es an php-extensions liegen? Der Shop läuft auf dem bisherigen Server wunderbar. Nur ist ein umzug notwendig. Dort möchte ich ihn lauffähig machen und dann die Domain umziehen.

---

<div class="post-metadata">

**Author:** ![memagdalena](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@memagdalena](https://forum.shopware.com/u/memagdalena)\
**Post date:** [15. November 2023 um 11:01 UTC](https://forum.shopware.com/t/update-von-5-5-10-auf-5-6-1-no-mapping-found-for-field-shop-hilfe/61860/5 "2023-11-15T11:01:23Z")

</div>

Leider weiß ich nicht mehr wie ich das genau gelöst habe - ich habe sehr viel rumprobiert und letztendlich einige Vergleiche gemacht zwischen den einen „kaputten“ Shopware-Shop und anderen Shops, wo die Aktualisierung erfolgreich funktionierte.

Wenn mich nicht alles täuscht gabe es Veränderungen in der Datenbank - aber ich bin mir leider nicht mehr sicher.
