If you find that you Drupal installation is WSOD-dead with the following error message:
Error: Class 'SelectQueryExtender' not found in includes/pager.inc
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!
- Log in to post comments
Comments
Thank you
I found this post via google and it SAVED MY LIFE!
Thank you for posting this "Bugfix"
About Fatal error: Class 'SelectQueryExtender' not found in C:\
i follow your advice, to correct this error, but i don't find any solution. Please how can i do again?
more workarounds
More workarounds: http://drupal.stackexchange.com/questions/133590/how-to-rebuild-registry-table
Thanks !
I found this post via google and too and it avoid me a headache !!!
Thanks for you share !