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

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. 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

Please share some ideas.

Thank you

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