Saturday April 26th 2008

The price of upgrading…

Published by Dysantic at 9:48 am under From the mind of Evan Roberts

So, I recently upgraded my Wordpress install to the latest version (something that should NEVER be done while hungover, but I digress) and sure enough, something went wrong. Good thing I backed up my site files and database content prior to doing thing, even if I didn’t need it to fix the issue; it’s nice to have the option of reverting everything back to how it was before you started fucking around…

Anyway, a plugin known as “Category Visibility-iPeat Rev” that I rely on to hide my “Sustenance” category from the main page, the category I use for my Meals & Activity section, failed to work with the new upgraded Wordpress. Instead of just hiding one category from the front page, it decided to hide them all. Sort of a big deal, seeing as how my main page was stating “Sorry, no posts matched your criteria”.

It’s not really the fault of the author of the plugin, as it did say that it was tested up to Wordpress v2.3.3, and I was surprised it worked for v2.5 at all, seeing as how many people were having issues with it. But, sure enough, testing fate I upgraded to v2.5.1, and it broke. Naturally, looking through the code didn’t lead me anywhere; let’s face it, I’m not an expert on PHP, and this is even more apparent when I’m hungover. As well, there aren’t many plugins out there for hiding categories, and v2.5.1 is pretty new… as in, released yesterday. So, I was faced with a decision: revert my site back to v2.5 (easy), or try to find another plugin that does the same job (be a stubborn bastard).

I opted for the latter.

With my last Wordpress site, I wanted to exclude the “Skate” category from the main page, so it could have it’s own section, and be mostly separate from the main site. I used a plugin known as “Advanced Category Excluder” and sure enough, after a bit of searching I found it again. While it also says it was tested up to Wordpress v2.3.3, I installed it, and hoped for the best. Sure enough, it did the trick, and my site is working properly again.

Long story short? When installing an upgrade, always do so when you’re NOT hungover, as it takes a bit to figure out what the hell is wrong, and also find a solution. :-D

Comments RSS

Leave a Reply