I installed Yoast_seo for drupal8, but it adds a string at the bottom of each page. Now I cannot uninstall it because it has "field types in use". I also tried "drush dis Yoast_seo" command, it gives warning that it waits parametr 1 etc. but doesn't disable the module. How can I finally uninstall Yoast_seo?

Comments

VM’s picture

you can force disable by setting the status of the module to 0 in the system table of the database. You will then need to manually clean up the fields and run the uninstall routine from the uninstall tab.

Jaypan’s picture

Note that you should delete the fields in use before disabling it, or you will run into troubles in the future.

vtkiller’s picture

Gentlemen, as I'm not skilled in manual operations with Drupal db, could You provide me some SQL examples for setting the module status to 0? Is it smth like "UPDATE system SET status='0' WHERE name='yoast_seo';"? Will deleting of the pages modified by Yoast_seo really let me to uninstall the module?

Jaypan’s picture

You need to delete the field from the content type, not the pages that the field is on.