Home › Forums › Bug Reports › get_field() not working with JSON in 4.1.8 › Reply To: get_field() not working with JSON in 4.1.8
Hi @elliot,
Thank you for your response. My problem does still exist.
Before you run the update_field function, does the post already have a value for some_json?
Yes, the post already has a value for some_json.
If so, was that value saved through the ACF interface?
No, I have set it via PHP with update_field(), as described in my first post.
Can you confirm that the correct field reference is saved under the value in the database?
The Key in my database is currently “temp_key_for_some_json”. With 4.1.8.1 is being renamed to “field_some_json” (when saving that post) and after that I cannot access the fields contents any longer with get_field(“some_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.