SELECT `term_taxonomy_id` FROM wp_term_relationships WHERE `object_id` = 17274 AND `term_taxonomy_id` IN()ORDER by `term_taxonomy_id` ASC
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 ')ORDER by `term_taxonomy_id` ASC' at line 1