Database Error; SQL: SELECT
DISTINCT
`t`.*
FROM `wp_posts` AS `t`
WHERE ( ( t.id ) AND ( `t`.`post_type` = "countries" ) AND ( `t`.`post_status` IN ( "publish" ) ) )
ORDER BY `t`.`ID` ASC, `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`
LIMIT 0, 15; Response: 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 ( `t`.`post_type` = "countries" ) AND ( `t`.`post_status` IN ( "publish" )' at line 7