Database Error; SQL: SELECT
DISTINCT
`t`.*, `d`.*
FROM `mxsfb_posts` AS `t`
LEFT JOIN `mxsfb_pods_post` AS `d` ON `d`.`id` = `t`.`ID`
WHERE ( ( t.ID = and t.post_status = "publish" ) AND ( `t`.`post_type` = "post" ) )
ORDER BY `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`
LIMIT 0, 1; 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_status = "publish" ) AND ( `t`.`post_type` = "post" ) )
...' at line 7