Home › Forums › Bug Reports › get_field() can't retrieve new post saved with update_field in ACF 4.1.8 › Reply To: get_field() can't retrieve new post saved with update_field in ACF 4.1.8
Hi @acffan
I don’t belive the issue is caused from update 4.1.7 to 4.1.8 as there has been no code change which would effect this function.
However, it is possible that after the update, your code was run on a different post object, and in doing so, you spotted a bug caused by not having a ‘reference’ field.
Please read up on the update_field function in the documentation to learn more about this hidden value which is required for ACF to work
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.