froger-me / wp-remote-users-sync

Synchronise users across WordPress websites
GNU General Public License v3.0
72 stars 33 forks source link

Settings not saving with Object cache / Memcached #12

Closed mennobouma closed 4 years ago

mennobouma commented 4 years ago

[From Wordpress.org]

Hi Alexandre,

First of all, thanks for your great support :).

I’m running on WPMU DEV Hosting (https://premium.wpmudev.org/hosting/) and i’m trying to save the settings of the plugin. But after saving the settings they are back to the previous version and after about 30 minutes the settings appear to be changed to my latest input. So there is some sort of lag.

I think that after a cache flush the settings are good but it’s not very handy :). I run your plugin on other hosting and here the issue doesn’t happen.

It’s only happening in your plugin, i can save settings in other plugins.

I did a test with only your plugin enabled and with the Twentytwenty theme and the issue is still there.

Any idea how to solve this?

Thanks! Menno

froger-me commented 4 years ago

Hi @mennobouma !

Glad to see you here - the WordPress plugin repo doesn't allow dev code, and the forum guidelines are very strict regarding what can be discussed, and the moderation team is rather unforgiving (see how it went down here).

My account is in fact under active moderation, each message has to be manually approved by a moderator until they decide otherwise, without disclosed expiration...

Guidelines are what they are: guidelines, not rules set in stone, which means there are grey areas where the moderation team decides unilaterally what is appropriate and what isn't, and maybe sometimes even update the guidelines retroactively (which was not the case in this instance, but it did happen according to some other forum users).
From the official Forum Guidelines:

Please note that this list is not exhaustive. Every post is judged on its own merits.

So I would rather be careful and not have my account closed.

Below is what I get each time I post something there:

Screen Shot 2020-09-07 at 8 18 10 PM

You can find the v1.2.7-dev version here - use at your own risks!

Changelog so far:

mennobouma commented 4 years ago

Hello Alexandre,

I understand the strict guidelines of the Wordpress forum. Glad we can chat without worries here :).

I tested the 1.2.7. and the cache issues are solved now! :D It's now saving the plugin settings directly.

Thanks again for your great support, i really appreciate it :).

Menno