How To Fix Subscribe To Comments Plugin In Wordpress 2.1 RC1


I’ve been using WordPress 2.1 RC1 for 2 days now and I’ve only had one problem in that the Subscribe to Comments plugin doesn’t work with it, throwing up a nasty error. Pretty surprising given that Mark is one of the lead Wordpress coders, but I guess he’s working flat out on getting Subscribe to Comments 2.1 ready.

After searching for a solution I finally found this fix which Mark gives in passing in a comment.

If you’re getting the following nasty error whenever a user leaves a comment:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in c:\Inetpub\wwwroot\blog\wp-content\plugins\subscribe-to-comments.php on line 438

Then to fix it all you have to do is to add (array) before ‘get_post_meta(’ on line 438.

So far I can’t say that WordPress 2.1 has got me overly excited. The only new feature that is visible above the skin which I must say I like so far is the improved editing window. I used to hate the way I couldn’t control tags in the old WYSIWYG window. Now all I need to do is toggle between Visual mode and Code mode to make sure my posts are going to come out the way I intended.

The spellchecker would have been useful a year ago, but Firefox 2 does that for me. What is funny though is that the WordPress spellchecker doesn’t know how to spell WordPress!

Anybody else running Wordpress 2.1 RC1? Any thoughts so far?

Bookmark & Share

Related Posts

About the Author

author photo

Everton is based in London and has worked in the internet and mobile space for over ten years now, and before that worked in corporate strategy and consulting. He has a degree in Economics from Cambridge University, and currently runs the Portal and online operations for one of the largest ISPs in the UK. He also writes for Windows 7 News.

See All Posts by This Author

There Are 6 Responses So Far. »

  1. #1

    thank you for the information, it’s that I was looking for ;)

  2. #2

    I had a funny idea other people would be looking for this

  3. #3

    Thanks for this. Just upgraded and couldn’t even leave a comment on my own blog!

  4. #4

    That’s true about the spell checker… It’s a nice feature, but we could have done without it I think… I also thought it was funny that it didn’t recognise WordPress, but having said that, when Firefox 2 was released its spellchecker didn’t recognise “Firefox” either!

  5. #5

    it doesn’t recognise ‘blog’ either :-)

  6. #6

    [...] I’ll update this post with any other trouble I run into after this upgrade. Kudos to Everton Blair for this [...]

Subscribe without commenting

Post a Response


Comment Policy: Any comments are permitted only because the site owner is letting you post, and any comments could be removed for any reason at the absolute discretion of the site owner.