# Fehler LOG Datei PDOException: SQLSTATE(23000):

**URL:** <https://forum.shopware.com/t/fehler-log-datei-pdoexception-sqlstate-23000/61193>\
**Category:** Allgemein\
**Created:** [20. August 2019 um 08:08 UTC](https://forum.shopware.com/t/fehler-log-datei-pdoexception-sqlstate-23000/61193 "2019-08-20T08:08:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kloemi](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@Kloemi](https://forum.shopware.com/u/Kloemi)\
**Post date:** [20. August 2019 um 08:08 UTC](https://forum.shopware.com/t/fehler-log-datei-pdoexception-sqlstate-23000/61193/1 "2019-08-20T08:08:35Z")

</div>

Hallo zusammen,

meine System LOG gibt mir permanent folgende Fehlermeldung aus:

_PDOException: SQLSTATE(23000): Integrity constraint violation: 1048 Column ‘element\_id’ cannot be null in /vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:1006 Stack trace:  
 #0 /vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1006): PDOStatement-\>execute()  
 #1 /engine/Shopware/Bundle/PluginInstallerBundle/Service/UniqueIdGenerator/UniqueIdGenerator.php(98): Doctrine\DBAL\Connection-\>executeUpdate(‘INSERT INTO s\_c…’, Array)  
 #2 /engine/Shopware/Bundle/PluginInstallerBundle/Service/UniqueIdGenerator/UniqueIdGenerator.php(59): Shopware\Bundle\PluginInstallerBundle\Service\UniqueIdGenerator\UniqueIdGenerator-\>storeUniqueIdInDb(‘8zLE57eV9w7HyDw…’)  
 #3 /engine/Shopware/Plugins/Default/Backend/SwagUpdate/Controllers/Backend/SwagUpdate.php(493): Shopware\Bundle\PluginInstallerBundle\Service\UniqueIdGenerator\UniqueIdGenerator-\>getUniqueId()  
 #4 /engine/Shopware/Plugins/Default/Backend/SwagUpdate/Controllers/Backend/SwagUpdate.php(273): Shopware\_Controllers\_Backend\_SwagUpdate-\>getUnique()  
 #5 /engine/Library/Enlight/Controller/Action.php(192): Shopware\_Controllers\_Backend\_SwagUpdate-\>popupAction()  
 #6 /engine/Library/Enlight/Controller/Dispatcher/Default.php(563): Enlight\_Controller\_Action-\>dispatch(‘popupAction’)  
 #7 /engine/Library/Enlight/Controller/Front.php(222): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))  
 #8 /engine/Shopware/Kernel.php(202): Enlight\_Controller\_Front-\>dispatch()  
 #9 /vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
 #10 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true)  
 #11 /engine/Shopware/Components/HttpCache/AppCache.php(260): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)  
 #12 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)  
 #13 /engine/Shopware/Components/HttpCache/AppCache.php(105): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true)  
 #14 /www/highticket/shopware/shopware.php(122): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))  
 #15_

&nbsp;

**Foreign Keys Reparatur brachte keinen Erfolg ;( Hat noch jemand ein Idee?**

&nbsp;

Vielen, vielen Dank im Voraus
