[wp-trac] [WordPress Trac] #41253: category meta endpoint always returns an empty array

WordPress Trac noreply at wordpress.org
Fri Jul 7 17:40:48 UTC 2017


#41253: category meta endpoint always returns an empty array
--------------------------+------------------------------
 Reporter:  MrG0lden      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  4.8
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  rest-api
--------------------------+------------------------------

Comment (by dbascent94):

 Have you made any direct database updates recently? I just encountered
 this issue and I solved it by resetting the taxonomy cache in the
 wp_options table. Look for an option_name like ${taxonomy}_children where
 ${taxonomy} is the hierarchical taxonomy you are trying to query, example:
 category_children. If you set that back to null, the next time WP runs the
 query it will recache the results.

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


More information about the wp-trac mailing list