SELECT op.*,section_prompt,ops.hidden as hidden_section FROM orgpages op LEFT JOIN orgpagesections ops ON op.org_id=ops.org_id AND op.section_id=ops.section_id AND op.loc_id=ops.loc_id AND op.org_id=8009 WHERE op.org_id=8009 AND op.site_id=0 AND op.loc_id='en_CA' AND op.page_users IN ('Public') AND op.page_type='page' ORDER BY op.homepage DESC, ops.sequence,op.sequence,op.page_prompt
Unknown column 'ops.hidden' in 'field list'