Support

Account

Home Forums Add-ons Repeater Field User's Repeater Sub Field ( Multisite ) not updating correctly

Solving

User's Repeater Sub Field ( Multisite ) not updating correctly

  • Hello guys,

    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:
    http://prntscr.com/c3u5oo

    —- Versions —-
    ACF v5.3.9.2
    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!

  • Hi @tzio

    Could you please debug the value like this:

    $repeater_value = get_field('bravo_categories', 'user_'.$user->ID);
    var_dump($repeater_value);

    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.

    Thanks 🙂

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

The topic ‘User's Repeater Sub Field ( Multisite ) not updating correctly’ is closed to new replies.