Title: Exhibit error
Last modified: August 18, 2016

---

# Exhibit error

 *  [urbanmac](https://wordpress.org/support/users/urbanmac/)
 * (@urbanmac)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/exhibit-error/)
 * I’ve installed Exhibit and all was going well until I tried to post one of the
   images i had uploaded and I get an error:
 * Warning: Invalid argument supplied for foreach() in /home/matandke/public_html/
   wp-content/plugins/exhibitimg/exhibit10i.php on line 310
 * any ideas – using 1.5

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

 *  [pcmanpa](https://wordpress.org/support/users/pcmanpa/)
 * (@pcmanpa)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/exhibit-error/#post-130174)
 * I too have this error since upgrading to version 2.0 of WordPress.
 *  [iand](https://wordpress.org/support/users/iand/)
 * (@iand)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/exhibit-error/#post-130175)
 * Try changing line 311 from
    `foreach($_POST['ex_caption'] as $index => $item)`
   to `foreach((array)$_POST['ex_caption'] as $index => $item)`
 * Not exactly sure how or why, but it wored for me.
 *  [pcmanpa](https://wordpress.org/support/users/pcmanpa/)
 * (@pcmanpa)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/exhibit-error/#post-130176)
 * That worked for me IanD. Thank you kindly.
 *  [tedinoz](https://wordpress.org/support/users/tedinoz/)
 * (@tedinoz)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/exhibit-error/#post-130179)
 * Thanks, Ian. Also worked for me.
 * Suggestion: Exhibit is very popular but Owen is taking some time off, so these
   running fixes are piling up (and doubling up) in WordPress support (and on RedAlt).
 * Does anyone else agree that it might make sense to create a topic that just summarises
   and cross references the various “fixes” – including those known now and those
   that we are yet to find 😉 I don’t know exactly how this would work, but I’ve
   made two essential fixes in the last 24 hours thanks to this Board & Google.
 * Ted

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

The topic ‘Exhibit error’ is closed to new replies.

 * 4 replies
 * 4 participants
 * Last reply from: [tedinoz](https://wordpress.org/support/users/tedinoz/)
 * Last activity: [19 years, 9 months ago](https://wordpress.org/support/topic/exhibit-error/#post-130179)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
