WordPress.org

Ready to get started?Download WordPress

Forums

Exhibit error (5 posts)

  1. urbanmac
    Member
    Posted 10 years ago #

    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

  2. pcmanpa
    Member
    Posted 9 years ago #

    I too have this error since upgrading to version 2.0 of WordPress.

  3. iand
    Member
    Posted 9 years ago #

    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.

  4. pcmanpa
    Member
    Posted 9 years ago #

    That worked for me IanD. Thank you kindly.

  5. tedinoz
    Member
    Posted 8 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.