You are here

Drupal: Error: Class 'SelectQueryExtender' not found in includes/

Submitted by Druss on Sat, 2012-02-04 23:30

If you find that you Drupal installation is WSOD-dead with the following error message:

Error: Class 'SelectQueryExtender' not found in includes/

then this means that you've messed up the Drupal (7, at the time of writing) registry somehow. You might have done this during an import/export operation where you forgot to export the registry and registry_file tables, or as I did, you have foolishly just emptied them to clear up issues with a missing class file that Drupal fastidiously continues to track.

Fixing this can be done by either reinstalling Drupal or by copying the contents of the two aforementioned tables from an ideally fresh installation of Drupal and loading them in the database of the afflicted installation. The latter did the job for me.

Good luck!


More workarounds:

I found this post via google and too and it avoid me a headache !!!
Thanks for you share !