[wp-trac] [WordPress Trac] #51247: Uncaught Error rest-api.php:2209
WordPress Trac
noreply at wordpress.org
Fri Sep 4 15:16:16 UTC 2020
#51247: Uncaught Error rest-api.php:2209
--------------------------+-----------------------------
Reporter: rpayne7264 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 5.5.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
PHP Fatal error: Uncaught Error: Call to undefined method
stdClass::get_rest_controller() in .../wp-includes/rest-api.php:2209
A check needs to be added to make sure $taxonomy is an instance of
WP_Taxonomy. The root cause, however, may be the class definition has not
been loaded yet, so PHP creates it as a "stdClass" (standard class.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51247>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list