Yoast / Yoast-SEO-for-Magento2

Yoast SEO for Magento 2
Other
70 stars 28 forks source link

Afther uninstall Exception #0 error in product backend. #95

Open CompleteWebwinkels opened 5 years ago

CompleteWebwinkels commented 5 years ago

Afther I uninstalled this add-on I did get an exeption error in the products backend.

Exception #0 (ReflectionException): Class MaxServ\YoastSeo\Model\Entity\Attribute\Source\Robots does not exist.

If this was because I removed the extension, I also had the issue. Had to delete rows in the eav_attribute table.

Gr, Edwin

gcampedelli commented 5 years ago

I solved it by deleting Yoast Eav attributes from database

knambiar commented 5 years ago

I solved it by deleting Yoast Eav attributes from database

Hi @gcampedelli ,

Could you give me a bit more detailed instructions on how to do this. I'm fairly new to magento and have the same issue.

kriswen commented 4 years ago

@knambiar I had the same problem. You can go to eva_attribute table, and search for attribute_code LIKE %..% yoast, then delete all these attributes. then php bin/magento setup: upgrade php bin/magento setup:di:compile php bin/magento s:s:d

it should works

gcampedelli commented 4 years ago

Hi, it is now 20:50. I will try to recall in my mind what I did. So,I think there is an attribute that is create just for Maxserver Yoast to use. I don't exactly remember which one. So, if you use phpmyadmin, try to search for YoastSeo string in the database using search function. It will show in which attribute this Model is declared. So, just delete this attribute from DB and you are ok. Take a backup before doing that.