[wp-trac] [WordPress Trac] #54544: fatal error when entering the site editor after updating to 5.9-beta1

WordPress Trac noreply at wordpress.org
Wed Dec 1 00:10:30 UTC 2021


#54544: fatal error when entering the site editor after updating to 5.9-beta1
--------------------------+------------------------------
 Reporter:  pbiron        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Description changed by pbiron:

Old description:

> After updating to 5.9-beta1 via the [xx Beta Tester plugin], when I
> switch to the 2022 them and try to enter the site editor, I get the
> following fatal error:
>
> {{{
> Fatal error: Uncaught Error: Class 'WP_REST_Edit_Site_Export_Controller'
> not found
> in /path-to-site/wp-includes/rest-api.php on line 354
> }}}
>
> I do not have CLI access to the site that is experiencing that problem,
> so it's hard for me to debug the problem any further.
>
> I also updated a few other sites on my local machine and I'm getting that
> error on the other sites.
>
> Here's the full error log:
>
> {{{
> [30-Nov-2021 23:46:30 UTC] PHP Fatal error:  Uncaught Error: Class
> 'WP_REST_Edit_Site_Export_Controller' not found in /path-to-site/wp-
> includes/rest-api.php:354
> Stack trace:
> #0 /path-to-site/wp-includes/class-wp-hook.php(303):
> create_initial_rest_routes(Object(WP_REST_Server))
> #1 /path-to-site/wp-includes/class-wp-hook.php(327):
> WP_Hook->apply_filters(NULL, Array)
> #2 /path-to-site/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
> #3 /path-to-site/wp-includes/rest-api.php(553):
> do_action('rest_api_init', Object(WP_REST_Server))
> #4 /path-to-site/wp-includes/rest-api.php(511): rest_get_server()
> #5 /path-to-site/wp-includes/rest-api.php(2860):
> rest_do_request(Object(WP_REST_Request))
> #6 [internal function]: rest_preload_api_request(Array, '/wp/v2/media')
> #7 /path-to-site/wp-includes/block-editor.php(474): array_reduce(Array,
> 'rest_preload_ap...', Array)
> #8 /home/sangr1/public_html/dev2/wp-admin/site-editor.php(108):
> block_edit in /path-to-site/wp-includes/rest-api.php on line 354
> }}}

New description:

 After updating to 5.9-beta1 via the [xx Beta Tester plugin], when I switch
 to the 2022 them and try to enter the site editor, I get the following
 fatal error:

 {{{
 Fatal error: Uncaught Error: Class 'WP_REST_Edit_Site_Export_Controller'
 not found
 in /path-to-site/wp-includes/rest-api.php on line 354
 }}}

 I do not have CLI access to the site that is experiencing that problem, so
 it's hard for me to debug the problem any further.

 I also updated a few other sites on my local machine and I'm getting that
 error on the other sites.

 Here's the full error log:

 {{{
 [30-Nov-2021 23:46:30 UTC] PHP Fatal error:  Uncaught Error: Class
 'WP_REST_Edit_Site_Export_Controller' not found in /path-to-site/wp-
 includes/rest-api.php:354
 Stack trace:
 #0 /path-to-site/wp-includes/class-wp-hook.php(303):
 create_initial_rest_routes(Object(WP_REST_Server))
 #1 /path-to-site/wp-includes/class-wp-hook.php(327):
 WP_Hook->apply_filters(NULL, Array)
 #2 /path-to-site/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
 #3 /path-to-site/wp-includes/rest-api.php(553): do_action('rest_api_init',
 Object(WP_REST_Server))
 #4 /path-to-site/wp-includes/rest-api.php(511): rest_get_server()
 #5 /path-to-site/wp-includes/rest-api.php(2860):
 rest_do_request(Object(WP_REST_Request))
 #6 [internal function]: rest_preload_api_request(Array, '/wp/v2/media')
 #7 /path-to-site/wp-includes/block-editor.php(474): array_reduce(Array,
 'rest_preload_ap...', Array)
 #8 /path-to-site/wp-admin/site-editor.php(108): block_edit in /path-to-
 site/wp-includes/rest-api.php on line 354
 }}}

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54544#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list