Yoast: Took me a while to realize it's not WordPress Photo, but World Press Photo :-) ReTweet Reply

Upgraded to WordPress 2.1

I decided to upgrade to WordPress 2.1, and I have to say: it all went very, very smoothly. The only trouble I had was with Subscribe to Comments. Although version 2.1 of this very cool plugin had been released, and it was said to work with WP 2.1, it didn't. You got an error like "Warning: in_array() [function.in-array]: Wrong datatype for second argument in /var/www/joostdevalk.nl/blog/ wp-content/plugins/ subscribe-to-comments.php on line 438". This problem was fixed, as the author kindly pointed out in the comments, so if you download Subscribe to Comments now, all will be fine.


For history's sake: Fixing this was actually quite easy: on line 438, right before get_post_meta(, add "(array)", and it all worked again smoothly. Kudos to Everton Blair for this fix.

I'll update this post with any other trouble I run into after this upgrade.


Category: WordPress
You can skip to the end and leave a response.

9 Responses to “Upgraded to WordPress 2.1

Due to a delay in the WP.com script that builds zip files from SVN, you probably got the older 2.0.8 version. I've since repointed the download link to a locally assembled zip with the real 2.1 version, which doesn't suffer from this error message.

Hey Mark, thx for the update!

Updated the blogpost :)

I'll update my blog this evening, I hope everything goes as smooth as your update.

None of my hosts supports MySQL 4.0 or higher. whichs sucks, since this is a requirement...

What sucks even more is to find this out after copying the files over the old ones...

Okay, the update went smooth. But once again I had to fix the page urls in the categories. If I'm in my SEO category, the "previous entries" link goes to page 2 of the homepage in stead of page 2 from the SEO category.

Hmm that sucks André, let me check if I've got that problem too... And fix it while I'm at it ;)

No, you don't have that problem, it's probably a IIS problem, because the rewriting is done otherwise.

Ah ok, IIS sucks anway ;)

Comments closed, if you feel you have something to say:
drop me a line.