Drupal 8: Fix error messages related to missing modules in the file-system

Submitted by Peter Majmesku on Thu, 02/15/2018 - 14:32

You need to delete the specific entries from the "key_value" database table. Example SQL query for the "Migrate Plus" module:

\Drupal::service('database')->delete('key_value')
->condition('collection', 'system.schema')
->condition('name', 'migrate_plus')
->execute();

I have learned this by checking the code from the Module Missing Message Fixer project. Hence I do not need the module. 1 SQL statement is enough.

Tags