WordPress.org

Forums

Advanced Custom Fields
[resolved] Conflict with XCache Object Cache Backend (4 posts)

  1. Balazs Tihanyi
    Member
    Posted 1 year ago #

    I have noticed some problems with Advanced Custom Fields plugin: if used together with the XCache Object Cache Backend, field order and other field meta can not be updated. The initial save is working, but for existing field groups some parts of the form is not saved anymore. After deleting the XCache plugin everything is working as standard. As this is definitely a conflict between these plugins I wanted to let both developers know about the issue. Thank you very much!

    https://wordpress.org/plugins/advanced-custom-fields/

  2. Mikko Virenius
    Member
    Posted 1 year ago #

    Same thing happens with any object cache backend (APC, Memcached). In other words, it seems that the plugin doesn't invalidate the cache properly.

    I also found an old discussion/bug report form official support forum: http://old.support.advancedcustomfields.com/discussion/1525/acf-conflicting-with-apc-object-cache-batcache/p1

  3. Mikko Virenius
    Member
    Posted 1 year ago #

    I solved the problem by adding wp_cache_replace call to update_field -function.

    Git diff here: http://pastebin.com/YqSPKp4r

  4. Balazs Tihanyi
    Member
    Posted 1 year ago #

    Thank you very much, now it is working perfectly. Is it possible to get this modification into the Advanced Custom Fields plugin core so we do not have to edit the files on all version changes?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic