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} Next exception ‚Doctrine\DBAL\DBALException‘ with message ‚An exception occurred while executing ‚INSERT INTO s_articles_relationships (articleID, relatedarticle) VALUES (?, ?)‘ with params [1187, 1180]: 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“}
Kann damit jemand was anfangen?
Vielen Dank für Eure Hilfe!!