Hallo zusammmen,
wir bekommen nun folgendes Problem. Habt ihr hierzu eine Idee?
Uncaught PHP Exception Doctrine\DBAL\Exception\DeadlockException: „An exception occurred while executing ‚DELETE FROM pickware_erp_order_pickability
WHERE order_id
IN ( SELECT order
.id
FROM order
LEFT JOIN state_machine_state
AS order_state
ON order
.state_id
= order_state
.id
LEFT JOIN pickware_shopware_extensions_order_configuration
AS orderConfiguration
ON order
.id
= orderConfiguration
.order_id
AND order
.version_id
= orderConfiguration
.order_version_id
LEFT JOIN order_delivery
ON order_delivery
.id
= orderConfiguration
.primary_order_delivery_id
AND order_delivery
.version_id
= orderConfiguration
.primary_order_delivery_version_id
LEFT JOIN state_machine_state
AS orderDeliveryState
ON order_delivery
.state_id
= orderDeliveryState
.id
WHERE (order_state
.technical_name
IN (?, ?) OR orderDeliveryState
.technical_name
IN (?, ?)) AND order
.id
IN (?) )‘ with params [„cancelled“, „completed“, „cancelled“, „shipped“, „\xe6\xe8\x25\x33\xb8\x1a\x46\xd7\xa7\xca\x0e\x7f\x1f\x1d\xa7\x75“]: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction“ at /var/www/clients/client1/web1/web/releases/20220113161245/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 51 {„exception“:„[object] (Doctrine\DBAL\Exception\DeadlockException(code: 0): An exception occurred while executing ‚DELETE FROM pickware_erp_order_pickability
\n WHERE order_id
IN (\n SELECT\n order
.id
\n FROM order
\n LEFT JOIN state_machine_state
AS order_state
\n ON order
.state_id
= order_state
.id
\n LEFT JOIN pickware_shopware_extensions_order_configuration
AS orderConfiguration
\n ON order
.id
= orderConfiguration
.order_id
\n AND order
.version_id
= orderConfiguration
.order_version_id
\n LEFT JOIN order_delivery
\n ON order_delivery
.id
= orderConfiguration
.primary_order_delivery_id
\n AND order_delivery
.version_id
= orderConfiguration
.primary_order_delivery_version_id
\n LEFT JOIN state_machine_state
AS orderDeliveryState
\n ON order_delivery
.state_id
= orderDeliveryState
.id
\n\n WHERE\n (order_state
.technical_name
IN (?, ?)\n OR orderDeliveryState
.technical_name
IN (?, ?))\n AND order
.id
IN (?)\n )‘ with params ["cancelled", "completed", "cancelled", "shipped", "\xe6\xe8\x25\x33\xb8\x1a\x46\xd7\xa7\xca\x0e\x7f\x1f\x1d\xa7\x75"]:\n\nSQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction at /var/www/clients/client1/web1/web/releases/20220113161245/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:51)\n[previous exception] [object] (Doctrine\DBAL\Driver\PDO\Exception(code: 40001): SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction at /var/www/clients/client1/web1/web/releases/20220113161245/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18)\n[previous exception] [object] (PDOException(code: 40001): SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction at /var/www/clients/client1/web1/web/releases/20220113161245/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)“}
Gruß
Markus