Unfortunately this isn’t the case. To test if these rows even exist i tried this:
if (function_exists('have_rows')) {
while (have_rows('field_61c18b86ee6fd')) {
dd('test');
}
}
This did not return the expected ‘test’, ‘field_61c18b86ee6fd’ is the key of the repeater. I tied to use the sub fields key and this also didn’t return the expected ‘test’. I wondered what it could be until i found this.
In the database there is a related_player_0_reservation_participant
and a _related_player_0_reservation_participant
the related_player_0_reservation_participant
was not filled with an id. Updating this field like so: update_field('related_player_0_reservation_participant', 1, 204);
did the trick for me. Anyways thanks for your help.
I am sure that the post_id is 204, but i am not quiet sure about the value of the user. The sub field is a user field. Does it even accept ‘user_3’ as value or do i need to specify only the user id?
I do see that the fields are being set in the wp_postmeta and also the value is set see this image: