< 1 min read
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')) AND p.post_type = 'docs' AND tt.taxonomy = 'doc_category' AND tt.term_id I...' at line 1]SELECT p.ID FROM msh_wp_posts AS p INNER JOIN msh_wp_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN msh_wp_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE p.ID = '0' AND p.ID < 359)) AND p.post_type = 'docs' AND tt.taxonomy = 'doc_category' AND tt.term_id IN (21) AND p.ID NOT IN ( SELECT tr.object_id FROM msh_wp_term_relationships tr LEFT JOIN msh_wp_term_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id) WHERE tt.term_id IN (0) ) AND p.post_status = 'publish' ORDER BY p.post_date DESC, p.ID DESC LIMIT 1
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')) AND p.post_type = 'docs' AND tt.taxonomy = 'doc_category' AND tt.term_id I...' at line 1]SELECT p.ID FROM msh_wp_posts AS p INNER JOIN msh_wp_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN msh_wp_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE p.ID = '186' AND p.ID > 359)) AND p.post_type = 'docs' AND tt.taxonomy = 'doc_category' AND tt.term_id IN (21) AND p.ID NOT IN ( SELECT tr.object_id FROM msh_wp_term_relationships tr LEFT JOIN msh_wp_term_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id) WHERE tt.term_id IN (0) ) AND p.post_status = 'publish' ORDER BY p.post_date ASC, p.ID ASC LIMIT 1