Support

Account

Home Forums General Issues update_field not updating fiel Reply To: update_field not updating fiel

  • I have traced it down to function acf_maybe_get_sub_field(). This is part of the function:

    	if ( ! is_array( $selectors ) || count( $selectors ) < 3 ) {
    		return false;
    	}

    The number of $selectors is 2 so it fails. Should there be a three?

    If I print_r($selectors) I get:

    Array ( [0] => field_64b38c4e3ec56 [1] => field_64c782fc4c55d )

    …meaning there are only 2 selectors and I guess it is expecting a min of 3, right?