I am trying to update a User’s Repeater Sub Field ( Multisite ) and it does update but not right!
After some tests am pretty sure that the get_sub_field does not retrieve the value from the sub field! Do you have any idea?
See screenshot below:
—- Versions —-
WP vVersion 4.5.3
My update_sub_field( ‘field_57a98696be65f’,10); // is working when I test with a constant! But the get_sub_field(‘value’) always returns 0!
Could you please debug the value like this:
$repeater_value = get_field('bravo_categories', 'user_'.$user->ID);
Also, could you please try to reproduce the issue on one of the WordPress’ stock themes (like Twenty Sixteen) with other plugins deactivated? If it disappears, then you can activate the theme and plugins one by one to see which one causes the issue.