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

WordPress Trac noreply at wordpress.org
Thu Sep 14 15:42:38 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 subrataemfluence):

 @firebird75 thank you for explaining how-to. I will install the plugin
 soon! Btw, would like to know what makes you feel my reply a great one...
 lol!

 Replying to [comment:2 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:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list