Database Error; SQL: SELECT
DISTINCT
*, `t`.`ID` AS `pod_item_id`
FROM `o_posts` AS `t`
WHERE ( ( `t`.`ID` = 18400 OR `t`.`ID` = 18393 OR `t`.`ID` = 18396 OR `t`.`ID` = 18397 OR `t`.`ID` = 18395 OR `t`.`ID` = 18394 OR `t`.`ID` = 18398 OR `t`.`ID` = 18399 ) AND ( `t`.`post_type` = "attachment" ) ); Response: Unknown column 'attachment' in 'where clause'