Database Error; SQL: SELECT DISTINCT `t`.`ID` AS `pod_item_id` FROM `o_posts` AS `t` WHERE ( ( `t`.`ID` = 12132 OR `t`.`ID` = 12131 OR `t`.`ID` = 12130 OR `t`.`ID` = 12129 OR `t`.`ID` = 12128 OR `t`.`ID` = 12127 OR `t`.`ID` = 12126 ) AND ( `t`.`post_type` = "attachment" ) ); Response: Unknown column 'attachment' in 'where clause'