Title: problem saving settings
Last modified: November 6, 2019

---

# problem saving settings

 *  Resolved [tomanpetr](https://wordpress.org/support/users/tomanpetr/)
 * (@tomanpetr)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/problem-saving-settings-2/)
 * 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)

 *  [Mihai Ceban](https://wordpress.org/support/users/mihaiimagely/)
 * (@mihaiimagely)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/problem-saving-settings-2/#post-12105750)
 * Hi [@tomanpetr](https://wordpress.org/support/users/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](https://wordpress.org/support/users/tomanpetr/)
 * (@tomanpetr)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/problem-saving-settings-2/#post-12123303)
 * Hi [@mihaiimagely](https://wordpress.org/support/users/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](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.
 *  [Mihai Ceban](https://wordpress.org/support/users/mihaiimagely/)
 * (@mihaiimagely)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/problem-saving-settings-2/#post-12126267)
 * 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](https://wordpress.org/support/users/tomanpetr/)
 * (@tomanpetr)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/problem-saving-settings-2/#post-12130905)
 * 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.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [gallery](https://wordpress.org/support/topic-tag/gallery/)
 * [settings](https://wordpress.org/support/topic-tag/settings/)

 * 4 replies
 * 2 participants
 * Last reply from: [tomanpetr](https://wordpress.org/support/users/tomanpetr/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/problem-saving-settings-2/#post-12130905)
 * Status: resolved