Skip to content

REST API error when using acf_medium as repeater subfield #34

@lavin1337

Description

@lavin1337

When I set a repeater subfield to Medium Editor:

in /var/www/html/wp-content/plugins/advanced-custom-fields-pro/includes/rest-api/acf-rest-api-functions.php on line 11

Call stack:

acf_get_field_rest_schema()
wp-content/plugins/advanced-custom-fields-pro/pro/fields/class-acf-field-repeater.php:1132
acf_field_repeater::get_rest_schema()
wp-content/plugins/advanced-custom-fields-pro/includes/rest-api/acf-rest-api-functions.php:11
acf_get_field_rest_schema()
wp-content/plugins/advanced-custom-fields-pro/includes/rest-api/class-acf-rest-api.php:112
ACF_Rest_Api::get_schema()
wp-content/plugins/advanced-custom-fields-pro/includes/rest-api/class-acf-rest-api.php:64
ACF_Rest_Api::register_field()
wp-content/plugins/advanced-custom-fields-pro/includes/rest-api/class-acf-rest-api.php:35
ACF_Rest_Api::initialize()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:327
WP_Hook::do_action()
wp-includes/plugin.php:470
do_action()
wp-includes/rest-api.php:537
rest_get_server()
wp-includes/rest-api.php:363
rest_api_loaded()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:327
WP_Hook::do_action()
wp-includes/plugin.php:518
do_action_ref_array()
wp-includes/class-wp.php:388
WP::parse_request()
wp-includes/class-wp.php:750
WP::main()
wp-includes/functions.php:1291
wp()
wp-blog-header.php:16
require()
index.php:17```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions