Beim Setzen des Status ist ein Fehler aufgetreten:AxiosError

Hallo,

ich habe folgenden Fehler

„Beim Setzen des Status ist ein Fehler aufgetreten:AxiosError: Request failed with status code 400“

Dieser tritt auf, wenn ich den Versandstatus von offen auf versendet setze.
Mache ich dies andersrum, also auf offen, tritt der Fehler nicht auf.
Der Status wird trotzdem gesetzt, was nach einem neu laden ersichtlich wird.

Es handelt sich um eine Neuinstallation des Shops 6.6.1.1. Ich habe nur Kundendaten aufgespielt via Admin (import/export)

Testweise alle Plugins deaktiviert.

Zudem habe ich noch andere Fehler, die ich aber auf das Paypal Plugin schiebe. Dort waren die Buttons nicht da. Nach deinstallieren samt Daten und neu installieren gehen diese.

  1. April war die Neuinstallation siehe Bild.

Bist du bei deinem Problem weiter gekommen? Bei 6.6.5.1 haben wir das gleiche Problem.
Im Flow sehe ich auch keinen Fehler bzw. wurde hier nichts geändert.

[2024-09-17T11:40:51.362931+00:00] request.ERROR: Uncaught PHP Exception Shopware\Core\Content\Flow\FlowException: "Flow action transaction was aborted and rolled back. Exception: Transaction failed because an exception occurred. Exception: Illegal transition "shipped" from state "96f04f88cdd246408f9239874a0cddf6". Possible transitions are: cancel, reopen, retour, retour_partially" at FlowException.php line 32 {"exception":"[object] (Shopware\\Core\\Content\\Flow\\FlowException(code: 0): Flow action transaction was aborted and rolled back. Exception: Transaction failed because an exception occurred. Exception: Illegal transition \"shipped\" from state \"96f04f88cdd246408f9239874a0cddf6\". Possible transitions are: cancel, reopen, retour, retour_partially at /var/customers/webs/GS/audi/vendor/shopware/core/Content/Flow/FlowException.php:32)\n[previous exception] [object] (Shopware\\Core\\Content\\Flow\\Dispatching\\TransactionFailedException(code: 0): Transaction failed because an exception occurred. Exception: Illegal transition \"shipped\" from state \"96f04f88cdd246408f9239874a0cddf6\". Possible transitions are: cancel, reopen, retour, retour_partially at /var/customers/webs/GS/audi/vendor/shopware/core/Content/Flow/Dispatching/TransactionFailedException.php:16)\n[previous exception] [object] (Shopware\\Core\\System\\StateMachine\\Exception\\IllegalTransitionException(code: 0): Illegal transition \"shipped\" from state \"96f04f88cdd246408f9239874a0cddf6\". Possible transitions are: cancel, reopen, retour, retour_partially at /var/customers/webs/GS/audi/vendor/shopware/core/System/StateMachine/StateMachineException.php:29)"} []
[2024-09-17T11:40:54.029165+00:00] php.ERROR: Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 {"exception":"[object] (ErrorException(code: 0): Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 at /var/customers/webs/GS/audi/custom/plugins/FroshTools/src/Components/Health/Checker/HealthChecker/SwagSecurityChecker.php:60)"} []
[2024-09-17T11:40:54.029242+00:00] php.ERROR: Warning: file_get_contents(https://raw.githubusercontent.com/FriendsOfShopware/shopware-static-data/main/data/security.json): Failed to open stream: no suitable wrapper could be found {"exception":"[object] (ErrorException(code: 0): Warning: file_get_contents(https://raw.githubusercontent.com/FriendsOfShopware/shopware-static-data/main/data/security.json): Failed to open stream: no suitable wrapper could be found at /var/customers/webs/GS/audi/custom/plugins/FroshTools/src/Components/Health/Checker/HealthChecker/SwagSecurityChecker.php:60)"} []
[2024-09-17T11:40:54.029334+00:00] php.ERROR: Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 {"exception":"[object] (ErrorException(code: 0): Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 at /var/customers/webs/GS/audi/custom/plugins/FroshTools/src/Components/Health/Checker/HealthChecker/SwagSecurityChecker.php:215)"} []
[2024-09-17T11:40:54.029352+00:00] php.ERROR: Warning: file_get_contents(https://raw.githubusercontent.com/shopware/shopware/trunk/releases.json): Failed to open stream: no suitable wrapper could be found {"exception":"[object] (ErrorException(code: 0): Warning: file_get_contents(https://raw.githubusercontent.com/shopware/shopware/trunk/releases.json): Failed to open stream: no suitable wrapper could be found at /var/customers/webs/GS/audi/custom/plugins/FroshTools/src/Components/Health/Checker/HealthChecker/SwagSecurityChecker.php:215)"} []

Also, wir haben das beim Zahlungsstatus. Wir haben einen Status für Rechnungszahler. Dann kommt der Fehler.

Beim Setzen des Status ist ein Fehler aufgetreten:AxiosError: Request failed with status code 400

Nun gerade ist mir aufgefallen, dass es dort ohne Fehler geht, wenn wir den Radio Button für die Meldung an den Kunden nicht rausnehmen.

Also gerade nur damit gemacht und es ging nicht. Dann wieder einmal ohne Mail Status versucht und es ging. Es scheint irgendwas damit zu tun zu haben, einfach mal „mit/ohne Mail“ und danach mal anders herum einen Status setzen.

(Eventuell ist der Fehler / Bug bzw. der ihn auslösende Trigger dort irgendwo in dem Modul. Prinzipiell ist es ja eine Fehlermeldung von dem PHP Framework, welche genutzt wird. Den Fehler gibt es auch bei anderer Software.)

VG