Wordpress 2.6 Upgrade - Categories Missing
Originally published on my old blog at cumps.be on July 15, 2008.
A moment ago, I decided to upgrade to the latest Wordpress version, I was running a bit behind on 2.2.3 :) The upgrade went quite smooth, all my plugins still work. But suddenly all my categories became empty strings. And the /category/ urls didn’t work anymore either. After looking around a bit, I noticed my categories were stored in the wp_term_taxonomy table, with empty descriptions. Thankfully I had a backup and manually entered the descriptions for all of them.
At this point, their names showed up in the admin section again, but the post weren’t linked to them yet, neither did the /category/ work.
A little more looking around, and I figured out to access categories.php?action=edit&cat_ID=20 for each category, where I had to enter the category name and category slug. For some reason, each category’s slug was suddenly named -2-2-2-2-2-2-2-2-2-2-2-2-2, with increasing -2 per category.
After doing all that, my /category/ works again, and my posts seem to be linked again :)
You May Also Like
Efficient Compound Index Usage
Today I was made aware by Filip, a colleague of mine, about the importance of columns used in a where clause with a compound index. I decided to…
String Concatenation vs Memory Allocation
Over the years, plenty has been written about .net String vs. StringBuilder - concatenation performance Concatenating Strings Efficiently, lots of…
Reverse Engineering with Reflector and Reflexil
I've always been a big fan of Reflector, allowing me to have a look in assemblies to learn new things, debug in case of problems and provide useful…



