Bestellung - Mehrfachänderung - Dokument herunterladen Error

Hey zusammen,

wir sind letzte Woche von Shopware 5 zu Shopware 6 migriert. Das hat auch soweit alles reibungslos funktioniert, jedoch haben wir gerade Probleme mit der Bestellverarbeitung.

Wenn wir über die Mehrfachänderung gehen und das erstellte Dokument Lieferschein herunterladen wollen, bekommen wir einen 500er status error. Dabei ist es egal, ob wir nur eine Bestellung bearbeiten oder mehrere. Zudem auch, ob ein Lieferschein im gleichen Zug erstellt wurde, oder schon erstellt war.

Fehlermeldung aus dem Log:

[2025-04-15T15:20:04.990372+00:00] request.CRITICAL: Uncaught PHP Exception TypeError: "Cannot assign array to property Shopware\Core\Checkout\Document\DocumentConfiguration::$companyCountry of type ?Shopware\Core\System\Country\CountryEntity" at DocumentConfiguration.php line 298 {"exception":"[object] (TypeError(code: 0): Cannot assign array to property Shopware\\Core\\Checkout\\Document\\DocumentConfiguration::$companyCountry of type ?Shopware\\Core\\System\\Country\\CountryEntity at /var/www/clients/client2/web50/web/sw6/vendor/shopware/core/Checkout/Document/DocumentConfiguration.php:298)"} []

Hatte das Problem schon mal jemand und weiß, wie man das lösen kann?

Liebe Grüße
Tom