[wp-trac] [WordPress Trac] #43772: Undefined property: WP_Error::$term_id in /var/www/html/web/wp/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php on line 655
WordPress Trac
noreply at wordpress.org
Sat Apr 14 17:51:42 UTC 2018
#43772: Undefined property: WP_Error::$term_id in /var/www/html/web/wp/wp-includes
/rest-api/endpoints/class-wp-rest-terms-controller.php on line 655
--------------------------+-----------------------------
Reporter: mahnunchik | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.9.5
Severity: major | Keywords: needs-patch
Focuses: |
--------------------------+-----------------------------
I've faced with the following error while using wp-json/wp/v2/categories
API
{{{
<b>Notice</b>: Undefined property: WP_Error::$term_id in
<b>/var/www/html/web/wp/wp-includes/rest-api/endpoints/class-wp-rest-
terms-controller.php</b> on line <b>655</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent
by (output started at /var/www/html/web/wp/wp-includes/rest-api/endpoints
/class-wp-rest-terms-controller.php:655) in <b>/var/www/html/web/wp/wp-
includes/rest-api/class-wp-rest-server.php</b> on line <b>1248</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent
by (output started at /var/www/html/web/wp/wp-includes/rest-api/endpoints
/class-wp-rest-terms-controller.php:655) in <b>/var/www/html/web/wp/wp-
includes/rest-api/class-wp-rest-server.php</b> on line <b>1248</b><br />
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43772>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list