• Resolved Mateusz Paulski

    (@mateuszp1)


    Hi
    I tried to update user fields but its not working.
    after some diging I found that the problem is in line 114 of class-acf-to-rest-api-controller.php

    $fields = $this->get_field_objects( $this->id );

    this returns empty array of user fields.

    when you chage it to ACf function get_field_objects evething is ok so ive made workaround with acf/rest_api/user/prepare_item filter.

    please check your get_field_objects method.

    https://www.ads-software.com/plugins/acf-to-rest-api/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Updating user acf fields don`t work’ is closed to new replies.