WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Invalid argument supplied for foreach / class.nextgen_style_manager.php

[Resolved] Invalid argument supplied for foreach / class.nextgen_style_manager.php

  • New error in v2.07 when calling Gallery -> Other options:

    Warning: Invalid argument supplied for foreach() in /www/htdocs/v105915/wordpress/wp-content/plugins/nextgen-gallery/non_pope/class.nextgen_style_manager.php on line 205

    Warning: Invalid argument supplied for foreach() in /www/htdocs/v105915/wordpress/wp-content/plugins/nextgen-gallery/non_pope/class.nextgen_style_manager.php on line 205

    Warning: Invalid argument supplied for foreach() in /www/htdocs/v105915/wordpress/wp-content/plugins/nextgen-gallery/non_pope/class.nextgen_style_manager.php on line 205

    Warning: Invalid argument supplied for foreach() in /www/htdocs/v105915/wordpress/wp-content/plugins/nextgen-gallery/non_pope/class.nextgen_style_manager.php on line 205

    Warning: Invalid argument supplied for foreach() in /www/htdocs/v105915/wordpress/wp-content/plugins/nextgen-gallery/non_pope/class.nextgen_style_manager.php on line 205

    http://wordpress.org/plugins/nextgen-gallery/

Viewing 15 replies - 1 through 15 (of 25 total)
  • I have the same error.

    Is there a solution available?

    kind regards
    Hasel

    Plugin Author photocrati

    @photocrati

    @slabbi, @hasel29: would either of you be willing to submit a bug report with WordPress and possibly FTP login credentials so we can see this. We’ve had numerous reports so resolving this is fairly high priority. We can’t duplicate it, so being able to see it would help us solve it faster. Thanks. Erick

    Plugin Author photocrati

    @photocrati

    I’ve seen at least 4 reports with this same error message. I’m going to go ahead and stick this to the top of the forum so others with the issue will be able to see it / find it. If anyone else has this, please post details and, again, consider submitting a bug report with credentials.

    Forgot to add the link for bug reports:
    http://www.nextgen-gallery.com/report-bug/

    This may be related, as it is a stylesheet issue:
    I see 404 errors because slashes between directories are missing – it is trying to load the following:
    /wordpress/wp-contentngg_stylesnggallery.cssver=3.6

    Running NextGen 2.0.7 with WP3.6 on WAMP stack.
    (Fortunately I don’t have custom css styles in this file, so my site is ok, but if I DID it would be messed up!)

    HTH
    Chris

    Oh, P.S. to above,
    Changing the file via Gallery -> Other Options DOES update the file correctly, (so NextGen knows where it is) but just creates the malformed URL when the web site home page is loaded.
    Chris

    @photocrati:
    Could you post an email I can send the login credentials to? I will check if I can setup a secondary login for your tests.

    Same Problem here. Using NextGen 2.0.7 with WP 3.6 on GoodNews Theme from Themeforest.

    Rollback and the Gallery are good again.

    I also rollbacked and the gallery start showing again but I cant add new images, doesn’t matter if I use NexGent or Photocrati gallery. Anyway to make it work?

    Re Stylesheet issue – This was on my dev. pc (Windows/apache etc on Localhost). Have now installed v2.07 onto my staging server (linux shared host) this does _not_ show the same issue – the nggallery.css URL is correctly formed!
    Sorry if this was a red herring.

    Plugin Author photocrati

    @photocrati

    Thanks for the info everyone. @slabbi: you can send to nextgen@photocrati.com. Thanks.

    Same error message. Additional i can’t add images to a gallery – after uploading/resizing i get no dimensions. Think there is link between the error and resizing images automatically? Mem limit is 64MB.

    Same error here. Latest WP and NextGen version, working with Genesis/Dynamic Website Builder combination. Also none of the lightbox options are working now, but did just an hour ago. I did install and delete a few ‘feature page’ widget plugins, nothing more.

    @jack Tummers – I had a problem with the lightbox on one of my sites too – for now deactivating W3 Total Cache has gt the user facing side of the gallery working – I’m still getting the “Warning: Invalid argument supplied for foreach()” errors described at the beginning of this thread in admin though.

    Hi I have the same issue with warnings in the gallery settings in other options.

    Warning: Invalid argument supplied for foreach() in………..wpmain/wp-content/plugins/nextgen-gallery/non_pope/class.nextgen_style_manager.php on line 205

    I deactivated all plugins cleared the cache switched NextGen back on and warning still there.

    WP version 3.6

    I have reported the bug

    Anyone fixed this issue without rolling back

    Thanks
    Terry

    Hi – I got the same problem. I hope the rollback will fix this problem for the moment.
    best wishes,
    Juergen

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘[Resolved] Invalid argument supplied for foreach / class.nextgen_style_manager.php’ is closed to new replies.