W3TC Plugin Conflict
-
fredrick,
Hi, I’m the developer of another plugin called Pretty Link. Several of my users have reported that they are having problems saving their Pretty Link settings when W3TC is installed and active.
I have narrowed this down to some kind of conflict with W3TC Object caching. I’m storing options in a serialized object which is retrieved from the database like so:
$prli_options = get_option('prli_options');
Then I modify the object and update it like so:
update_option('prli_options',$prli_options);
Getting the object seems to work just fine but then when I modify the object and attempt to update it using update_option with object caching the new object is not inserted into the database.
I have tried modifying my code to use wp_cache_get/set, have attempted to flush the w3tc object cache before calling update_option and have even setup a caching group & tried adding it to the non-persisting list in w3tc — all of these approaches have failed.
I’d really love it if there was a way that I could update this and other objects I’m serializing and storing in the database. I’ve googled this issue (which I know is affecting other plugin developers) and haven’t seen any answers to it.
I really appreciate any insight you might have.
Thanks,
Blair
- The topic ‘W3TC Plugin Conflict’ is closed to new replies.