Skip to content
David Cumps
Wordpress 2.6 Upgrade - Categories Missing

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 smoothly, and 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 posts weren’t linked to them yet, and the /category/ URLs didn’t work either.

A little more looking around, and I figured out I had to open 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 one more -2 per category.

After doing all that, my /category/ works again, and my posts seem to be linked again :)

I wrote up the full fix, with screenshots, in WordPress 2.6 Upgrade - Fix Missing Categories.

You May Also Like