Fatal error: Uncaught Error: Call to undefined function register_rest_field() in /srv/users/bpcc/apps/ibpd/public/wp-content/plugins/sportspress/includes/api/class-sp-rest-api.php:60
Stack trace:
#0 /srv/users/bpcc/apps/ibpd/public/wp-includes/plugin.php(525): SP_REST_API->register_fields(Object(WP_REST_Server))
#1 /srv/users/bpcc/apps/ibpd/public/wp-includes/rest-api.php(294): do_action('rest_api_init', Object(WP_REST_Server))
#2 /srv/users/bpcc/apps/ibpd/public/wp-includes/rest-api.php(144): rest_get_server()
#3 /srv/users/bpcc/apps/ibpd/public/wp-includes/plugin.php(601): rest_api_loaded(Object(WP))
#4 /srv/users/bpcc/apps/ibpd/public/wp-includes/class-wp.php(387): do_action_ref_array('parse_request', Array)
#5 /srv/users/bpcc/apps/ibpd/public/wp-includes/class-wp.php(726): WP->parse_request('')
#6 /srv/users/bpcc/apps/ibpd/public/wp-includes/functions.php(952): WP->main('')
#7 /srv/users/bpcc/apps/ibpd/public/wp-blog-header.php(16): wp()
#8 /srv/users/bpcc/apps/ibpd/public/index.php(17): require('/srv/users/bpcc...')
in /srv/users/bpcc/apps/ibpd/public/wp-content/plugins/sportspress/includes/api/class-sp-rest-api.php on line 60