# \[SW 5.2.10\] nach update, erstellung von documenten nicht möglich

**URL:** <https://forum.shopware.com/t/sw-5-2-10-nach-update-erstellung-von-documenten-nicht-moglich/41483>\
**Category:** Allgemein\
**Created:** [18. November 2016 um 11:51 UTC](https://forum.shopware.com/t/sw-5-2-10-nach-update-erstellung-von-documenten-nicht-moglich/41483 "2016-11-18T11:51:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pino](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/pino/32/14373_2.png) [@pino](https://forum.shopware.com/u/pino)\
**Post date:** [18. November 2016 um 11:51 UTC](https://forum.shopware.com/t/sw-5-2-10-nach-update-erstellung-von-documenten-nicht-moglich/41483/1 "2016-11-18T11:51:30Z")

</div>

tach zusaammen,

folgenden fehler hab ich gefunden, weshalb dokumente nicht mehr erstellt werden können.

```
// /engine/Shopware/Models/Document/Order.php
[#268]
$array["_billing"] = $array["_billing"]->getArrayCopy();
$array["_shipping"] = $array["_shipping"]->getArrayCopy();

```

leider ist&nbsp;$array["\_shipping"] kein&nbsp;ArrayObject ☹

```
[_billing] => ArrayObject Object
    (
    )

[_shipping] => Array
    (
    )

```

daher fliegt alles um die &nbsp;ohren.

hab nun die core wie folgt geändert:

```
if(is_object($array["_shipping"])){
    $array["_shipping"] = $array["_shipping"]->getArrayCopy();
}

```

zusätzlich sind versandadressen null ☹
