Erro ao executar consulta Cannot add or update a child row: a foreign key constraint fails (`zadmin_sig2setedias`.`sig_conteudos_clicks`, CONSTRAINT `FK_sig_conteudos_clicks` FOREIGN KEY (`idConteudo`) REFERENCES `sig_conteudos` (`id`) ON DELETE CASCADE) /** Time: 1601202597 Id Usuário: 1 Trace: #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/src/Old/Funcoes.php [1762] #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/pags/noticia.php [11] #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/index.php [224] **/ INSERT INTO sig_conteudos_clicks (idConteudo,ip,dataClick) VALUES ('index.php','3.235.105.97',NOW())Erro ao executar consulta Unknown column 'index.php' in 'where clause' /** Time: 1601202597 Id Usuário: 1 Trace: #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/src/Old/Noticias.php [95] #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/pags/noticia.php [12] #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/index.php [224] **/ SELECT c.id,c.titulo,c.descricao, c.texto,c.youtube,cc.categoriaConteudo,c.galeria,c.dataCad, c.IniciarPublicacao,c.exibeVideo FROM sig_conteudos AS c LEFT JOIN sig_conteudos_categorias AS cc ON c.id=cc.idConteudo WHERE c.status='Ativo' AND NOW() >= c.IniciarPublicacao AND c.id = index.php ORDER BY c.IniciarPublicacao DESC LIMIT 1Erro ao executar consulta Unknown column 'index.php' in 'where clause' /** Time: 1601202597 Id Usuário: 1 Trace: #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/src/Old/Noticias.php [224] #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/pags/noticia.php [21] #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/index.php [224] **/ SELECT g.caminho, g.comentario FROM sig_ged AS g WHERE g.Modulo = 'conteudos 1.0' AND g.tipo IN('image/jpeg','image/png','image/gif') AND g.idModulo = index.php ORDER BY g.id DESC LIMIT 1