Fatal error: Cannot redeclare views_views_plugins() – Drupal

Fatal error: Cannot redeclare views_views_plugins() (previously declared in /home/bunny/public_html/sites/all/modules/views/includes/plugins.inc:15) in /home/bunny/public_html/sites/all/modules/x/profiles/x/modules/contrib/views/includes/plugins.inc on line 425

Ran the url http://www.example.com/update.php (www.example.com being the website)

If your settings.php file is properly configured, you should get an access denied message. In that case, go to the directory (/home/bunny/public_html/sites/default) and open the settings.php file. Look for the line $update_free_access = FALSE;
and change it to TRUE. Run update.php again. You will find a link at the bottom of the result page sending you to the front page. Click on it and your site is back.
Don’t Forget: Go to your settings.php file again and change the TRUE back to FALSE again. Also take appropriate backup if needed.

Leave a comment