Jump to content
Sign in to follow this  
davidzatzcom

Keep getting a Twitter error in WHPro

Recommended Posts

davidzatzcom

I keep getting this error on my page wherever the Twitter feed is pulled. It shows the feed, but shows the following error before it. Do you have a fix? Turning off the Twitter feed completely leaves a "Follow us on twitter:" without anything else, so it looks bad either way. Warning: strpos() expects parameter 1 to be string, array given in C:xampphtdocswpmu-usspiwp-includesrss.php on line 577 Follow us on Twitter * My latest on ZDNet, "Five iPad lessons Apple could teach Amazon to save the Kindle" at http://tinyurl.com/yjuuccf

Share this post


Link to post
Share on other sites
Andrew

looks like an error created by a plugin or WPMU?

Share this post


Link to post
Share on other sites
davidzatzcom

Thing is, I'm not using a plug-in there. That's just the code from your template.

Share this post


Link to post
Share on other sites
Andrew

hmmmm... could you post a screenshot? I personally haven't seen this issue before; which leads me to believe there is a plugin/system conflict of some sort. btw... your looking cool on your article :) Did you ever get the WP research published?

Share this post


Link to post
Share on other sites
davidzatzcom

Sorry about the delay. Other deadlines. I'll get you a screenshot tomorrow (I hope). The WP research is almost done. It's 50 pages or so, by now. I'll let you know when it's actually out of edit. Pretty interesting stuff, you'll like it.

Share this post


Link to post
Share on other sites
cmunns

It says the problem is in the rss.php file under the wp-includes folder. This is actually not inside of the theme folder at all. Can you post that section of code?

Share this post


Link to post
Share on other sites
davidzatzcom

That's what's bizarre. I'm not doing anything with that code or RSS for that matter. I can't seem to get the forum software to indent properly, even though I put the code in code tags, so I'm linking to a screencap of the function that fails. Line 577 (the error line) is shown with the pretty red arrow. 4-14-2010-11-11-56-pm.png

Share this post


Link to post
Share on other sites
cmunns

What is this code from? I'm confused is it a plug-in (tecnick.com)?

Share this post


Link to post
Share on other sites
davidzatzcom

I don't think so. I'm not using anything for RSS at all. I honestly don't care too much about RSS in this context and certainly I'm not using an RSS plug-in.

Share this post


Link to post
Share on other sites
cmunns

Try commenting out the call to the rss.php and see if that fixes it so at least we can narrow down the problem

Share this post


Link to post
Share on other sites
davidzatzcom

Do yo know where that call comes from? What file it's in?

Share this post


Link to post
Share on other sites
davidzatzcom

Spent the last couple of hours looking at code. Apparently, a plug-in does muck with RSS -- AddToAny. I turned it off and the problem went away. Damn, that's been bugging me for weeks. I didn't know plug-ins changed code outside their own area. Damn! Anyway, not your problem. Sorry, guys!

Share this post


Link to post
Share on other sites
cmunns

Yeah sometimes it's tough to figure stuff out with problematic plugins in the mix. Glad you figured it out.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×