# Problem mit Belegerstellung bei genau einer Bestellung

**URL:** <https://forum.shopware.com/t/problem-mit-belegerstellung-bei-genau-einer-bestellung/4234>\
**Category:** Shopware 3.5\
**Tags:** installation--gettin\
**Created:** [8. September 2011 um 21:49 UTC](https://forum.shopware.com/t/problem-mit-belegerstellung-bei-genau-einer-bestellung/4234 "2011-09-08T21:49:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Waffenfuzzi](https://avatars.discourse-cdn.com/v4/letter/w/8c91f0/32.png) [@Waffenfuzzi](https://forum.shopware.com/u/Waffenfuzzi)\
**Post date:** [8. September 2011 um 21:49 UTC](https://forum.shopware.com/t/problem-mit-belegerstellung-bei-genau-einer-bestellung/4234/1 "2011-09-08T21:49:26Z")

</div>

Hallo, wenn bei einer bestimmten Bestellung den PDF-Beleg Rechnung erstellen möchte, dann kommt in der Vorschau folgender Fehler: Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. Passed variable is not an array or object, using empty array instead in Shopware/Models/Order.php on line 394 Stack trace: #0 Shopware/Models/Order.php(394): ArrayObject-\>\_\_construct(false, 2) #1 Shopware/Models/Order.php(153): Shopware\_Models\_Order-\>getBilling() #2 [internal function]: Shopware\_Models\_Order-\>\_\_construct(‚260‘, Array) #3 Enlight/Class.php(57): ReflectionClass-\>newInstanceArgs(Array) #4 Shopware/Components/Document.php(125): Enlight\_Class::Instance(‚Shopware\_Models…‘, Array) #5 Shopware/Controllers/Backend/Document.php(83): Shopware\_Components\_Document::initDocument(‚260‘, ‚0‘, Array) #6 Enlight/Controller/Action.php(55): Shopware\_Controllers\_Backend\_Document-\>indexAction() #7 Enlight/Controller/Dispatcher/DispatcherDefault.php(329): Enlight\_Controller\_Action-\>dispatch(‚indexAction‘) #8 Enlight/Controller/Front.php(88): Enlight\_Controller\_Dispatcher\_DispatcherDefault-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #9 Shopware/Bootstrap.php(21): Enlight\_Controller\_Front-\>dispatch() #10 Enlight/Application.php(69): Shopware\_Bootstrap-\>run() #11 shopware.php(6): Enlight\_Application-\>run() #12 {main} Ich erkenne keinen Unterschied zwischen meiner Testbestellung und der die diesen Fehler auslöst. Was kann ich tun ? Gruß Markus
