# Kann keine Bestellungen nach dem neustem Update abfragen

**URL:** <https://forum.shopware.com/t/kann-keine-bestellungen-nach-dem-neustem-update-abfragen/95348>\
**Category:** Shopware 6 (German)\
**Tags:** programming\
**Created:** [18. Juli 2022 um 19:05 UTC](https://forum.shopware.com/t/kann-keine-bestellungen-nach-dem-neustem-update-abfragen/95348 "2022-07-18T19:05:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayti](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@ayti](https://forum.shopware.com/u/ayti)\
**Post date:** [18. Juli 2022 um 19:05 UTC](https://forum.shopware.com/t/kann-keine-bestellungen-nach-dem-neustem-update-abfragen/95348/1 "2022-07-18T19:05:14Z")

</div>

Moin zusammen,

seit dem letzten Update kann ich keine Bestellungen mehr abfragen.  
Ich bekomme einen 500er mit folgendem Stacktrace:

```auto
{
    "errors": [
        {
            "code": "0",
            "status": "500",
            "title": "Internal Server Error",
            "detail": "Shopware\\Core\\Framework\\DataAbstractionLayer\\FieldSerializer\\CartPriceFieldSerializer::Shopware\\Core\\Framework\\DataAbstractionLayer\\FieldSerializer\\{closure}(): Argument #1 ($tax) must be of type array, float given",
            "meta": {
                "trace": [
                    {
                        "function": "Shopware\\Core\\Framework\\DataAbstractionLayer\\FieldSerializer\\{closure}",
                        "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\FieldSerializer\\CartPriceFieldSerializer",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/Framework/DataAbstractionLayer/FieldSerializer/CartPriceFieldSerializer.php",
                        "line": 58,
                        "function": "array_map"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/Framework/DataAbstractionLayer/EntityDefinition.php",
                        "line": 362,
                        "function": "decode",
                        "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\FieldSerializer\\CartPriceFieldSerializer",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityHydrator.php",
                        "line": 223,
                        "function": "decode",
                        "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\EntityDefinition",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityHydrator.php",
                        "line": 138,
                        "function": "hydrateFields",
                        "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\Dbal\\EntityHydrator",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityHydrator.php",
                        "line": 479,
                        "function": "assign",
                        "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\Dbal\\EntityHydrator",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityHydrator.php",
                        "line": 69,
                        "function": "hydrateEntity",
                        "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\Dbal\\EntityHydrator",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php",
                        "line": 136,
                        "function": "hydrate",
                        "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\Dbal\\EntityHydrator",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php",
                        "line": 86,
                        "function": "_read",
                        "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\Dbal\\EntityReader",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php",
                        "line": 225,
                        "function": "read",
                        "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\Dbal\\EntityReader",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php",
                        "line": 254,
                        "function": "read",
                        "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\EntityRepository",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php",
                        "line": 103,
                        "function": "_search",
                        "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\EntityRepository",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/Framework/Api/Controller/ApiController.php",
                        "line": 444,
                        "function": "search",
                        "class": "Shopware\\Core\\Framework\\DataAbstractionLayer\\EntityRepository",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/Framework/Context.php",
                        "line": 207,
                        "function": "Shopware\\Core\\Framework\\Api\\Controller\\{closure}",
                        "class": "Shopware\\Core\\Framework\\Api\\Controller\\ApiController",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/Framework/Api/Controller/ApiController.php",
                        "line": 445,
                        "function": "scope",
                        "class": "Shopware\\Core\\Framework\\Context",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/symfony/http-kernel/HttpKernel.php",
                        "line": 152,
                        "function": "list",
                        "class": "Shopware\\Core\\Framework\\Api\\Controller\\ApiController",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/symfony/http-kernel/HttpKernel.php",
                        "line": 74,
                        "function": "handleRaw",
                        "class": "Symfony\\Component\\HttpKernel\\HttpKernel",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/symfony/http-kernel/Kernel.php",
                        "line": 202,
                        "function": "handle",
                        "class": "Symfony\\Component\\HttpKernel\\HttpKernel",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php",
                        "line": 86,
                        "function": "handle",
                        "class": "Symfony\\Component\\HttpKernel\\Kernel",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
                        "line": 479,
                        "function": "handle",
                        "class": "Symfony\\Component\\HttpKernel\\HttpCache\\SubRequestHandler",
                        "type": "::"
                    },
                    {
                        "file": "/xxxxxx/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
                        "line": 452,
                        "function": "forward",
                        "class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
                        "line": 346,
                        "function": "fetch",
                        "class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
                        "line": 224,
                        "function": "lookup",
                        "class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/HttpKernel.php",
                        "line": 153,
                        "function": "handle",
                        "class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/vendor/shopware/core/HttpKernel.php",
                        "line": 79,
                        "function": "doHandle",
                        "class": "Shopware\\Core\\HttpKernel",
                        "type": "->"
                    },
                    {
                        "file": "/xxxxxx/public/index.php",
                        "line": 74,
                        "function": "handle",
                        "class": "Shopware\\Core\\HttpKernel",
                        "type": "->"
                    }
                ],
                "file": "/xxxxxx/vendor/shopware/core/Framework/DataAbstractionLayer/FieldSerializer/CartPriceFieldSerializer.php",
                "line": 52
            }
        }
    ]
}

```

Weiß da jemand etwas, oder gibt es irgendwas was ich machen kann?

Dank! Mit freundlichen Grüßen

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [20. Juli 2022 um 12:04 UTC](https://forum.shopware.com/t/kann-keine-bestellungen-nach-dem-neustem-update-abfragen/95348/2 "2022-07-20T12:04:43Z")

</div>

> [@ayti](#):
>
> `Argument #1 ($tax) must be of type array, float given`

Die Fehlermeldung liest sich recht deutlich. Vermutlich genügt $tax in ein array zu packen.

---

<div class="post-metadata">

**Author:** ![ayti](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@ayti](https://forum.shopware.com/u/ayti)\
**Post date:** [20. Juli 2022 um 16:41 UTC](https://forum.shopware.com/t/kann-keine-bestellungen-nach-dem-neustem-update-abfragen/95348/3 "2022-07-20T16:41:41Z")

</div>

Moin @Max_Shop ,

das Problem habe ich im Admin Panel, bei den Bestellungen.  
Weiß ehrlich gesagt nicht wie ich das da ändern soll.

Viele Grüße

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [20. Juli 2022 um 16:56 UTC](https://forum.shopware.com/t/kann-keine-bestellungen-nach-dem-neustem-update-abfragen/95348/4 "2022-07-20T16:56:40Z")

</div>

Dachte per API. Im Admin Panel ist das natürlich eine andere Sache. Irgendwelche Plugins installiert, die ggf. eine Wirkung darauf haben könnten? Habe den Fehler bisher noch nicht gesehen.

---

<div class="post-metadata">

**Author:** ![ayti](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@ayti](https://forum.shopware.com/u/ayti)\
**Post date:** [20. Juli 2022 um 18:19 UTC](https://forum.shopware.com/t/kann-keine-bestellungen-nach-dem-neustem-update-abfragen/95348/5 "2022-07-20T18:19:40Z")

</div>

@Max_Shop , nope alles Standard. Keine Plugins welche darauf Auswirkung haben könnten.  
Ich habe jetzt einfach ein Backup zurückgespielt, konnte den Fehler aber auch nicht mehr reproduzieren. Nachdem ich das Update noch einmal durchgeführt habe. Scheint also eine einmalige Geschichte gewesen zu sein.

Dennoch vielen Dank!

---

<div class="post-metadata">

**Author:** ![btxtiger](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@btxtiger](https://forum.shopware.com/u/btxtiger)\
**Post date:** [27. September 2023 um 20:09 UTC](https://forum.shopware.com/t/kann-keine-bestellungen-nach-dem-neustem-update-abfragen/95348/6 "2023-09-27T20:09:32Z")

</div>

Habe das gleiche Problem. Liegt aber nur an einer einzigen Bestellung aus Dezember 2022.  
Und das Problem tritt nur auf, wenn `APP_DEBUG=true` gesetzt ist.
