Error SQL:select c.* from new_catalog c where 1 and is_archiv = 'N' and (structure_id in (23, 43, 12, 24, 46, 105, 202, 280, 68, 69, 175, 64, 171, 177, 180, 199, 206, 236) or structure2_id in (23, 43, 12, 24, 46, 105, 202, 280, 68, 69, 175, 64, 171, 177, 180, 199, 206, 236) or structure3_id in (23, 43, 12, 24, 46, 105, 202, 280, 68, 69, 175, 64, 171, 177, 180, 199, 206, 236)) and ch.item_id=c.id and ch.option_id = 23 and ch.text = 'II'
Unknown column 'ch.item_id' in 'where clause'