Title: Error Message
Last modified: August 21, 2016

---

# Error Message

 *  Resolved [jennyfogarty](https://wordpress.org/support/users/jennyfogarty/)
 * (@jennyfogarty)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/error-message-223/)
 * Hi Guys,
 * Installed the plugin perfectly, and it worked for a second but then I got this
   error:
 * Invalid argument supplied for foreach() in /home/j53207/public_html/www.thedukedublin.
   com/wp-content/plugins/simple-twitter-tweets/simple-twitter-tweets.php on line
   391
 * Can you tell me what I might be doing wrong?
 * [http://wordpress.org/plugins/simple-twitter-tweets/](http://wordpress.org/plugins/simple-twitter-tweets/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Planet Interactive](https://wordpress.org/support/users/planet-interactive/)
 * (@planet-interactive)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/error-message-223/#post-3997305)
 * The line number you refer too references the screen name variable.
 * Please check your widget settings that the screen name has been successfully 
   saved.
 * FYI, at the line number you reference the code has already passed the check for
   the tweets and is in display mode (iteration) – the error (not seen before) uses
   the twitter screen name or the name variable as set (failsafe) ?
 * Please check you have all setup correctly per the instructions here [http://www.planet-interactive.co.uk/simple-twitter-tweets](http://www.planet-interactive.co.uk/simple-twitter-tweets)
 * What are your settings?
 *  [timkeay](https://wordpress.org/support/users/timkeay/)
 * (@timkeay)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-message-223/#post-3997619)
 * I am having this problem too. The plugin worked correctly for a week or so after
   installation, but now it’s returning the same error message as the original post.
 * Was there a solution to this?
 *  Plugin Author [Planet Interactive](https://wordpress.org/support/users/planet-interactive/)
 * (@planet-interactive)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-message-223/#post-3997621)
 * Hi timkeay
 * Please check the settings from the previous response posted. Jenny never responded
   as you can see so I guess she/they either found the solution in the text or moved
   on – who can say.
 * Please do check you do not have a space at the beginning or end of any of the
   input fields of the widget as this has been known to cause issues.
 * Hope that helps
 *  [timkeay](https://wordpress.org/support/users/timkeay/)
 * (@timkeay)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-message-223/#post-3997622)
 * Hi. Thanks for your response. I checked all the plugin settings and everything
   was fine – no spaces, etc. I then changed the Twitter username to my own, refreshed
   the front end and it displayed my own tweets until I refreshed the page again
   and then they disappeared. I went into the Twitter application settings for my
   client’s feed, reset/refreshed the keys and used the new values and it now works
   again.
 * I’ll reply to this thread again if things stop working.
 * Thanks again for getting back to me.
 *  [timkeay](https://wordpress.org/support/users/timkeay/)
 * (@timkeay)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-message-223/#post-3997625)
 * Hi. The Plugin was working fine for a few days, now it’s stopped again and is
   displaying the following error messages:
 * Warning: Invalid argument supplied for foreach() in /xxx/wp-content/plugins/simple-
   twitter-tweets/simple-twitter-tweets.php on line 391
 * I’m going to try another tweets plugin in the meantime, but it’d be interesting
   to figure this one out if the above gives you any clues?
 *  [whenlegendsdie](https://wordpress.org/support/users/whenlegendsdie/)
 * (@whenlegendsdie)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-message-223/#post-3997652)
 * Hello, I was having the same problem but found out that it only happens when 
   I have the word default in the tweet. Once I deleted the tweet containing that
   word, it went back to normal.
 *  Plugin Author [Planet Interactive](https://wordpress.org/support/users/planet-interactive/)
 * (@planet-interactive)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-message-223/#post-3997656)
 * Fixed – try 3.0

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Error Message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-twitter-tweets_595b61.svg)
 * [Simple Twitter Tweets](https://wordpress.org/plugins/simple-twitter-tweets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-twitter-tweets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-twitter-tweets/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-twitter-tweets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-twitter-tweets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-twitter-tweets/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [Planet Interactive](https://wordpress.org/support/users/planet-interactive/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/error-message-223/#post-3997656)
 * Status: resolved