
I have inherited a project and I’m trying to wrap my head around how data is stored for ACF in our database.
The example I’m struggling to debug is as follows: we have a field group (Sidebar Components) that has a list of layouts (button, image, form, etc) that references other field groups that will have fields (like buttontext). Now, I go to a post, scroll down to the Sidebar Component, add a Button, give it some text and save it, where does that text get saved???
I can look at the postmeta table and see everything related to that post_id. _sidebar_components has a field related to it, as does _sidebar_components_0_sidebar_components. I can trace this back to my posts table to the acf-field that provides the structure, but I am looking for the actual text I put in for buttontext and can’t find that anywhere. I made it a fairly unique string, but can’t find it in the postmeta table and the query times out when I look in posts. If it is in posts, is there something more specific I can look for?
I see this as the name for the input field on the post but I don’t understand how to trace it in the DB. acf[field_614deb4f175c1][row-0][field_61b6758cdc490][688b91cc13ce8][field_61b6758cdf9c0_field_614340d246dd8]. It seems the 688b91cc13ce8 is the unique ID for this specific sidebar, but not sure how to find it.
WordPress 6.6.1
Advanced Custom Fields PRO 6.2.9
I figured it out. It was simply that our Pantheon service is awful and the save was timing out. No way to see this unless you’re observing the network panel or console in the browser. I have tested in prod and see the data in postmeta. This can be closed.