Title: Error, No images &#8212; expecting an array, string given
Last modified: August 21, 2016

---

# Error, No images — expecting an array, string given

 *  Resolved [annejohnson](https://wordpress.org/support/users/annejohnson/)
 * (@annejohnson)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-no-images-expecting-an-array-string-given/)
 * The plugin worked at first, but after one refresh (and many others to follow),
   I get this error:
 * Warning: array_slice() expects parameter 1 to be array, string given in /wp-content/
   plugins/wp-instagram-widget/wp-instagram-widget.php on line 200
 * Warning: Invalid argument supplied for foreach() in /wp-content/plugins/wp-instagram-
   widget/wp-instagram-widget.php on line 115
 * [https://wordpress.org/plugins/wp-instagram-widget/](https://wordpress.org/plugins/wp-instagram-widget/)

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

 *  Plugin Author [Scott (@scottsweb)](https://wordpress.org/support/users/scottsweb/)
 * (@scottsweb)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-no-images-expecting-an-array-string-given/#post-4653942)
 * Please can you provide your instagram username so I can test it on my local setup.
 *  Plugin Author [Scott (@scottsweb)](https://wordpress.org/support/users/scottsweb/)
 * (@scottsweb)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-no-images-expecting-an-array-string-given/#post-4653946)
 * I have just pushed an update to the plugin. Please test the latest version and
   let me know if it solves this issue for you.
 *  Thread Starter [annejohnson](https://wordpress.org/support/users/annejohnson/)
 * (@annejohnson)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-no-images-expecting-an-array-string-given/#post-4653955)
 * Scott,
 * It’s working perfectly now! Looks like your update solved the problem. Really
   appreciate your help and responsiveness.
 *  Plugin Author [Scott (@scottsweb)](https://wordpress.org/support/users/scottsweb/)
 * (@scottsweb)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-no-images-expecting-an-array-string-given/#post-4653957)
 * Good news! Marking this as resolved. Open a new support request if any future
   issues arise and please consider rating the plugin if you find it useful.

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

The topic ‘Error, No images — expecting an array, string given’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-instagram-widget_d7eadd.svg)
 * [WP Instagram Widget](https://wordpress.org/plugins/wp-instagram-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-instagram-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-instagram-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-instagram-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-instagram-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-instagram-widget/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 4 replies
 * 2 participants
 * Last reply from: [Scott (@scottsweb)](https://wordpress.org/support/users/scottsweb/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/error-no-images-expecting-an-array-string-given/#post-4653957)
 * Status: resolved