Wordpress 2.1/2.2 upgrade to 2.3

6 November, 2007

I’ve finally gotten out of the Wordpress 2.3.1 upgrade hell. There are numbers of catchyas from my setup.

Upgrade problems:

  • Memcahed object cache is incompatible with Wordpress 2.3. Use built-in Object Cache instead. Remove wp-content/memcached-client.php and wp-content/object-cache.php.
  • If you got MySQL INSERT duplicate errors, check your post’s categories - they might all gone missing. For me, I found out there are some tables which already exist. They supposed to be created by 2.3 upgrade - wp_terms, wp_term_relationships, wp_term_taxonomy. I removed them and the upgrade went okay. (As usual, you should backup your database and wordpress path before trying to upgrade.)

Once I went through the upgrade steps without any problems, I imported my tags from Ultimate Tag Warrior to Wordpress 2.3’s native tag. Then I modify the theme that uses UTW functions, like:

Any plugins that rely on UTW tags should be disabled, like ST Add Related Posts to Feed plugin, instead install Wordpress 2.3 Related Post plugin which has the feed support. Change your theme source on the related post by tag:

Leave a Reply

about

Prior to working on Stepcase full-time, Leon Ho was Manager of Software Engineering at Red Hat, responsible for the internationalization deliveries in Red Hat products. Leon managed a team across regions in Australia, Japan, China and India. Leons division added support of 22 languages in Red Hat Enterprise Linux and migrated new internationalization technologies into products. He founded Stepcase's Lifehack in 2005, a blog on productivity and personal development, which became #40 most popular blog in the world. Stepcase has been featured by major medias such as Time Magazine, BusinessWeek and Hong Kong Economic Times.
Find me on LinkedIn, Facebook, and Twitter.

photos

tags

search