# Could not resolve type of column "ID" of class "Shopware\\Models\\Order\\Document\\Document" in ....

**URL:** <https://forum.shopware.com/t/could-not-resolve-type-of-column-id-of-class-shopware-models-order-document-document-in/67341>\
**Category:** Allgemein\
**Created:** [1. Juni 2020 um 09:10 UTC](https://forum.shopware.com/t/could-not-resolve-type-of-column-id-of-class-shopware-models-order-document-document-in/67341 "2020-06-01T09:10:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielmauer](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@danielmauer](https://forum.shopware.com/u/danielmauer)\
**Post date:** [1. Juni 2020 um 09:10 UTC](https://forum.shopware.com/t/could-not-resolve-type-of-column-id-of-class-shopware-models-order-document-document-in/67341/1 "2020-06-01T09:10:22Z")

</div>

Hallo in die Runde,&nbsp;

habe eine Frage, und zwar bekomme ich immer eine Fehlermeldung wenn ich einen Liferschein im Backend beim Kunden generieren möchte.&nbsp;

> Could not resolve type of column „ID“ of class „Shopware\Models\Order\Document\Document“ in vendor/doctrine/orm/lib/Doctrine/ORM/Utility/PersisterHelper.php on line 130

es handelt sich um eine SW5.5.2 und ich habe auch schon probiert die ForeignKeys per repairscript zu reparieren. Jedoch bekomme ich hier auch nur folgende Fehlermeldung

&nbsp;

ALTER TABLE `s_articles_attributes` ADD FOREIGN KEY ( `articledetailsID` ) REFERENCES `s_articles_details` ( &nbsp; &nbsp; &nbsp; &nbsp;`id`) ON DELETE CASCADE ON UPDATE NO ACTION

&nbsp;

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/6/629794e6ce9fdfb09d48965a50b76daed0da1bd6.png)

Hat hier jemand eine Idee?

Velen Dank

---

<div class="post-metadata">

**Author:** ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)\
**Post date:** [1. Juni 2020 um 09:37 UTC](https://forum.shopware.com/t/could-not-resolve-type-of-column-id-of-class-shopware-models-order-document-document-in/67341/2 "2020-06-01T09:37:52Z")

</div>

Lösch mal den Ordner in var/cache selber
