[wp-trac] [WordPress Trac] #41867: wp_list_categories throws SQL error if list is empty

WordPress Trac noreply at wordpress.org
Wed Sep 13 15:05:21 UTC 2017


#41867: wp_list_categories throws SQL error if list is empty
-------------------------------+------------------------------
 Reporter:  firebird75         |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Taxonomy           |     Version:  4.8.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by firebird75):

 Wow, what a great and fast reply!!!

 The query you are showing up is the second one. There is one before that.
 You won't be able to see it with the last_query. You need to install a
 plugin like blackbox to see all the queries and so the one throwing the
 error.

 Thanks!

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


More information about the wp-trac mailing list