Hallo,
ich lasse mir Fehlermeldungen via Mail zusenden und bekomme die folgende recht häufig - kann diese aber nicht in einen zusammenhang bringen. Ich habe bereits schon nach der Meldung gesucht - konnte aber leider nichts finden. Im Shop selbst funktioniert soweit auch alles. Kann mir jemand helfen oder einen Tipp geben? Das wär super!
Message:
exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'element_id' cannot be null' in /var/customers/webs/freeformshop/shopware/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:987
Stack trace:
#0 /var/customers/webs/freeformshop/shopware/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(987): PDOStatement->execute()
#1 /var/customers/webs/freeformshop/shopware/engine/Shopware/Bundle/PluginInstallerBundle/Service/UniqueIdGenerator/UniqueIdGenerator.php(102): Doctrine\DBAL\Connection->executeUpdate('INSERT INTO s_c...', Array)
#2 /var/customers/webs/freeformshop/shopware/engine/Shopware/Bundle/PluginInstallerBundle/Service/UniqueIdGenerator/UniqueIdGenerator.php(61): Shopware\Bundle\PluginInstallerBundle\Service\UniqueIdGenerator\UniqueIdGenerator->storeUniqueIdInDb('oaR30j2GpIdzbzz...')
#3 /var/customers/webs/freeformshop/shopware/engine/Shopware/Plugins/Default/Backend/SwagUpdate/Controllers/Backend/SwagUpdate.php(453): Shopware\Bundle\PluginInstallerBundle\Service\UniqueIdGenerator\UniqueIdGenerator->getUniqueId()
#4 /var/customers/webs/freeformshop/shopware/engine/Shopware/Plugins/Default/Backend/SwagUpdate/Controllers/Backend/SwagUpdate.php(266): Shopware_Controllers_Backend_SwagUpdate->getUnique()
#5 /var/customers/webs/freeformshop/shopware/engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_SwagUpdate->popupAction()
#6 /var/customers/webs/freeformshop/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('popupAction')
#7 /var/customers/webs/freeformshop/shopware/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#8 /var/customers/webs/freeformshop/shopware/engine/Shopware/Kernel.php(178): Enlight_Controller_Front->dispatch()
#9 /var/customers/webs/freeformshop/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#10 /var/customers/webs/freeformshop/shopware/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#11 /var/customers/webs/freeformshop/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#12 /var/customers/webs/freeformshop/shopware/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#13 /var/customers/webs/freeformshop/shopware/shopware.php(113): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#14 {main}
Next exception 'Doctrine\DBAL\DBALException' with message 'An exception occurred while executing 'INSERT INTO s_core_config_values (element_id, shop_id, value) VALUES (
(SELECT id FROM s_core_config_elements WHERE name LIKE 'trackingUniqueId' LIMIT 1), 1, ?
)' with params ["s:32:\"oaR30j2GpIdzbzzvPVGHvVJA0HuHInZk\";"]:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'element_id' cannot be null' in /var/customers/webs/freeformshop/shopware/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:119
Stack trace:
#0 /var/customers/webs/freeformshop/shopware/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(996): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(PDOException), 'INSERT INTO s_c...', Array)
#1 /var/customers/webs/freeformshop/shopware/engine/Shopware/Bundle/PluginInstallerBundle/Service/UniqueIdGenerator/UniqueIdGenerator.php(102): Doctrine\DBAL\Connection->executeUpdate('INSERT INTO s_c...', Array)
#2 /var/customers/webs/freeformshop/shopware/engine/Shopware/Bundle/PluginInstallerBundle/Service/UniqueIdGenerator/UniqueIdGenerator.php(61): Shopware\Bundle\PluginInstallerBundle\Service\UniqueIdGenerator\UniqueIdGenerator->storeUniqueIdInDb('oaR30j2GpIdzbzz...')
#3 /var/customers/webs/freeformshop/shopware/engine/Shopware/Plugins/Default/Backend/SwagUpdate/Controllers/Backend/SwagUpdate.php(453): Shopware\Bundle\PluginInstallerBundle\Service\UniqueIdGenerator\UniqueIdGenerator->getUniqueId()
#4 /var/customers/webs/freeformshop/shopware/engine/Shopware/Plugins/Default/Backend/SwagUpdate/Controllers/Backend/SwagUpdate.php(266): Shopware_Controllers_Backend_SwagUpdate->getUnique()
#5 /var/customers/webs/freeformshop/shopware/engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_SwagUpdate->popupAction()
#6 /var/customers/webs/freeformshop/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('popupAction')
#7 /var/customers/webs/freeformshop/shopware/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#8 /var/customers/webs/freeformshop/shopware/engine/Shopware/Kernel.php(178): Enlight_Controller_Front->dispatch()
#9 /var/customers/webs/freeformshop/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#10 /var/customers/webs/freeformshop/shopware/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#11 /var/customers/webs/freeformshop/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#12 /var/customers/webs/freeformshop/shopware/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#13 /var/customers/webs/freeformshop/shopware/shopware.php(113): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#14 {main}
Time:
2017-01-03T07:37:55.993472+0100
Channel:
core
request:
{
"uri": "/shopware/backend/SwagUpdate/popup?_dc=1483425476001",
"method": "GET",
"query": {
"_dc": "1483425476001",
"module": "backend",
"controller": "SwagUpdate",
"action": "popup"
},
"post": []
}
shop:
No shop data available
session:
{
"userId": "50",
"roleId": "1"
}