Home › Forums › General Issues › get_field returning null after update › Reply To: get_field returning null after update
I cant rigth now, as installing the update breaks the live site. I need to setup a test site with the update.
As I said the same code works in 5.10.2, so the get_field call is valid and there is data in that field.
I will let you know when I have a test site ready.
The field I am trying to get data from is named “udstiller_label_ental”
The posttype is called “produkt”
So I tried:
get_field('udstiller_label_ental','produkt_archive');
But got no data in version 5.11. In version 5.10.2 I get “udstiller” as a result.
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've just released ACF 5.12.3 with a security fix to prevent arbitrary file uploads to forms with ACF fields.
— Advanced Custom Fields (@wp_acf) July 14, 2022
Now that we've released this update, we recommend updating your sites as soon as possible.
© 2022 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.