Home › Forums › General Issues › Move from PHP registered fields to ACF UI › Reply To: Move from PHP registered fields to ACF UI
Are you sure the json has the right values? For example, where is the “key” for each group? i see you are using an “id”, but…. shouldn´t be “key” ?
Also the entire json generated must be inside [] and is not.
Also i notice you are using ‘options’ => array(…. but in my exported json from ACF UI, that thing do not exsits, position, hide_on_screen and so on are “alone” not as part of an array.
So, i think the array that is transformed into json is not well formated and that´s why when importing nothing happens.
Did you test with just a small and simple array let´s say a group with just one text field and no complex location rules?
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.