[wp-trac] [WordPress Trac] #39388: Can't delete tags under custom taxonomies

WordPress Trac noreply at wordpress.org
Tue Mar 7 17:02:37 UTC 2017


#39388: Can't delete tags under custom taxonomies
-------------------------------+-----------------------
 Reporter:  contempoinc        |       Owner:
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:
Component:  Taxonomy           |     Version:  4.7
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+-----------------------
Changes (by contempoinc):

 * status:  closed => reopened
 * resolution:  worksforme =>


Comment:

 This is the error I'm seeing, and again this only happened after WP 4.7+


 {{{
 [07-Mar-2017 17:00:12 UTC] 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 '* 1 ASC' at line 1 for query
 SELECT  t.*, tt.* FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON
 t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr ON
 tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('beds')
 AND tr.object_id IN (1792) ORDER BY  * 1 ASC  made by edit_post,
 wp_update_post, wp_insert_post, wp_set_post_terms, wp_set_object_terms,
 wp_get_object_terms, get_terms, WP_Term_Query->query,
 WP_Term_Query->get_terms
 [07-Mar-2017 17:00:12 UTC] 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 '* 1 ASC' at line 1 for query
 SELECT  t.*, tt.* FROM wp_terms AS t  INNER JOIN wp_term_taxonomy AS tt ON
 t.term_id = tt.term_id INNER JOIN wp_term_relationships AS tr ON
 tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('baths')
 AND tr.object_id IN (1792) ORDER BY  * 1 ASC  made by edit_post,
 wp_update_post, wp_insert_post, wp_set_post_terms, wp_set_object_terms,
 wp_get_object_terms, get_terms, WP_Term_Query->query,
 WP_Term_Query->get_terms
 }}}

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


More information about the wp-trac mailing list