Fatal error: Uncaught Error: Class "WP_REST_Post_Types_Controller" not found in /wp-includes/rest-api.php:293 Stack trace: #0 [internal function]: create_initial_rest_routes(Object(WP_REST_Server)) #1 /wp-includes/class-wp-hook.php(348): call_user_func_array('...', Array) #2 /wp-includes/class-wp-hook.php(372): WP_Hook->apply_filters(NULL, Array) #3 /wp-includes/plugin.php(522): WP_Hook->do_action(Array) #4 /wp-includes/rest-api.php(636): do_action('...', Object(WP_REST_Server)) #5 /wp-includes/rest-api.php(460): rest_get_server() #6 [internal function]: rest_api_loaded(Object(WP)) #7 /wp-includes/class-wp-hook.php(348): call_user_func_array('...', Array) #8 /wp-includes/class-wp-hook.php(372): WP_Hook->apply_filters('', Array) #9 /wp-includes/plugin.php(570): WP_Hook->do_action(Array) #10 /wp-includes/class-wp.php(418): do_action_ref_array('...', Array) #11 /wp-includes/class-wp.php(821): WP->parse_request('') #12 /wp-includes/functions.php(1343): WP->main('') #13 /wp-blog-header.php(16): wp() #14 /index.php(16): require('...') #15 {main} thrown in /wp-includes/rest-api.php on line 293