Fix the error “Class Magento\Catalog\Model\Product\Attribute\Backend\Media does not exist”
![Backend-Media-does-not-exist](https://zindo.info/content/uploads/2017/07/Backend-Media-does-not-exist.jpg)
This error hapended when you upgrade Magento from 2.0.x to Magento 2.1.x, or use the data migration tool. Because this class was remove in Core file
Commit change:
So, to fix this error, just run the SQL command below to update your database struct.
UPDATE `eav_attribute` SET `backend_model` = NULL, `backend_type` = 'static' WHERE `attribute_code` = 'media_gallery'