Hi all,
I just uploaded the Views module version 3.6, upgrading from version 3.3 that was on my website. After running the 'update.php' in Drupal, all seemed to be well. I returned to the homepage and got this error message:

Fatal error: Cannot redeclare class QueryExtendableInterface in /opt/www/www.[mywebsite].com/htdocs/includes/database/select.inc on line 20 

I can't imagine this is a fault in Views 3.6, but I don't know what it is either. Does anyone have an idea what could be going on here? I really need help because right now my website is gone.

Comments

Arun Murugadoss - Drupal Geeks’s picture

Issue summary: View changes

I encountered the same error to a site of my client, after the site got upgraded to 7.26. To solve the issue, first check your doc root whether the select.inc file(In 'includes' directory) has any duplicates or any backup (.bak) file available. If yes, please remove the duplicate file.

Then run Drush 'registry_rebuild' (see drupal.org/project/registry_rebuild) to cleanup the registry. If the registry_rebuild module does not work for any reason, log into the Database and update the wrong Class path for 'QueryExtendableInterface' to make sure that it is calling the correct class path(i.e: includes/database/select.inc)

renatog’s picture

Hi guys.

Thank you for help in #1 @arun-murugadoss-drupal-geeks

I check and currently, it's ok in the last version of views.

Please update for the last version and you will not have problems.

Thank you very much.

renatog’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.