Database Error; SQL: SELECT
DISTINCT
*, `t`.`ID` AS `pod_item_id`
FROM `o_posts` AS `t`
WHERE ( ( `t`.`ID` = 18513 OR `t`.`ID` = 18511 OR `t`.`ID` = 18508 OR `t`.`ID` = 18512 OR `t`.`ID` = 18510 OR `t`.`ID` = 18509 OR `t`.`ID` = 18507 OR `t`.`ID` = 18506 ) AND ( `t`.`post_type` = "attachment" ) ); Response: Unknown column 'attachment' in 'where clause'