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 " 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.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".
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.





by Mark Jaquith on 23 January, 2007 at 15:59
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.
by Joost de Valk on 23 January, 2007 at 16:02
Hey Mark, thx for the update!
by Joost de Valk on 23 January, 2007 at 16:05
Updated the blogpost :)
by André Scholten on 23 January, 2007 at 16:33
I'll update my blog this evening, I hope everything goes as smooth as your update.
by Roy on 23 January, 2007 at 17:25
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...
by André Scholten on 23 January, 2007 at 20:42
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.
by Joost de Valk on 23 January, 2007 at 22:13
Hmm that sucks André, let me check if I've got that problem too... And fix it while I'm at it ;)
by André Scholten on 24 January, 2007 at 00:03
No, you don't have that problem, it's probably a IIS problem, because the rewriting is done otherwise.
by Joost de Valk on 24 January, 2007 at 00:04
Ah ok, IIS sucks anway ;)