Posted December 13th, 2008 @ 03:46pm by Erik J. Barzeski
I just wasted well over an hour upgrading The Sand Trap to WordPress 2.7.
The problem appeared as most WordPress errors do: I had a blank page. The twist to this one? Only the home page was blank. Other pages worked just fine. I could set my "About" page to act as the home page if I wanted and it would display.
It wasn't a theme problem, because I tried the default WordPress theme and ran into the same issue. I re-uploaded the files several times. I checked the permissions. I removed some whitespace from my wp-config file. No luck and nearly two hours down the drain.
Then I stumbled onto the solution: I had to change "Blog pages show at most
9999 posts" to
999. Or 1000. But not as high as 2000. 1250 works too. I didn't spend time figuring out what number broke WordPress.
The problem with this is that my theme file already sets the number of articles to nine:
$posts = query_posts('showposts=9');. I have a high limit set because I'd like archive pages to show everything without pagination. WordPress 2.6 accepted 9999 as valid - WordPress 2.7 does not.
The Sand Trap has 2099 total posts.P.S. I've updated this bug with a brief note detailing my solution.