# SW6.5 messenger.CRITICAL: Error thrown while handling message ProductIndexingMessage

**URL:** <https://forum.shopware.com/t/sw6-5-messenger-critical-error-thrown-while-handling-message-productindexingmessage/103103>\
**Category:** Shopware 6 (German)\
**Tags:** administration\
**Created:** [24. Februar 2024 um 00:12 UTC](https://forum.shopware.com/t/sw6-5-messenger-critical-error-thrown-while-handling-message-productindexingmessage/103103 "2024-02-24T00:12:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![markus.laspeyres](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/markus.laspeyres/32/19541_2.png) [@markus.laspeyres](https://forum.shopware.com/u/markus.laspeyres)\
**Post date:** [24. Februar 2024 um 00:12 UTC](https://forum.shopware.com/t/sw6-5-messenger-critical-error-thrown-while-handling-message-productindexingmessage/103103/1 "2024-02-24T00:12:45Z")

</div>

Hallo zusammen,  
habe gerade im Log folgende Meldungen entdeckt:

`[2024-02-23T23:45:44.935789+00:00] messenger.CRITICAL: Error thrown while handling message Shopware\Core\Content\Product\DataAbstractionLayer\ProductIndexingMessage. Removing from transport after 3 retries. Error: "Handling "Shopware\Core\Content\Product\DataAbstractionLayer\ProductIndexingMessage" failed: An exception occurred while executing a query: SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 row" {"class":"Shopware\\Core\\Content\\Product\\DataAbstractionLayer\\ProductIndexingMessage","retryCount":3,"error":"Handling \"Shopware\\Core\\Content\\Product\\DataAbstractionLayer\\ProductIndexingMessage\" failed: An exception occurred while executing a query: SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 row","exception":"[object] (Symfony\\Component\\Messenger\\Exception\\HandlerFailedException(code: 1242): Handling \"Shopware\\Core\\Content\\Product\\DataAbstractionLayer\\ProductIndexingMessage\" failed: An exception occurred while executing a query: SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 row at /var/www/vhosts/somedomain.com/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124)\n[previous exception] [object] (Doctrine\\DBAL\\Exception\\DriverException(code: 1242): An exception occurred while executing a query: SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 row at /var/www/vhosts/somedomain.com/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:117)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1242): SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 row at /var/www/vhosts/somedomain.com/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 21000): SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 row at /var/www/vhosts/somedomain.com/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:130)"} []`

Beeinträchtigungen können wir nicht feststellen, aber wäre gut, diese Meldung nicht zu haben.  
Der Shop wurde mehrmals bis auf die neuste Version geupgraded. Läuft mit MariaDB 10.6.

Kann mir jemand einen Tipp geben, an welcher Stelle in der Datenbank ich suchen soll?

---

<div class="post-metadata">

**Author:** ![markus.laspeyres](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/markus.laspeyres/32/19541_2.png) [@markus.laspeyres](https://forum.shopware.com/u/markus.laspeyres)\
**Post date:** [5. April 2024 um 21:25 UTC](https://forum.shopware.com/t/sw6-5-messenger-critical-error-thrown-while-handling-message-productindexingmessage/103103/2 "2024-04-05T21:25:28Z")

</div>

Kann jemand mit dieser Fehlermeldung etwas anfangen? Unsere Logs sind voll davon…  
Danke für einen Hinweis!

---

<div class="post-metadata">

**Author:** ![markus.laspeyres](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/markus.laspeyres/32/19541_2.png) [@markus.laspeyres](https://forum.shopware.com/u/markus.laspeyres)\
**Post date:** [16. April 2024 um 06:55 UTC](https://forum.shopware.com/t/sw6-5-messenger-critical-error-thrown-while-handling-message-productindexingmessage/103103/3 "2024-04-16T06:55:09Z")

</div>

Mit Update auf MariaDB10.11 und SW 6.5.8.8 hat sich das Problem erledigt. Die Logs sind wieder so klein wie vor dem Update auf 6.5.8.6

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/9/29c7587ba660f00e4995d1743162782e5d6d8653.svg) [@system](https://forum.shopware.com/u/system)\
**Post date:** [16. Mai 2024 um 06:56 UTC](https://forum.shopware.com/t/sw6-5-messenger-critical-error-thrown-while-handling-message-productindexingmessage/103103/4 "2024-05-16T06:56:05Z")

</div>

Dieses Thema wurde automatisch 30 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.
