# Plugin Backend Bestellungen 3.0

**URL:** <https://forum.shopware.com/t/plugin-backend-bestellungen-3-0/93112>\
**Category:** Plugins\
**Tags:** general\
**Created:** [23. Februar 2022 um 18:23 UTC](https://forum.shopware.com/t/plugin-backend-bestellungen-3-0/93112 "2022-02-23T18:23:44Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaLan](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@MaLan](https://forum.shopware.com/u/MaLan)\
**Post date:** [23. Februar 2022 um 18:23 UTC](https://forum.shopware.com/t/plugin-backend-bestellungen-3-0/93112/1 "2022-02-23T18:23:44Z")

</div>

Das Plugin funktioniert seit v 3.0 nicht mehr.

```auto
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: 
Argument 1 passed to SwagBackendOrder\\Components\\Order\\Struct\\OrderStruct::setNumber() must be of the type int, string given,
called in /home/users/shop/www/shop/custom/plugins/SwagBackendOrder/Components/Order/OrderService.php on line 61 and
defined in /home/users/shop/www/shop/custom/plugins/SwagBackendOrder/Components/Order/Struct/OrderStruct.php:301\nStack trace:\n#0
/home/users/shop/www/shop/custom/plugins/SwagBackendOrder/Components/Order/OrderService.php(61):
SwagBackendOrder\\Components\\Order\\Struct\\OrderStruct->setNumber('BL-BE15-5001592...')\n#1
/home/users/shop/www/shop/custom/plugins/SwagBackendOrder/Controllers/Backend/SwagBackendOrder.php(102):
SwagBackendOrder\\Components\\Order\\OrderService->create(Object(SwagBackendOrder\\Components\\Order\\Struct\\OrderStruct))\n#2
/home/users/shop/www/shop/engine/Library/Enlight/Controller/Action.php(192): Shopware_Controllers_Backend_SwagBackendOrder->createOrderAction()\n#3
/home/users...', referer: https://shop.domain.de/backend/

```

Wir haben das Plugin Nummernkreis Erweiterung von Kickbyte im Einsatz.  
Damit werden zB solche Nummern generiert zB BL-BE15-5001592

Ich musste daher wieder die alte Version 2.6.1 von Backend Bestellungen installieren.  
Da läuft alles fehlerfrei  
Gruß ML

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [24. Februar 2022 um 08:11 UTC](https://forum.shopware.com/t/plugin-backend-bestellungen-3-0/93112/2 "2022-02-24T08:11:55Z")

</div>

Hi @MaLan

die Integer Typisierung ist auf der Annahme entstanden, dass dieses Interface [shopware/NumberRangeIncrementerInterface.php at 5.7 · shopware/shopware · GitHub](https://github.com/shopware/shopware/blob/5.7/engine/Shopware/Components/NumberRangeIncrementerInterface.php#L41)  
immer einen Integer zurück liefert.  
In der Praxis wird der Wert aber scheinbar immer als String benutzt. Wir schauen uns das noch mal genau an und werden das Problem beheben.

Viele Grüße aus Schöppingen  
Michael Telgmann

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [24. Februar 2022 um 09:05 UTC](https://forum.shopware.com/t/plugin-backend-bestellungen-3-0/93112/3 "2022-02-24T09:05:22Z")

</div>

hier das entsprechende Ticket [Shopware Issuetracker](https://issues.shopware.com/issues/PT-12609)

---

<div class="post-metadata">

**Author:** ![MaLan](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@MaLan](https://forum.shopware.com/u/MaLan)\
**Post date:** [24. Februar 2022 um 09:09 UTC](https://forum.shopware.com/t/plugin-backend-bestellungen-3-0/93112/4 "2022-02-24T09:09:22Z")

</div>

Super sache.  
Danke Michael

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [24. Februar 2022 um 09:44 UTC](https://forum.shopware.com/t/plugin-backend-bestellungen-3-0/93112/5 "2022-02-24T09:44:09Z")

</div>

Hallo @MaLan

wir haben soeben ein Update veröffentlicht. Kannst du es noch mal mit der Version 3.0.1 probieren?

Viele Grüße aus Schöppingen  
Michael Telgmann

---

<div class="post-metadata">

**Author:** ![MaLan](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@MaLan](https://forum.shopware.com/u/MaLan)\
**Post date:** [24. Februar 2022 um 09:51 UTC](https://forum.shopware.com/t/plugin-backend-bestellungen-3-0/93112/6 "2022-02-24T09:51:52Z")

</div>

@Michael_Telgmann  
jawohl, mit 3.01 funktioniert es wieder fehlerfrei.  
Danke

---

<div class="post-metadata">

**Author:** ![ProWebs](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@ProWebs](https://forum.shopware.com/u/ProWebs)\
**Post date:** [1. März 2022 um 09:37 UTC](https://forum.shopware.com/t/plugin-backend-bestellungen-3-0/93112/7 "2022-03-01T09:37:22Z")

</div>

Bei mir kommt sowohl in der 3.0.1 als auch der 3.0.0 ein Internal Server Fehler 500 beim Suchfeld Artikelnummr / Artikel. Die Version vor 3.0.0 läuft sauber.

XHRPOSThttps://www.studio-ausruestung.de/backend/SwagBackendOrder/getProducts?\_dc=1646127428503[HTTP/1.1 500 Internal Server Error 144ms]

| | |
| --- | --- |
| POST | [Shopware 5 - Backend (c) shopware AG](https://www.studio-ausruestung.de/backend/SwagBackendOrder/getProducts?_dc=1646127428503) |

Status

500

Internal Server Error

VersionHTTP/1.1

Übertragen4,38 KB (0 B Größe)

Referrer Policystrict-origin-when-cross-origin

| | |
| --- | --- |
| Connection | keep-alive |

| Content-Type | text/html; charset=UTF-8 |
| --- | --- |
| Date | Tue, 01 Mar 2022 09:37:08 GMT |
| Server | nginx/1.18.0 |
| Transfer-Encoding | chunked |

| | |
| --- | --- |
| Accept | _/_ |

Accept-Encoding gzip, deflate, br  
Accept-Language de,en-US;q=0.7,en;q=0.3  
Cache-Control no-cache  
Connection keep-alive  
Content-Length 43  
Content-Type application/x-www-form-urlencoded; charset=UTF-8  
Cookie SHOPWAREBACKEND=543knrrmn1aidj7mb0qtripunh; tinymcePasteText=1; TinyMCE\_tinymcefield-1922-inputEl\_size=cw%3D1445%26ch%3D509; TinyMCE\_tinymcefield-3129-inputEl\_size=cw%3D1514%26ch%3D463; TinyMCE\_tinymcefield-2809-inputEl\_size=cw%3D1445%26ch%3D445; TinyMCE\_tinymcefield-5878-inputEl\_size=cw%3D1445%26ch%3D324; TinyMCE\_tinymcefield-10432-inputEl\_size=cw%3D1445%26ch%3D403; TinyMCE\_tinymcefield-16428-inputEl\_size=cw%3D1471%26ch%3D521; TinyMCE\_tinymcefield-2972-inputEl\_size=cw%3D1445%26ch%3D632; TinyMCE\_tinymcefiel…[uestung.de](http://uestung.de)::yRcNMUl8XkY4k8ZqihjiZfkmTYUYwR6s/ZP28x3ANSq1Famf2hjx9smXh7L78zJx::2; \_ym\_uid=1608653078137622588; \_ym\_d=1643621753; \_gid=GA1.1.1956479481.1646037789; lastCheckSubscriptionDate=01032022; x-ua-device=desktop; acris\_cookie\_landing\_page=/; acris\_cookie\_referrer=; \_\_csrf\_token-1=4h3kkVLFi3U5E1OiKZQop5qiJ7CMwA; acris\_cookie\_first\_activated=11 16 22 134 170 9 24 25 74 78 81 141 149 90 15 145; TawkConnectionTime=0; currency=1; amazon-pay-connectedAuth=connectedAuth\_general; \_ym\_isad=2; nocache=detail-1  
Host [www.studio-ausruestung.de](http://www.studio-ausruestung.de)  
Origin [https://www.studio-ausruestung.de](https://www.studio-ausruestung.de)  
Pragma no-cache  
Referer [Shopware 5 - Backend (c) shopware AG](https://www.studio-ausruestung.de/backend/)  
Sec-Fetch-Dest empty  
Sec-Fetch-Mode cors  
Sec-Fetch-Site same-origin  
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0  
X-CSRF-Token 17PLa83aSOfsp7djP43s3413dNFfYz  
X-Requested-With XMLHttpRequest

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [2. März 2022 um 13:01 UTC](https://forum.shopware.com/t/plugin-backend-bestellungen-3-0/93112/8 "2022-03-02T13:01:17Z")

</div>

Hallo @ProWebs

kannst du mal versuchen mit diesem Artikel [Shopware 5 - Tutorials & FAQs - Fehlermeldungen in Shopware debuggen](https://docs.shopware.com/de/shopware-5-de/tutorials-und-faq/fehlermeldungen-in-shopware-debuggen)  
eine genaue Fehlermeldung herauszufinden? Was du geschrieben hattest, beinhaltet nicht den eigentlichen Fehler.

Viele Grüße aus Schöppingen  
Michael Telgmann

---

<div class="post-metadata">

**Author:** ![ProWebs](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@ProWebs](https://forum.shopware.com/u/ProWebs)\
**Post date:** [2. März 2022 um 13:38 UTC](https://forum.shopware.com/t/plugin-backend-bestellungen-3-0/93112/9 "2022-03-02T13:38:00Z")

</div>

Stack trace:  
#0 /var/customers/webs/klimek/studio-ausruestung.de/shopware/var/cache/production\_202110251506/html/en/d2/69/9a31f4bb96877f75efff669d34f5f6c94da9bd9f974fd3b891078a3f98d5(36): Symfony\Component\HttpKernel\HttpCache\AbstractSurrogate-\>handle()  
#1 /var/customers/webs/klimek/studio-ausruestung.de/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(637): include(’/var/customers/…’)  
#2 /var/customers/webs/klimek/studio-ausruestung.de/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(227): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>restoreResponseBody()  
#3 /var/customers/webs/klimek/studio-ausruestung.de/shopware/engine/Shopw" while reading response header from upstream, client: 136.243.111.28, server: [studio-ausruestung.de](http://studio-ausruestung.de), request: „GET / HTTP/1.1“, upstream: „fastcgi://unix:/run/php/php7.4-fpm.sock:“, host: „[www.studio-ausruestung.de:443](http://www.studio-ausruestung.de:443)“  
2022/03/02 12:00:18 [crit] 14564#14564: \*14254595 SSL\_write() failed while sending response to client, client: 83.135.18.218, server: [studio-ausruestung.de](http://studio-ausruestung.de), request: „GET /web/cache/1646127219\_5cf3432ef17335ad57131a46ab28a01e.css HTTP/1.1“, host: „[www.studio-ausruestung.de](http://www.studio-ausruestung.de)“, referrer: „[https://www.studio-ausruestung.de/checkout/confirm](https://www.studio-ausruestung.de/checkout/confirm)“  
2022/03/02 14:35:01 [error] 14565#14565: \*14291211 FastCGI sent in stderr: „PHP message: PHP Fatal error: Declaration of Shopware\PremsDiscountCategory\Service\SwagBackendOrder\ProductSearch::getLastResultTotalCount() must be compatible with SwagBackendOrder\Components\ProductSearch\ProductSearchInterface::getLastResultTotalCount(): int in /var/customers/webs/klimek/studio-ausruestung.de/shopware/engine/Shopware/Plugins/Community/Frontend/PremsDiscountCategory/Service/SwagBackendOrder/ProductSearch.php on line 42“ while reading response header from upstream, client: 82.82.250.1, server: [studio-ausruestung.de](http://studio-ausruestung.de), request: „POST /backend/SwagBackendOrder/getProducts?\_dc=1646228098798 HTTP/1.1“, upstream: „fastcgi://unix:/run/php/php7.4-fpm.sock:“, host: „[www.studio-ausruestung.de](http://www.studio-ausruestung.de)“, referrer: „[Shopware 5 - Backend (c) shopware AG](https://www.studio-ausruestung.de/backend/)“  
2022/03/02 14:35:38 [error] 14565#14565: \*14291211 FastCGI sent in stderr: „PHP message: PHP Fatal error: Declaration of Shopware\PremsDiscountCategory\Service\SwagBackendOrder\ProductSearch::getLastResultTotalCount() must be compatible with SwagBackendOrder\Components\ProductSearch\ProductSearchInterface::getLastResultTotalCount(): int in /var/customers/webs/klimek/studio-ausruestung.de/shopware/engine/Shopware/Plugins/Community/Frontend/PremsDiscountCategory/Service/SwagBackendOrder/ProductSearch.php on line 42“ while reading response header from upstream, client: 82.82.250.1, server: [studio-ausruestung.de](http://studio-ausruestung.de), request: „POST /backend/SwagBackendOrder/getProducts?\_dc=1646228136694 HTTP/1.1“, upstream: „fastcgi://unix:/run/php/php7.4-fpm.sock:“, host: „[www.studio-ausruestung.de](http://www.studio-ausruestung.de)“, referrer: „[Shopware 5 - Backend (c) shopware AG](https://www.studio-ausruestung.de/backend/)“

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [3. März 2022 um 15:13 UTC](https://forum.shopware.com/t/plugin-backend-bestellungen-3-0/93112/10 "2022-03-03T15:13:30Z")

</div>

Hallo @ProWebs

das Plugin „PremsDiscountCategory“ ist nicht mit der aktuellen Version 3.0.1 von Backend Order kompatibel.  
Bitte wende dich an den Hersteller des Plugins.

Viele Grüße aus Schöppingen  
Michael Telgmann

---

<div class="post-metadata">

**Author:** ![premsoft](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@premsoft](https://forum.shopware.com/u/premsoft)\
**Post date:** [21. März 2022 um 09:55 UTC](https://forum.shopware.com/t/plugin-backend-bestellungen-3-0/93112/11 "2022-03-21T09:55:50Z")

</div>

Hallo @ProWebs,

wir haben das Problem behoben. Bitte unser Plugin auf die aktuelle Pluginversion 8.9.1 updaten.

Viele Grüße  
Sven
