Support » Plugins and Hacks » [Resolved] Invalid argument supplied foreach()…

[Resolved] Invalid argument supplied foreach()…

  • Have tried this with 3.5 and now 3.4.2 – does anyone have this plugin working? I uploaded one image, now can’t upload anything – getting the following error after the file upload appears to have completed;

    Warning: Invalid argument supplied for foreach() in /home/xxuserxx/public_html/wp-content/plugins/nextgen-public-uploader/inc/npu-upload.php on line 469


Viewing 3 replies - 1 through 3 (of 3 total)
  • I am having the exact same issue.

    damiens, got this figured out.

    In the public uploader setting, i specified the default gallery and thought I was goo to go.

    I checked my page where I had the uploader and it turns out I had specified in the shortcode a non-existant gallery (id=2).

    Once I changed it to 3 or deleted the whole ID part, it worked fine.

    A fallback and/or error message for these cases would not be a bad idea.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Invalid argument supplied foreach()…’ is closed to new replies.