# Shop bricht ab, Fehlermeldung bei Klick auf Kasse

**URL:** <https://forum.shopware.com/t/shop-bricht-ab-fehlermeldung-bei-klick-auf-kasse/38982>\
**Category:** Administration\
**Created:** [11. August 2016 um 11:47 UTC](https://forum.shopware.com/t/shop-bricht-ab-fehlermeldung-bei-klick-auf-kasse/38982 "2016-08-11T11:47:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![zawotec](https://avatars.discourse-cdn.com/v4/letter/z/3be4f8/32.png) [@zawotec](https://forum.shopware.com/u/zawotec)\
**Post date:** [11. August 2016 um 11:47 UTC](https://forum.shopware.com/t/shop-bricht-ab-fehlermeldung-bei-klick-auf-kasse/38982/1 "2016-08-11T11:47:44Z")

</div>

Hallo!

Nach meinem Update auf 5.2.3 kann keine Bestellung generiert werden!!! Der Kunde kann Artikel in den Warenkorb legen, jedoch beim Klick auf „Zur Kasse“ erscheint eine Fehlermeldung „UPS - es ist ein Fehler …“

In der letzten Log-Datei erscheint in einer Zeile folgendes:

[2016-08-11 07:59:50] core.ERROR: exception ‚PDOException‘ with message ‚SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‚1187-1180‘ for key ‚articleID‘‘ in /var/www/vhosts/zawo-tec-shop.de/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:987 Stack trace: #0 /var/www/vhosts/zawo-tec-shop.de/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(987): PDOStatement-\>execute() #1 /var/www/vhosts/zawo-tec-shop.de/httpdocs/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Collection/ManyToManyPersister.php(81): Doctrine\DBAL\Connection-\>executeUpdate(‚INSERT INTO s\_a…‘, Array, Array) #2 /var/www/vhosts/zawo-tec-shop.de/httpdocs/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(400): Doctrine\ORM\Persisters\Collection\ManyToManyPersister-\>update(Object(Doctrine\ORM\PersistentCollection)) #3 /var/www/vhosts/zawo-tec-shop.de/httpdocs/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(356): Doctrine\ORM\UnitOfWork-\>commit(NULL) #4 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Shopware/Controllers/Backend/Article.php(1395): Doctrine\ORM\EntityManager-\>flush() #5 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Shopware/Controllers/Backend/Article.php(326): Shopware\_Controllers\_Backend\_Article-\>saveArticle(Array, Object(Shopware\Models\Article\Article)) #6 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Library/Enlight/Controller/Action.php(159): Shopware\_Controllers\_Backend\_Article-\>saveAction() #7 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch(‚saveAction‘) #8 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Library/Enlight/Controller/Front.php(226): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #9 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Shopware/Kernel.php(176): Enlight\_Controller\_Front-\>dispatch() #10 /var/www/vhosts/zawo-tec-shop.de/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #11 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #12 /var/www/vhosts/zawo-tec-shop.de/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #13 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #14 /var/www/vhosts/zawo-tec-shop.de/httpdocs/shopware.php(101): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #15 {main}&nbsp; Next exception ‚Doctrine\DBAL\DBALException‘ with message ‚An exception occurred while executing ‚INSERT INTO s\_articles\_relationships (articleID, relatedarticle) VALUES (?, ?)‘ with params [1187, 1180]:&nbsp; SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‚1187-1180‘ for key ‚articleID‘‘ in /var/www/vhosts/zawo-tec-shop.de/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:119 Stack trace: #0 /var/www/vhosts/zawo-tec-shop.de/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(996): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(PDOException), ‚INSERT INTO s\_a…‘, Array) #1 /var/www/vhosts/zawo-tec-shop.de/httpdocs/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Collection/ManyToManyPersister.php(81): Doctrine\DBAL\Connection-\>executeUpdate(‚INSERT INTO s\_a…‘, Array, Array) #2 /var/www/vhosts/zawo-tec-shop.de/httpdocs/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(400): Doctrine\ORM\Persisters\Collection\ManyToManyPersister-\>update(Object(Doctrine\ORM\PersistentCollection)) #3 /var/www/vhosts/zawo-tec-shop.de/httpdocs/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(356): Doctrine\ORM\UnitOfWork-\>commit(NULL) #4 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Shopware/Controllers/Backend/Article.php(1395): Doctrine\ORM\EntityManager-\>flush() #5 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Shopware/Controllers/Backend/Article.php(326): Shopware\_Controllers\_Backend\_Article-\>saveArticle(Array, Object(Shopware\Models\Article\Article)) #6 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Library/Enlight/Controller/Action.php(159): Shopware\_Controllers\_Backend\_Article-\>saveAction() #7 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch(‚saveAction‘) #8 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Library/Enlight/Controller/Front.php(226): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #9 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Shopware/Kernel.php(176): Enlight\_Controller\_Front-\>dispatch() #10 /var/www/vhosts/zawo-tec-shop.de/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #11 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #12 /var/www/vhosts/zawo-tec-shop.de/httpdocs/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #13 /var/www/vhosts/zawo-tec-shop.de/httpdocs/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #14 /var/www/vhosts/zawo-tec-shop.de/httpdocs/shopware.php(101): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #15 {main} {„uid“:„3e53353“}  
&nbsp;

&nbsp;

Kann damit jemand was anfangen?

Vielen Dank für Eure Hilfe!!

---

<div class="post-metadata">

**Author:** ![zawotec](https://avatars.discourse-cdn.com/v4/letter/z/3be4f8/32.png) [@zawotec](https://forum.shopware.com/u/zawotec)\
**Post date:** [11. August 2016 um 13:02 UTC](https://forum.shopware.com/t/shop-bricht-ab-fehlermeldung-bei-klick-auf-kasse/38982/2 "2016-08-11T13:02:57Z")

</div>

Fehler gefunden!

Es liegt mal wieder an Shopware! ☹

Also das Problem ist eigentlich das Klarna-Plugin. Sobald ich es deaktiviere, funktioniert es. Nach Rücksprache mit Klarna hat Shopware immer noch nicht die Freigabe für die Version 5.2 gegeben. Die gibt es ja nicht erst seit gestern!! Manche Mühlen mahlen langsamer…

---

<div class="post-metadata">

**Author:** ![NextMike](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@NextMike](https://forum.shopware.com/u/NextMike)\
**Post date:** [11. August 2016 um 13:34 UTC](https://forum.shopware.com/t/shop-bricht-ab-fehlermeldung-bei-klick-auf-kasse/38982/3 "2016-08-11T13:34:39Z")

</div>

Stand beim Update nicht, dass das Plugin nicht kompatibel ist?

---

<div class="post-metadata">

**Author:** ![t2oh4e](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@t2oh4e](https://forum.shopware.com/u/t2oh4e)\
**Post date:** [11. August 2016 um 13:41 UTC](https://forum.shopware.com/t/shop-bricht-ab-fehlermeldung-bei-klick-auf-kasse/38982/4 "2016-08-11T13:41:14Z")

</div>

Es liegt mal wieder an Shopbetreibern die Updates machen ohne zu prüfen ob die installierten Plugins kompatibel sind.

Laut Store wird das Klarna-Plugin auch nicht von Shopware entwickelt.

---

<div class="post-metadata">

**Author:** ![zawotec](https://avatars.discourse-cdn.com/v4/letter/z/3be4f8/32.png) [@zawotec](https://forum.shopware.com/u/zawotec)\
**Post date:** [11. August 2016 um 13:57 UTC](https://forum.shopware.com/t/shop-bricht-ab-fehlermeldung-bei-klick-auf-kasse/38982/5 "2016-08-11T13:57:43Z")

</div>

Aber Shopware muss die Freigabe erteilen…

---

<div class="post-metadata">

**Author:** ![EikeBrandtWarneke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@EikeBrandtWarneke](https://forum.shopware.com/u/EikeBrandtWarneke)\
**Post date:** [11. August 2016 um 14:17 UTC](https://forum.shopware.com/t/shop-bricht-ab-fehlermeldung-bei-klick-auf-kasse/38982/6 "2016-08-11T14:17:08Z")

</div>

Das Plugin ist noch überhaupt nicht für 5.2 freigegeben bzw. als kompatibel markiert. Du wirst während des Updates deutlich auf Plugins hingewiesen, die noch nicht kompatibel sind. Bitte fasse an deine eigene Nase, wenn du einen Schuldigen suchst.

Viele Grüße

---

<div class="post-metadata">

**Author:** ![mohamedalhakim](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@mohamedalhakim](https://forum.shopware.com/u/mohamedalhakim)\
**Post date:** [15. August 2016 um 02:34 UTC](https://forum.shopware.com/t/shop-bricht-ab-fehlermeldung-bei-klick-auf-kasse/38982/7 "2016-08-15T02:34:58Z")

</div>

Es ist sehr nervig, dass besonders wichtige Payment Module von allen möglichen kleinen und großen Upgrades abhängig sind.

Gibt es keine Möglichkeit besonders diese wichtigen Plugins so zu programmieren dass sie immer fehlerfrei arbeiten?

---

<div class="post-metadata">

**Author:** ![t2oh4e](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@t2oh4e](https://forum.shopware.com/u/t2oh4e)\
**Post date:** [15. August 2016 um 07:43 UTC](https://forum.shopware.com/t/shop-bricht-ab-fehlermeldung-bei-klick-auf-kasse/38982/8 "2016-08-15T07:43:03Z")

</div>

Du wirst nie Software haben die immer fehlerfrei arbeitet.

Da die Plugins auch oft von den Zahlungsdienstleistern oder von anderen Entwicklern erstellt werden wirst du immer unterschiedliche Zeiten haben in denen das aktualisiert wird.

Und selbst die Zahlungsplugins die von Shopware entwickelt werden sind i.d.R. Auftragsarbeiten für die jeweiligen Zahlungsdienstleister. Wenn die also kein Update beauftragen gibt es auch keins.

Darum ist die einzig sichere Methode VOR dem Update zu prüfen ob deine Zahlungsplugins kompatibel sind. Wenn sie das nicht sind den jeweiligen Zahlungsdienstleister solange nerven bis ein Update da ist.
