0

When trying to edit or add a new product on the backend I receive the following error

Class Magento\Catalog\Model\Product\Attribute\Backend\Media does not exist.

It stops me from editing or adding a product! This has happened after importing a few products.

3
  • Which is your Magento version? Commented Feb 8, 2017 at 16:29
  • @KhoaTruongDinh 2.1.3 Commented Feb 8, 2017 at 16:31
  • Can you share the stack Trace from exception.log . Only share Trace for this error. Also , have you made sure that the class physically exists at the location Commented May 14, 2017 at 5:53

1 Answer 1

-1

Use these commands on the root of your installation.

alias mage="php -d memory_limit=-1 -f bin/magento" chmod -R 775 pub/static/ var/ pub/media/ && rm -rf var/view_preprocessed/ var/cache/ var/page_cache/ var/tmp/ var/generation/ pub/static/frontend/ vendor/* ; composer install && composer update -vvv && php -r "opcache_reset();" mage module:disable Magento_Review ; mage cache:flush && mage indexer:reindex && mage setup:upgrade && mage setup:static-content:deploy && mage setup:db-data:upgrade && mage dev:source-theme:deploy && chmod -R 775 pub/static/ pub/media/ var/ 

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.