WordPress update to 5.6 crashed my site.
-
Greetings,
Auto update of wordpress to 5.6 has crashed my site. Below is the error I’m receiving:
Notice: register_rest_route was called incorrectly. The REST API route definition for wp/v2/user-generate-nonce is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in /home1/vtwofarm/public_html/wp-includes/functions.php on line 5311
`Fatal error: Uncaught Error: Class ‘WP_Site_Health’ not found in /home1/vtwofarm/public_html/wp-includes/rest-api.php:321 Stack trace: #0 /home1/vtwofarm/public_html/wp-includes/class-wp-hook.php(287): create_initial_rest_routes(Object(WP_REST_Server)) #1 /home1/vtwofarm/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /home1/vtwofarm/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /home1/vtwofarm/public_html/wp-includes/rest-api.php(521): do_action(‘rest_api_init’, Object(WP_REST_Server)) #4 /home1/vtwofarm/public_html/wp-includes/rest-api.php(109): rest_get_server() #5 /home1/vtwofarm/public_html/wp-content/themes/storefront-child/inc/class-user-register.php(28): register_rest_route(‘wp/v2’, ‘/user-generate-…’, Array) #6 /home1/vtwofarm/public_html/wp-content/themes/storefront-child/inc/class-user-register.php(283): User_Register->__construct() #7 /home1/vtwofarm/public_html/wp-content/themes/storefront-child/functions.php(7): require_once(‘/home1/vtwofarm… in /home1/vtwofarm/public_html/wp-includes/rest-api.php on line 321
There has been a critical error on this website. Please check your site admin email inbox for instructions.Any help is much appreciated
The page I need help with: [log in to see the link]
- The topic ‘WordPress update to 5.6 crashed my site.’ is closed to new replies.