WordPress databasefout: [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 kuka_posts AS p INNER JOIN kuka_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN kuka_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE p.ID = '14606' AND p.ID < 14731)) AND p.post_type = 'docs' AND tt.taxonomy = 'doc_category' AND tt.term_id IN (1101,1103) AND p.ID NOT IN ( SELECT tr.object_id FROM kuka_term_relationships tr LEFT JOIN kuka_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 databasefout: [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 kuka_posts AS p INNER JOIN kuka_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN kuka_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE p.ID = '0' AND p.ID > 14731)) AND p.post_type = 'docs' AND tt.taxonomy = 'doc_category' AND tt.term_id IN (1101,1103) AND p.ID NOT IN ( SELECT tr.object_id FROM kuka_term_relationships tr LEFT JOIN kuka_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