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"

  • 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!
    – Tini
    Jun 2, 2020 at 12:14
  • After this I did a setup:upgrade, setup:di:compile, indexer:reindex and cache:flush, and worked for me :) Apr 5 at 14:21

3 Answers 3


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

If you have redis, you will need to flush the cache from it.

redis-cli flushall;
  • 1
    After run the command above, I run this: DELETE FROM `eav_attribute` WHERE `attribute_code` LIKE 'custom_layout_update_file'; Dec 9, 2020 at 18:19

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.