An exception occurred while executing 'SELECT t0_.id_pagina_estatica AS id_pagina_estatica0, t0_.at_username AS at_username1, t0_.dt_cadastro AS dt_cadastro2, t0_.dt_inicial AS dt_inicial3, t0_.dt_final AS dt_final4, t0_.no_titulo AS no_titulo5, t0_.ds_conteudo AS ds_conteudo6, t0_.ds_palavras_chave AS ds_palavras_chave7, t0_.st_propriedade_sede AS st_propriedade_sede8, t0_.st_publicado AS st_publicado9, t0_.id_menu AS id_menu10 FROM tb_pagina_estatica t0_ LEFT JOIN tb_pagina_estatica_galeria t1_ ON t0_.id_pagina_estatica = t1_.id_pagina_estatica WHERE t0_.id_pagina_estatica = ? AND t0_.st_publicado = 1 AND ? >= t0_.dt_inicial AND (? <= t0_.dt_final OR t0_.dt_final IS NULL)' with params ["644|Patrim\u00f4nio", "2018-11-21 17:03:29", "2018-11-21 17:03:29"]: SQLSTATE[22P02]: Invalid text representation: 7 ERRO: sintaxe de entrada é inválida para integer: "644|Patrimônio"