How To Fix Subscribe To Comments Plugin In Wordpress 2.1 RC1
Everton | Jan 21, 2007 | Comments
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?
Read Related Posts
Latest Posts |
Filed Under: Tools & Tips
About the Author: 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.He also writes for Windows 7 News, Windows 8 News and One Tip A Day.
- Everton
- Jonic
- TonyWilliams
- Everton
- Venta de pisos




