• Resolved tomanpetr

    (@tomanpetr)


    Good day,

    I have a problem with set up my plugin. When I am in the gallery settings section I see the warging below and it is not possible to save the settings.

    Warning: Invalid argument supplied for foreach() in ……./plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/module.nextgen_gallery_display.php on line 503

    I tried to reinstall the plugin, it didn’t help.

    The server meets your requirements, even surpasses them at some points. wp-content has 755 rights.

    I will be glad for any advice.

    Thank you,
    Peter.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi @tomanpetr,

    We would be happy to assist you. Errors like this can sometimes occur due to a conflict on your site. We would like to have you try a few things. Please try deactivating all of your plugins, clearing your browser cache (and site caches if you are using a caching plugin), then reactivating the NextGEN Gallery plugin.

    If this fixes the problem it was likely one of the deactivated plugins causing the issue. Now, retrace your steps activating each plugin (one at a time) and re-checking to see if the problem returns. If it does then that last activated plugin was probably the one. Keep reactivating the plugins as it is also best to keep checking after each plugin. Sometimes there may be more than one plugin on a site that will create an issue. If you do find one (or more) plugins causing this problem, we would greatly appreciate your feedback on them so that our developers can address them.

    Also to note, in rare cases, it may be the theme itself that is causing a conflict so while you have just the NextGEN plugin activated, you might consider temporarily switching to one of the WordPress Twenty series themes and see if this corrects the issue.

    Thread Starter tomanpetr

    (@tomanpetr)

    Hi @mihaiimagely ,

    the error message disappeared. But if he wants to set url address for saving in other options, I can’t. On the old site, in the older version, the galleries were created into /wp-content/gallery/. On a new version, if I change it to /wp-content/gallery/ and save it, it will write me the settings saved, but as soon as I refresh the site or click outside and then back to other options, the url address changes to wp-content /uploads/sites/1/nggallery/. I tried to create a new gallery and the files really saved here wp-content /uploads/sites/1/nggallery/.

    Also, when I reload other options, delete the Delete image file? Where do I want to choose Yes?

    Sending video https://www.loom.com/share/136e6f9fef0c4258864f6e4e71ac6dbd.
    For information, the site runs on a clean Hello template for Elementor. The only active plugins are Elementor, Elementor Pro and Nextgen Gallery.

    Thank you.

    Plugin Support Mihai Ceban

    (@mihaiimagely)

    Can you please try to manually re-install NextGen by deactivating,deleting it then downloading a fresh copy of it and installing new and try again to see if this will allow you to save the correct gallery path?

    Thread Starter tomanpetr

    (@tomanpetr)

    Good day Mihai,

    I’ve tried before and didn’t help but now yes … strange. However, everything seems to work.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘problem saving settings’ is closed to new replies.