[wp-trac] [WordPress Trac] #12891: Advanced multi-taxonomy WP_Query()s

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 6 11:23:54 UTC 2010


#12891: Advanced multi-taxonomy WP_Query()s
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |       Owner:  markjaquith         
     Type:  task (blessed)  |      Status:  assigned            
 Priority:  normal          |   Milestone:  3.1                 
Component:  Query           |     Version:  3.0.1               
 Severity:  normal          |    Keywords:  taxonomies has-patch
----------------------------+-----------------------------------------------

Comment(by dd32):

 Receiving this after SVN'uping this evening:
 {{{
 WordPress database error: [You have an error in your SQL syntax; check the
 manual that corresponds to your MySQL server version for the right syntax
 to use near ')' at line 5]
 SELECT object_id FROM wp_term_relationships INNER JOIN wp_term_taxonomy
 USING (term_taxonomy_id) WHERE taxonomy IN ('state') AND term_id IN ()
 }}}

 when viewing a taxonomy archive which doesnt exist (ie. the term doesnt
 exist, /state/404-me-please/)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12891#comment:54>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list