The other day I did perform a minor upgrade from Drupal 7.43 to Drupal 7.50, and was a bit scarred when noticed a huge warning page, at first I thought there are some problems with my files and folders or I have done something terribly wrong.
Thus I learnt that this is a new feature, implemented starting Drupal 7.50 version
Drupal user warning
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 documentation page.
I actually visited that documentation page and found following:
The warning was introduced in Drupal 7.50 and is displayed when Drupal is attempting to find a module or theme in the file system, but either cannot find it or does not find it in the expected place. Usually this indicates a problem with your site. It is not a major problem, but one which should ideally be fixed if possible
I found that my site has been missing following modules: addresfield, chr, drupalgap, fblikebutton, feeds, feeds_flickr, google_analytics_api, google_plusone, menu_views, statistics_filter, tinypng, tweetbutton, views_load_more.
Gosh, there were some modules I have experimented some 2 and more years ago, removed them and forgot about them. Now, thanks to the new user warning messages I was able to track them down, and improve overall performance of my Drupal site, by removing those modules from Drupal database.
Here is what I did to solve user warning messages and fix my Drupal site - at first I installed one by one each missing module, had to clear cache, and finally un-installed these modules from module un-install page, then deleted from modules folder (I like to keep it short as possible)
I was able to uninstall and remove all but google_analytics_api module, as it has been obsolete (moved to another project) and I didn't find a way to download previous module (I even tried wayback machine). Luckily there is a solution for a missing modules as well: Module Missing Message Fixer
This module displays a list of missing modules that appear after the Drupal 7.50 release and lets you fix the entries.
- Enable the module
- make sure you have the permission Administer Module Missing Message Fixer
- Go to: admin/config/system/module-missing-message-fixer
- Fix any issues
- Optional (Unistall the module Missing Message Fixer)
Here is what I got after all:
Nice and clean Drupal Update page
Hope it helps guys, if you have a comment, please don't be shy, leave it now!