Home › Forums › Backend Issues (wp-admin) › ACF Local JSON "Awaiting Save"? › Reply To: ACF Local JSON "Awaiting Save"?
This question ranks highly in the search engine, so I would like to share a method how resolve field groups being stuck on “Awaiting Save”.
/acf-json
folder.How I think it happened
At first, I told ACF to save JSON to a theme subfolder: get_stylesheet_directory() . /acf-json
. Next, I added two new field groups and saved them. However, later on I changed my mind, and added a second, conflicting PHP file, which told ACF to save local JSON to /mu-plugins/acf-json
. However, I forgot to create the /mu-plugins/acf-json
folder, which meant I was telling ACF to write JSON somewhere non-writable: a directory which didn’t exist.
A couple weeks pass before I get to work this project again. I had not though much about the local JSON, until I was ready to commit the finished field group. However, I noticed that updates to the field groups were no longer showing in the version control panel in Visual Studio Code. After digging around in the theme and the mu-plugins folder, I deleted the second, conflicting PHP file. Nevertheless, even after removing the reference to the non-existent folder, ACF was not able to save local JSON to the theme. All field groups, even brand-new ones, were stuck at “Awaiting Save”. It seemed like the only way to save the field groups would be to start over: export to JSON, delete all, then import from JSON.
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.