Remove - Uninstall a deleted module from drupal registry | Drupal 8

Remove - Uninstall a deleted module from drupal registry

Submitted by editor on Wed, 04/04/2018 - 10:48
Question

How to uninstall a deleted module manually from drupal registry, to avoid warning messages ?
How to fix "The following module is missing from the file system..." warning messages ?

When you remove a module manually or re import a database, some times you have a message like "The following module is missing from the file system...". this is due to deleted modules.

To uninstall the module properly via drush:
1. Remove from DB:
    drush sql-query "DELETE FROM key_value WHERE collection='system.schema' AND name='module_name';"
  Example : module devel
    drush sql-query "DELETE FROM key_value WHERE collection='system.schema' AND name='devel';"
2. Clear cache.
    drush cr

Fore more info see : https://www.drupal.org/node/2487215

Comments

StephenHamlin (not verified)

Mon, 06/25/2018 - 08:02

This is my first visit here and I am really impressed by reading the information content you provided. It is very unique and useful. I am very thankful to you as I am in search of finding this type articles and finally I get it from you. Now I am very happy as I get this quality and genuine information from you. Hope you will share more article like this further. It is my pleasure to read this. For any kind of academic writing work Visit

Add new comment