Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By vtkiller on
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
=-=
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.
Note that you should delete
Note that you should delete the fields in use before disabling it, or you will run into troubles in the future.
SQL example?
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?
You need to delete the field
You need to delete the field from the content type, not the pages that the field is on.