@renshaw Are you filtering pre_save_post
? I encountered the same issue and it was due to me calling do_action( 'acf/save_post' , $post_id );
within the pre_save_post
filter – doh!
Ahh yes! Thank you John
For sure, I’ll see if reinstalling it makes a difference, if I can’t figure it out I’ll go ahead and open a ticket – thanks again John!
Yep, disabled everything, default theme, clean install. Same prob.
Well thats unfortunate..but thanks for your help John!
That field is a true/false. Yes i see it with other fields as well, text, textarea, etc.
Yeah its super weird. But no, the field micro_class_brians_favorite
was newly created by ACF. Darn..
Doh! I didn’t realize that these were revisions, I apologize for that John! That explains a bit. However, there is an issue relating to this in another install, see attachment below.
There exists a meta field from ACF ‘micro_class_brians_favorite’ and a custom meta field from another plugin ‘wpcf-micro-class-brians-favorite’. However theres two entries for the acf field, one value being ‘0’ and the other being ‘1’. Currently the backend has it set to ‘1’, so why is the ‘0’ still apparent ( revision perhaps ), but its pulling the wrong value in the front end. This is across all acf fields on this site, as I had to manually delete a field or two in another row for some other acf meta to display in the front end.
I understand about the second underscored entry and its function, what I dont understand is why theres 6 entries, there is only one post in this image with no attachments, the only other data being 1 text acf field – so why the duplication of rows, why the different post id’s and why the different meta ids?
Turned on errors and wp_config to true, as well as switched themes but nothing, no errors showing – you’re right though, it only seems to be affecting the contact page, pretty weird
Nope, no caching whatsoever.
I had a wordpress install with the previous version of wordpress and the previous version of acf with the additions of some of the add-ons. The whole site was basically a flex-content based site, and all the fields were working properly up till the updates. Data in the fields are still saved, but when updating any of the fields or adding new fields and inputting data, it no longer saves that data.
As for debugging, i attempted to turn off all plugins, and reactivate only acf related plugins and the problem still persists. Ive also switched themes to wp 2012/13 etc, to no avail.
I can push my local repo up to pagodabox temporarily and give you access if you could take a look. Id rather not mess with the live site since i have yet to push up my local changes( wordpress update, acf update ). Whats the best email i can send you the login credentials?
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.