Support

Account

Home Forums Bug Reports Bug: acf_get_reference() is returning incorrect field reference Reply To: Bug: acf_get_reference() is returning incorrect field reference

  • Are you specifying the post ID when working with the repeater? If the current post ID for the current page is for “post type A” and you are trying to update “post type B” then ACF is returning the wrong field reference because it’s looking at the wrong post.

    Just guessing, additional code that explains what you are doing might help.