Notice: Function register_rest_route was called incorrectly. REST API routes must be registered on the rest_api_init action. Please see Debugging in WordPress for more information. (This message was added in version 5.1.0.) in /home3/hxefszctsxi7/public_html/wp-includes/functions.php on line 6078
Notice: Function WP_REST_Controller::register_routes was called incorrectly. Method 'WP_REST_Controller::register_routes' must be overridden. Please see Debugging in WordPress for more information. (This message was added in version 4.7.0.) in /home3/hxefszctsxi7/public_html/wp-includes/functions.php on line 6078
Fatal error: Uncaught Error: Class "WP_Site_Health" not found in /home3/hxefszctsxi7/public_html/wp-includes/rest-api.php:375
Stack trace:
#0 /home3/hxefszctsxi7/public_html/wp-includes/class-wp-hook.php(324): create_initial_rest_routes(Object(WP_REST_Server))
#1 /home3/hxefszctsxi7/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#2 /home3/hxefszctsxi7/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home3/hxefszctsxi7/public_html/wp-includes/rest-api.php(597): do_action('rest_api_init', Object(WP_REST_Server))
#4 /home3/hxefszctsxi7/public_html/wp-includes/rest-api.php(125): rest_get_server()
#5 /home3/hxefszctsxi7/public_html/wp-content/themes/astra/admin/includes/class-astra-api-init.php(96): register_rest_route('astra/v1', '/admin/settings...', Array)
#6 /home3/hxefszctsxi7/public_html/wp-content/themes/astra/admin/includes/class-astra-api-init.php(42): Astra_API_Init->__construct()
#7 /home3/hxefszctsxi7/public_html/wp-content/themes/astra/admin/includes/class-astra-api-init.php(182): Astra_API_Init::get_instance()
#8 /home3/hxefszctsxi7/public_html/wp-content/themes/astra/functions.php(109): require_once('/home3/hxefszct...')
#9 /home3/hxefszctsxi7/public_html/wp-settings.php(663): include('/home3/hxefszct...')
#10 /home3/hxefszctsxi7/public_html/wp-config.php(103): require_once('/home3/hxefszct...')
#11 /home3/hxefszctsxi7/public_html/wp-load.php(50): require_once('/home3/hxefszct...')
#12 /home3/hxefszctsxi7/public_html/wp-blog-header.php(13): require_once('/home3/hxefszct...')
#13 /home3/hxefszctsxi7/public_html/index.php(17): require('/home3/hxefszct...')
#14 {main}
thrown in /home3/hxefszctsxi7/public_html/wp-includes/rest-api.php on line 375