Socket: cimio2bb_cimiorb@stzvlk3169:localhost:cimio2bb_cimorbr
Query: SELECT, a.editoria_id, a.titulo, a.foto_home, a.descricao, DATE_FORMAT(data_inicial,'%d/%m/%Y') as data_inicial, DATE_FORMAT(data_inicial,'%Hh%i') as hora_inicial, DATE_FORMAT(data_final,'%d/%m/%Y') as data_final, DATE_FORMAT(data_final,'%H:%i') as hora_final, b.nome as editoria_nome FROM conteudo as a INNER JOIN agenda as n ON conteudo_id = LEFT JOIN editoria as b ON a.editoria_id = WHERE a.site_id = 1 and c.lang='en' and a.editoria_id IN (select cid from editoria_arvore where pid = '3' || cid = '3') ORDER BY data_inicial DESC
Error: Unknown column 'c.lang' in 'where clause'