# Fatal error: Uncaught Doctrine\\ORM\\Mapping\\MappingException: No mapping found for field 'productStra

**URL:** <https://forum.shopware.com/t/fatal-error-uncaught-doctrine-orm-mapping-mappingexception-no-mapping-found-for-field-productstra/66912>\
**Category:** International (English Only)\
**Tags:** programming\
**Created:** [13. Mai 2020 um 10:15 UTC](https://forum.shopware.com/t/fatal-error-uncaught-doctrine-orm-mapping-mappingexception-no-mapping-found-for-field-productstra/66912 "2020-05-13T10:15:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nightfox](https://avatars.discourse-cdn.com/v4/letter/n/c89c15/32.png) [@nightfox](https://forum.shopware.com/u/nightfox)\
**Post date:** [13. Mai 2020 um 10:15 UTC](https://forum.shopware.com/t/fatal-error-uncaught-doctrine-orm-mapping-mappingexception-no-mapping-found-for-field-productstra/66912/1 "2020-05-13T10:15:29Z")

</div>

Hi Friends,

Previously I have done a shopware update from version 5.2.27 to 5.6.4.

After the update, we are not able to update the product information. While updating the product one error occurs. The error is something like as follows,

> **Fatal error** : Uncaught Doctrine\ORM\Mapping\MappingException: No mapping found for field ‚productStream‘ on class ‚Shopware\Models\Attribute\ProductStream‘. in vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php:163

I have tried repair foreign keys with [https://sbp-testingmachine.s3.eu-west-1.amazonaws.com/1540823882/repairforeignkeys-9546800-12384272.zip](https://sbp-testingmachine.s3.eu-west-1.amazonaws.com/1540823882/repairforeignkeys-9546800-12384272.zip). But it didn’t make any changes. Issue still shows. What can I do here now?

Should I try with [Download Download Foreign Keys 5.2.13](https://sbp-testingmachine.s3.eu-west-1.amazonaws.com/1540823903/repairforeignkeys_5-2-13-12382351.zip)

Please share some ideas.

Thank you

---

<div class="post-metadata">

**Author:** ![nightfox](https://avatars.discourse-cdn.com/v4/letter/n/c89c15/32.png) [@nightfox](https://forum.shopware.com/u/nightfox)\
**Post date:** [14. Mai 2020 um 05:59 UTC](https://forum.shopware.com/t/fatal-error-uncaught-doctrine-orm-mapping-mappingexception-no-mapping-found-for-field-productstra/66912/2 "2020-05-14T05:59:41Z")

</div>

I have fixed it by doing as follows,

1. First repair foreign keys using “Download Foreign Keys 5.2.13”

2. Then repair using the other repair script

3. Removed var/cache/prod\*\*\*\* folder

Thank you
