Support

Account

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.

    ACF field

    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.