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.
Best Answer
Use these commands on the root of your installation.