QUERY: {{select * from block_configuration bc inner join block b inner join block_language bl on (b.block_id=bc.block_id and b.block_id=bl.block_id and bl.language_id='3') where position='left' and block_status=1 and (show_on_visitor=1 or (show_on_visitor=0 and 0>0)) and (show_on_all_site=1 or (show_on_all_site=0 and block_main_section='site' and block_main_section_id='0')) and (show_on_all_customer_group=1 or (show_on_all_customer_group=0 and customer_group_text like '%|1|%' )) and (block_main_section='site' or block_main_section='default') group by b.block_id order by block_sort_order asc}}

ERROR: Unknown column 'show_on_all_site' in 'where clause'QUERY: {{select * from block_configuration bc inner join block b inner join block_language bl on (b.block_id=bc.block_id and b.block_id=bl.block_id and bl.language_id='3') where position='right' and block_status=1 and (show_on_visitor=1 or (show_on_visitor=0 and 0>0)) and (show_on_all_site=1 or (show_on_all_site=0 and block_main_section='site' and block_main_section_id='0')) and (show_on_all_customer_group=1 or (show_on_all_customer_group=0 and customer_group_text like '%|1|%' )) and (block_main_section='site' or block_main_section='default') group by b.block_id order by block_sort_order asc}}

ERROR: Unknown column 'show_on_all_site' in 'where clause'