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

WordPress Trac noreply at wordpress.org
Fri Sep 15 12:41:12 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):

 The query you have highlighted is not the same as the one causing the
 trouble. I have checked your screenshot and I can't see the same type of
 query into it. This is probably why you aren't seeing the issue.

 Maybe try to make it hierarchical taxonomy and make the call at the
 deepest level as this is the only way I can see the issue.

 Thanks again my friend!

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


More information about the wp-trac mailing list