Question

While migrating the Magento version from 2.3.4 to 2.3.2.

I am facing below issues while navigating to Product page.

Error: Class Magento\Catalog\Model\Product\Attribute\Backend\LayoutUpdate does not exist

In admin panel, when editing the products getting the below error

Error: Product does not exists"

Was it helpful?

Solution

The issue is in your database

I noticed in Magento 2.3.4, they created the LayoutUpdate file with the attributes custom_layout_update_file.

When we revert back, the attribute calling the file and cause the issue.

solution: Go to your Database and search the table eav_attribute

Run below query

SELECT * FROM `eav_attribute` WHERE `attribute_code` LIKE 'custom_layout_update_file'

You will find two records and just remove them (if you using Magento 2.3.2).

OTHER TIPS

Please Check Your __constructor Method Objects When You Call That Class.

Run composer update bin/magento setup:upgrade bin/magento c:f Try again.

I have the same issue, after clear cache of redis and restart redis, the problem solved, if someone use redis too, you can try this:
redis-cli FLUSHDB – Delete all the keys of the currently selected DB.
redis-cli FLUSHALL – Delete all the keys of all the existing databases, not just the currently selected one.

I had the same issue but i do not downgraded my magento installation. I made an upgrade vom 2.2.11 to 2.3. However, deleting the two entries helped. Thanks a lot!

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top