Home Forums Bug Reports acf_get_value notice incorrect Reply To: acf_get_value notice incorrect

  • Update after using my workaround for a while now.
    Field names are not unique and the internal ACF store just overwrites name => key mapping when a duplicate is added. When using my workaround this makes get value potentially return the wrong field key.

    For example, using the following setup would always return the key for field group 2:
    field group 1
    – field “link”
    field group 2
    – field “link”

    I’ve expanded my workaround to make a difference between options and post fields assuming options are actually unique making options always do a DB roundtrip again.