• Resolved kasperkeating

    (@kasperkeating)


    Hello, as the title says I cannot save the settings. Hosting is provided by wordpress, I’ve tried to clear the cache and reinstall the plugin but nothing is working. Any help would be much appreciated!

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    @kasperkeating This can happen if you are using an Object Caching plugin (i.e. Object Cache Pro or other plugin) on your website, or if you are caching the WordPress admin.

    Is this the case for you? If so, try flushing/clearing the object cache.

    Thread Starter kasperkeating

    (@kasperkeating)

    Thank you for the reply. No as far as I can tell there are no object caching plugins. Unfortunately I don’t quite understand what you mean by ”caching the wordpress admin”. I have cleared the cache through wordpress site hosting settings to no avail.

    Thread Starter kasperkeating

    (@kasperkeating)

    I should also mention that I have checked for plugin incompatibility.

    Plugin Author Gemini Labs

    (@geminilabs)

    Please use the Contact Support section on the Help & Support page to contact me directly so I can see your Site Reviews System Info and Console Log. This may help me better understand what is causing the problem.

    Thread Starter kasperkeating

    (@kasperkeating)

    I fixed the problem by manually changing the settings.php defaults.

    Hello,

    Same issue here, i tried to remove cache.

    Plugin Author Gemini Labs

    (@geminilabs)

    @kasperkeating @tonuz

    Some Hosting providers (i.e. Closte) have a Persistent Object Cache option. While the persistent object-cache can improve the PHP execution time, it is usually disabled by default because many plugins don’t work well with a persistent object-cache.

    Here is something to try. this code snippet will flush the WordPress cache after the Settings are updated. This may fix your problem if your Hosting provider has a persistent object cache enabled.

    do_action('site-reviews/settings/updated', 'wp_cache_flush');

    Please let me know if this fixes the problem so I can add a fix to the core plugin.

    Hi,

    Not working on my side

    Plugin Author Gemini Labs

    (@geminilabs)

    @tonuz @kasperkeating Please use the Contact Support section on the Help & Support page to contact me directly so I can see your Site Reviews System Info and Console Log. This may help me better understand what is causing the problem.

    Plugin Author Gemini Labs

    (@geminilabs)

    I have tracked down the cause of this problem, it happens when you have an object cache enabled on your website/server.

    Due to the way the object cache returns an empty string value for a non existing setting key (instead of FALSE), it means that the plugin’s setting key is never stored to the database which makes it unable to update.

    The next update will add support for object caching of the plugin settings.

    If you cannot wait for the update, here are the steps to fix it:

    1. Deactivate Site Reviews
    2. Disable your object cache plugins (or turn off object caching on the server)
    3. Enable Site Reviews
    4. Save the Site Reviews settings (this will create the database key for the settings)
    5. You may now re-enable the object cache
    Plugin Author Gemini Labs

    (@geminilabs)

    If you are unable to temporarily deactivate the object cache, then you can do the following instead:

    1. Install the Code Snippets plugin
    2. Create a new code snippet with the following PHP code:
      add_action('init', 'wp_cache_flush');
    3. Activate the snippet
    4. Go to the Site Reviews settings page and save the settings (it should now work!)
    5. Deactivate the snippet
    6. Delete the Code Snippet plugin (unless you still need it).

    Thanks @geminilabs that code snippet fixed it for me. For whatever reason even with Object Cache disabled on WP Engine, settings cannot be saved without this fix.

    +1 for the code snippet fix, worked for me too

    Plugin Author Gemini Labs

    (@geminilabs)

    Object Caching compatibility will be fixed in Site Reviews v6.5.0

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Settings won’t save’ is closed to new replies.