2

In D7, I'm getting many of these warnings:

User warning: The following module is missing from the file system: bootstrap_barrio. 
For information about how to fix this, see the documentation page. 
   in _drupal_trigger_error_with_delayed_logging() 
      (line 1143 of /home/xxxxx/www/www/includes/bootstrap.inc).

User warning: The following module is missing from the file system: XXXXX. 
For information about how to fix this, see the documentation page. 
   in _drupal_trigger_error_with_delayed_logging() 
      (line 1143 of /home/xxxxx/www/www/includes/bootstrap.inc).

The problem is that those 'modules':

  1. Are actually themes in the site.
  2. They are being used and the files are there (under /sites/all/themes/)

I've installed the Missing Module module and it didn't detect those themes as missing.

Why is Drupal confusing modules with themes and how can I remove those messages?

  • Exactly the same issue here. Did you find a fix yet? – ñull Oct 18 at 11:43
  • @ñull no, we ended up moving the whole site to WordPress. Sorry – Diego Jancic Oct 18 at 15:29
0

This is probably due to the modules changing locations since they where installed. One way to fix this is to just edit the system table. You can do this via Drush like this:

drush sql-cli

> select * from system where name = 'bootstrap_barrio';

Verify that the path column is not correct.

> update system set path='correct path here' where name = 'bootstrap_barrio';

If the path is correct, then it might be a directory rights issue. E.g. either the module or a parent can't be read by the webserver.

  • Path is set to sites/all/themes/bootstrap_barrio/bootstrap_barrio.info and permissions to 664 as well as all the other files. For reference, a module that doesn't throw that error has path (for example) sites/all/modules/recaptcha/recaptcha.module and permissions to 664 as well. Any ideas? – Diego Jancic Dec 13 '18 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.