This module displays a list of missing modules that appear after the Drupal 7.50 release and lets you fix the entries.

Drupal 8

It does everything the D7 module does and also deletes left over config from missing modules. Make sure you run drush cex or export the config from the UI after using this. It is also Drush 9 compatible.

Why use this module?

If you are receiving these messages, then you should use this module to help you:

The following module is missing from the file system: MODULE NAME. In order to fix this, put the module back in its original location. For more information, see the documentation page.

OR

User warning: The following module is missing from the file system: MODULE NAME. In order to fix this, put the module back in its original location. For more information, see the the documentation page. in _drupal_trigger_error_with_delayed_logging()

After you select the modules on the config page, it will go through and remove the "ghost records" from the system table. Also see https://www.drupal.org/node/2487215 for more information

To use (UI interface):

Enable the module make sure you have the permission Administer Module Missing Message Fixer Go to: admin/config/system/module-missing-message-fixer

To use (drush):

drush en module_missing_message_fixer drush module-missing-message-fixer-list OR drush mmmfl . This will generate a list of missing modules drush module-missing-message-fixer-fix machine_name_of_module (or --all) OR drush mmmff machine_name_of_module (or --all) . This will fix the missing modules entities

I made this module real quick in the response to the epic levels of sadness that happened when you upgrade to 7.50. Some people didn't want to run SQL commands directly so enjoy this module.

Similar modules: missing module

Warning: Many modules do important cleanup tasks during the disable/uninstall process, and this solution will result in those being skipped. If at all possible, restore the missing module and uninstall it using the regular uninstall process. For more information, see https://www.drupal.org/node/2487215.