Invalid arguments for foreach()
-
Hi,
I recently installed the “Inline tweets” plugin to my WP site. I worked awesome for some days. However, starting today, I noticed I wasn’t getting the tweets displayed, the “loading” dots never going away.
When I checked the JSON response received from the server, found the following:
=====
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/ciomex/public_html/wptest/wp-content/plugins/inline-tweets/inline-tweets.php</b> on line <b>69</b>
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/ciomex/public_html/wptest/wp-content/plugins/inline-tweets/inline-tweets.php</b> on line <b>74</b>
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/ciomex/public_html/wptest/wp-content/plugins/inline-tweets/inline-tweets.php</b> on line <b>79</b>
<b>Warning</b>: Cannot modify header information – headers already sent by (output started at /home/ciomex/public_html/wptest/wp-content/plugins/inline-tweets/inline-tweets.php:69) in <b>/home/ciomex/public_html/wptest/wp-content/plugins/inline-tweets/inline-tweets.php</b> on line <b>130</b>
{“url”:”https:\/\/api.twitter.com\/1\/statuses\/user_timeline.json?include_entities=true&include_rts=true&screen_name=IBM_Informix&count=3″,”cache_handle”:”inline_tweets_latest_IBM_Informix_3″,”from_cache”:false,”html”:”<ul class=\”inline_tweets_ul\”><li class=\”inline_tweet inline_tweets_li\”>@<\/a> <span class=\”inline_tweets_timestamp\”>Jan 01<\/span><\/li><\/ul>”}=====
Any advise on how to fix this?
Thanks in advance!
- The topic ‘Invalid arguments for foreach()’ is closed to new replies.