Missing Module Message


Missing module message


If you are getting this error on your drupal site the are many ways to fix one of wich is to install a contributed module called Missing module fixer and follow their instruction.

Another quick an easier way that I use is to delete the module from system table, you can do that using drush for both drupal 7 and drupal 8 like below:

// Drupal 7
drush sql-query "DELETE from system where type = 'module' AND name = 'MYMODULE';"

// Drupal 8
drush sql-query "DELETE FROM key_value WHERE collection='system.schema' AND name='MYMODULE';"