Found my fix to Themes not loading in Wordpress 2.6 !!!!

Discussion in 'WordPress' started by hmansfield, Aug 13, 2008.

  1. #1
    There have been many people who have had the problem of themes not loading in Wordpress 2.6. My blog has been down for 5 days, and I just figured out what my particular problem was. It may not be the fix for everyone, but maybe it will help some one. I posted at the end of the thread I started asking for help, but I thought the fix deserved a new thread.


    OK, so here is why I had the problem. I really hope this helps someone.

    After tooling around in the admin area, just to make sure that everything else WAS working, I noticed that i could not access Page Management, and I kept getting this error:

    Fatal error: Call to a member function query() on a non-object in /usr/www/virtual/xxxx/www.xxxxxx.com/wp-admin/includes/template.php on line 557

    - It would not list the pages.

    I then noticed that I had 99 published pages ! Yikes ! Pages that were created over the last year or so that I either did not use, or just abandoned, yet never deleted. So I started wondering if that was causing the theme not to load.
    So how do I delete pages if it wont let me access them in "Manage" mode ?

    I simply typed an "a" in the search bar...and every page listed.
    I started deleting old pages that I did not use, and got it down to a reasonable amount (under 12 including subpages) loaded the theme, and it worked perfectly.
    Yeah baby !

    Don't know if it will help everyone, but I hope it helps someone. After 5 days of searching for an answer, I tripped over it.
     
    hmansfield, Aug 13, 2008 IP