# Probleme bei Update von 4.3 auf 5.1 in Testumgebung

**URL:** <https://forum.shopware.com/t/probleme-bei-update-von-4-3-auf-5-1-in-testumgebung/32395>\
**Category:** Installation/Einstieg\
**Created:** [20. November 2015 um 09:38 UTC](https://forum.shopware.com/t/probleme-bei-update-von-4-3-auf-5-1-in-testumgebung/32395 "2015-11-20T09:38:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![1imOrt](https://avatars.discourse-cdn.com/v4/letter/1/58956e/32.png) [@1imOrt](https://forum.shopware.com/u/1imOrt)\
**Post date:** [20. November 2015 um 09:38 UTC](https://forum.shopware.com/t/probleme-bei-update-von-4-3-auf-5-1-in-testumgebung/32395/1 "2015-11-20T09:38:01Z")

</div>

Hallo zusammen, wir haben eine gespiegelte Testversion eines Shops (läuft unter der Subdomain [testupdate.normale-shopdomain.de](http://testupdate.normale-shopdomain.de)), um das Update auf 5.1 zu testen. Version 4.3 lief dort auch ganz normal. Jetzt haben wir 5.1 eingespielt und im Backend werden immer Fehler geworfen: [code]

## Ups! Ein Fehler ist aufgetreten!

Die nachfolgenden Hinweise sollten Ihnen weiterhelfen.

### No mapping found for field ‚payment‘ on class ‚Shopware\Models\Attribute\Payment‘. in vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php on line 163

### Stack trace:

```
#0 vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(1238): Doctrine\ORM\Mapping\MappingException::mappingNotFound('Shopware\\Models...', 'payment') #1 Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(1287): Doctrine\ORM\Mapping\ClassMetadataInfo-\>getAssociationMapping('payment') #2 Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(1100): Doctrine\ORM\Persisters\Entity\BasicEntityPersister-\>getSelectColumnsSQL() #3 Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(1835): Doctrine\ORM\Persisters\Entity\BasicEntityPersister-\>getSelectSQL(Array, Array, NULL, NULL, NULL) #4 Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(1777): Doctrine\ORM\Persisters\Entity\BasicEntityPersister-\>getOneToManyStatement(Array, Object(Shopware\Models\Plugin\Plugin)) #5 vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(2823): Doctrine\ORM\Persisters\Entity\BasicEntityPersister-\>loadOneToManyCollection(Array, Object(Shopware\Models\Plugin\Plugin), Object(Doctrine\ORM\PersistentCollection)) #6 vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php(697): Doctrine\ORM\UnitOfWork-\>loadCollection(Object(Doctrine\ORM\PersistentCollection)) #7 vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php(214): Doctrine\ORM\PersistentCollection-\>doInitialize() #8 vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php(274): Doctrine\ORM\PersistentCollection-\>initialize() #9 vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(2268): Doctrine\Common\Collections\AbstractLazyCollection-\>getIterator() #10 vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1745): Doctrine\ORM\UnitOfWork-\>cascadeRemove(Object(Shopware\Models\Plugin\Plugin), Array) #11 vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1716): Doctrine\ORM\UnitOfWork-\>doRemove(Object(Shopware\Models\Plugin\Plugin), Array) #12 vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(602): Doctrine\ORM\UnitOfWork-\>remove(Object(Shopware\Models\Plugin\Plugin)) #13 Shopware/Bundle/PluginInstallerBundle/Service/InstallerService.php(398): Doctrine\ORM\EntityManager-\>remove(Object(Shopware\Models\Plugin\Plugin)) #14 Shopware/Plugins/Default/Backend/PluginManager/Controllers/Backend/PluginManager.php(58): Shopware\Bundle\PluginInstallerBundle\Service\InstallerService-\>refreshPluginList() #15 Enlight/Controller/Action.php(149): Shopware\_Controllers\_Backend\_PluginManager-\>preDispatch() #16 Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch('indexAction') #17 Enlight/Controller/Front.php(227): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #18 Shopware/Kernel.php(148): Enlight\_Controller\_Front-\>dispatch() #19 vendor/symfony/http-kernel/HttpCache/HttpCache.php(492): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #21 vendor/symfony/http-kernel/HttpCache/HttpCache.php(263): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #22 Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #23 shopware.php(101): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #24 {main}

```

&nbsp;  
[/code] Auch wenn irgendwas im Backen aufgerufen wird, tauchen fehler auf und bspw. unter Zahlungsarten, VErsandkosten etc. sind gar keine Einträge zu sehen. So sieht der Fehler aus: ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/c/c01e06f130eba12f311435f1bb1eda31b016af7b.jpeg) Hat jemand eine Idee, woran das liegt? Danke und Gruß, Alex

---

<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. November 2015 um 18:24 UTC](https://forum.shopware.com/t/probleme-bei-update-von-4-3-auf-5-1-in-testumgebung/32395/2 "2015-11-23T18:24:07Z")

</div>

Hallo, klingt erstmal nach einem Foreign-Key Problem. Hast du die schon einmal repariert? [http://community.shopware.com/Foreign-K … l\_954.html](http://community.shopware.com/Foreign-Keys-reparieren%5C_detail%5C_954.html) Moritz
