Error en la base de datos de WordPress: [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 tm.meta_value+0 ASC, ASC' at line 1]
SELECT DISTINCT t.*, tt.*, tr.object_id 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 LEFT JOIN wp_termmeta AS tm ON (t.term_id = tm.term_id AND tm.meta_key = 'order') WHERE tt.taxonomy IN ('product_type', 'product_cat', 'product_tag', 'product_shipping_class', 'pa_diametros', 'pa_tamano') AND tr.object_id IN (161, 177, 200, 221, 228, 241, 350, 353) AND t.term_id NOT IN() ORDER BY tm.meta_value+0 ASC, ASC