Query failed : SELECT id FROM `accommodation` WHERE (`approved` = 1 AND `town` LIKE '%%' OR `village` LIKE '%%') AND (`type` = 19 OR `type1` = 19)AND `_conferences`=1 Unknown column '_conferences' in 'where clause'