Database Error; SQL: SELECT
DISTINCT
*, `t`.`ID` AS `pod_item_id`
FROM `o_posts` AS `t`
WHERE ( ( `t`.`ID` = 18483 OR `t`.`ID` = 18521 OR `t`.`ID` = 18518 OR `t`.`ID` = 18520 OR `t`.`ID` = 18519 ) AND ( `t`.`post_type` = "attachment" ) ); Response: Unknown column 'attachment' in 'where clause'