Fatal error: Uncaught Error: Call to undefined method WP_Post_Type::get_rest_controller() in /www/wwwroot/simtrv.com/wp-includes/rest-api.php:238
Stack trace:
#0 /www/wwwroot/simtrv.com/wp-includes/class-wp-hook.php(286): create_initial_rest_routes(Object(WP_REST_Server))
#1 /www/wwwroot/simtrv.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /www/wwwroot/simtrv.com/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#3 /www/wwwroot/simtrv.com/wp-includes/rest-api.php(587): do_action('rest_api_init', Object(WP_REST_Server))
#4 /www/wwwroot/simtrv.com/wp-includes/rest-api.php(411): rest_get_server()
#5 /www/wwwroot/simtrv.com/wp-includes/class-wp-hook.php(286): rest_api_loaded(Object(WP))
#6 /www/wwwroot/simtrv.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#7 /www/wwwroot/simtrv.com/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
#8 /www/wwwroot/simtrv.com/wp-includes/class-wp.php(375): do_action_ref_array('parse_request', Array)
#9 /www/wwwroot/simtrv.com in /www/wwwroot/simtrv.com/wp-includes/rest-api.php on line 238