I’ve got a problem with the ACF admin on multiple sites. Once I’ve created a field group, I cannot edit them. Can’t change existing fields and can’t add new fields.
I make the changes, click “Update”, and the message “Field Group Updated” appears. But the actual field value is not modified, or the new field has not been created.
This started happening recently, maybe with 4.1.7? I’ve tried 18.104.22.168 and 4.2.0 RC 1 pulled straight from GitHub with the same results.
I can give you admin access to one of these sites if you’d like to see the problem in action.
Are you running any Cache plugins?
Have you tried disabling them?
I’m not running any cache plugins, but the site is on WP Engine, which does cache the front-end aggressively. I didn’t know they cache on the back-end too.
I have a local copy of the site I’m working on and just checked – it looks like ACF is working as it should on the local site, but not on the WP Engine site. So I guess this might be a WP Engine issue, I’ll check in with them.
Thanks mate. Can you please post back here when you hear from WP Engine? I would like to make sure we have this issue fixed in the future.
I’m experiencing the same issues at you, @Dalton. I’d like to place a ticket with WP Engine as well, do you mind if I can have your ticket number for this issue so I can reference it?
I have a ticket open with WP Engine, #124043
We loaded the site up on a staging server and didn’t experience any problems, so it looks like something’s up with WP Engine’s admin caching. I’ll let you know when I have more info.
@Full Circle Design: Christian at WPEngine just did a “reset permissions” for my account and it seems to have fixed the problem. The function is available under the “WPEngine” tab on your WordPress dashboard. Hope that helps!
Thanks @Dalton! I think I may have found something else that will help. When logged in to the back end of your WP Engine website, hover over the left-hand menu item and click on WP Engine. Your General Settings window should pop up. Make sure your “Object/Transient Cache” item is set to Disabled.
This fixes the problems I am having while editing my themes.
@Full Circle Design: That seems to be correct – you need to disable the Object/Transient Cache fully to modify the fields, otherwise it takes changes a few minutes to show up in the admin.
I didn’t know WP Engine was caching wp-admin, this seems like it would create more problems than it’s worth, in my opinion.
Thank you all for this thread! I was experiencing the same issue and disabling Object/Transient Cache fixed it. Whew. 🙂
I’d say that it’s worth posting a support ticket about it. If they get enough of them, they may do something about it.
I’ve only been able to reproduce this in WP Engine, not on a local site with Super Cache enabled.
I think the key is that the feature is called “Transient/Object Cache”. Elliot, do you use transients to store any temporary data when editing fields?
No, transient is not used with ACF, however, ACF does use the simple wp_cache_set / wp_cache_get functions to cache the field groups. Perhaps this is where WP Engine is creating the transient…
Yep, same problem here. Fixed by disabling the Transient/Object Cache on WP Engine. Not ideal. I contacted them about it and will report back with any useful information.
awesome thread, really helped me out, has anyone heard back from WP Engine with an update on the issue? I’m about to open a ticket now just to keep them on their toes, dont see why admin content needs to be cached….
@williamotto, sorry I didn’t report back here. The gist of WP Engine’s reply to me was that Elliot (plugin author) is aware of the issue and they included some links to similar threads on this forum. Search for “wp engine”.
My solution was to turn of WP Engine caching while developing. Not ideal.
This is in no way a gripe from me re Elliot or ACF. The man is a gun and this plugin is incredible. Maximum respect.
I’ve had all sorts of issues with WP Engine caching…
@ben Pearson thanks for the reply, im doing the same thing for now of turning off caching while developing, annoying but it does work.
I completely agree that Elliot and ACF are two of the best things to happen to wordpress, makes my life so much easier !
A bit disappointed in WP Engine over this, but hopefully something will be done….
I’m having the same problem with Memcachier.
For some reason, if you update a field, ACF is getting the cache of that field, instead of the updated field. If I flush the cache I can see the updated field, so the data is there.
ACF should not retrieve the cache when the field has been updated. I don’t think this is a WP Engine problem, but a design problem.
i’m currently going through this process with wpengine right now. while it’s really strange that they’re aggressively caching wp-admin, there’s likely a reason why it makes sense for them and the workaround is just to disable it while you’re working on a site. what baffles me, however, is that they’re caching wp-admin for staging sites as well. yikes.
i worked on a site last fall and made extensive use of acf and the flexible content add-on…didn’t experience these issues at all. i wonder what’s changed?
I notice that
wp_cache_delete is never called to invalidate the item cached here:
Could that be related?
I believe it is related. I was just having some issues in development where I had installed wp-redis to test out object caching. By installing the object-cache.php to wp-content, you are effectively using a new (better) form of caching for the wp_cache_* functions.
I’m not sure why it’s not an issue with the default cache, but becomes a problem on WPEngine, wp-redis, possibly other memcached plugins… but that seems to be the case.
I asked the wp-redis author about it here: https://wordpress.org/support/topic/unable-to-clear-transients
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2020 Advanced Custom Fields. Subscribe