Erro no banco de dados do WordPress: [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
post_status = 'publish' AND
post_type ...' at line 9]SELECT *
FROM gx_posts A
JOIN gx_term_relationships tr ON (A.ID = tr.object_id)
JOIN gx_term_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id)
JOIN gx_terms t ON (tt.term_id = t.term_id)
WHERE
ID <> 6876 AND
tt.taxonomy = 'category' AND
tt.term_id IN () AND
post_status = 'publish' AND
post_type = 'post' AND
post_title LIKE '%flagras%'
ORDER BY RAND()
LIMIT 100;
Erro no banco de dados do WordPress: [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
post_status = 'publish' AND
post_type ...' at line 9]SELECT *
FROM gx_posts A
JOIN gx_term_relationships tr ON (A.ID = tr.object_id)
JOIN gx_term_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id)
JOIN gx_terms t ON (tt.term_id = t.term_id)
WHERE
ID <> 6876 AND
tt.taxonomy = 'category' AND
tt.term_id IN () AND
post_status = 'publish' AND
post_type = 'post'
ORDER BY RAND()
LIMIT 100;