[wp-trac] [WordPress Trac] #57258: Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found

WordPress Trac noreply at wordpress.org
Thu Dec 15 13:18:13 UTC 2022


#57258: Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found
--------------------------+------------------------------
 Reporter:  confile       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.1.1
 Severity:  critical      |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Description changed by costdev:

Old description:

> Wordpress version:
>

> PHP Errors:
> {{{
> Dec 02, 07:08:35
>
> Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in
> /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
> includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:17
>
> Stack Trace
> 1.
> {main}
> thrown in /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4
> /wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php on
> line 17
>
> Dec 02, 07:09:36
>
> Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in
> /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
> includes/rest-api/endpoints/class-wp-rest-settings-controller.php:17
>
> Stack Trace
> 1.
> {main}
> thrown in /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4
> /wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php on
> line 17
>
> Dec 02, 07:14:07
>
> Fatal error: Uncaught Error: Class 'WP_Widget' not found in
> /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
> includes/widgets/class-wp-widget-tag-cloud.php:17
>
> Stack Trace
> 1.
> {main}
> thrown in /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4
> /wp-includes/widgets/class-wp-widget-tag-cloud.php on line 17
>
> Dec 02, 07:15:47
>
> Fatal error: Uncaught Error: Call to undefined function __() in
> /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
> admin/user/menu.php:10
>
> Stack Trace
> 1.
> {main}
> thrown in /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4
> /wp-admin/user/menu.php on line 10
>
> Dec 02, 07:16:28
>
> Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in
> /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
> includes/rest-api/endpoints/class-wp-rest-comments-controller.php:17
>
> Stack Trace
> 1.
> {main}
> thrown in /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4
> /wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php on
> line 17
> Mark as fixed | Ignore
>
> Dec 02, 07:18:41
>
> Fatal error: Uncaught Error: Call to undefined function
> _deprecated_file() in /kunden/365999_20251/webseiten/michaelgorski.net
> /wp-dmg-www-v4/wp-includes/class.wp-dependencies.php:11
>
> Stack Trace
> 1.
> {main}
> thrown in /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4
> /wp-includes/class.wp-dependencies.php on line 11
> }}}

New description:

 Wordpress version:


 PHP Errors:
 {{{

 Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in wp-
 includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:17

 1. {main} thrown in wp-includes/rest-api/endpoints/class-wp-rest-
 revisions-controller.php on line 17

 ---

 Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in wp-
 includes/rest-api/endpoints/class-wp-rest-settings-controller.php:17

 1. {main} thrown in wp-includes/rest-api/endpoints/class-wp-rest-settings-
 controller.php on line 17

 ---

 Fatal error: Uncaught Error: Class 'WP_Widget' not found in wp-
 includes/widgets/class-wp-widget-tag-cloud.php:17

 1. {main} thrown in wp-includes/widgets/class-wp-widget-tag-cloud.php on
 line 17

 ---

 Fatal error: Uncaught Error: Call to undefined function __() in wp-
 admin/user/menu.php:10

 1. {main} thrown in wp-admin/user/menu.php on line 10

 ---

 Fatal error: Uncaught Error: Class 'WP_REST_Controller' not found in wp-
 includes/rest-api/endpoints/class-wp-rest-comments-controller.php:17

 1. {main} thrown in wp-includes/rest-api/endpoints/class-wp-rest-comments-
 controller.php on line 17

 ---

 Fatal error: Uncaught Error: Call to undefined function _deprecated_file()
 in wp-includes/class.wp-dependencies.php:11

 1. {main} thrown in wp-includes/class.wp-dependencies.php on line 11
 }}}

--

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


More information about the wp-trac mailing list