Home Forums General Issues update_field on Repeater Field Error


update_field on Repeater Field Error

  • im getting a
    Warning: Invalid argument supplied for foreach() in [wordpress path goes here]/wp-content/plugins/advanced-custom-fields-pro/pro/fields/class-acf-field-repeater.php on line 849

    when i try and pass

        [0] => Array
                [phonenumber] => 555-555-5975

    in a
    update_field() function

    to a repearter field called “phonenumbers” with a repeated text field called “phonenumber”

    is there something I am doing wrong?

  • NVM
    I used the field key instead and it started working for wherever reason.
    Is this a bug?

  • NVM again,
    Still not working.

  • You should use the field key for the repeater and all sub fields.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘update_field on Repeater Field Error’ is closed to new replies.