Error i.ent.sessao: SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "codentidade" violates not-null constraint DETAIL: Failing row contains (376467, null, null, ce17e7cb331a7a9f8a11401e4d8a5560, 18.216.42.225 , ec2-18-216-42-225.us-east-2.compute.amazonaws.com ..., 2024-11-22 19:18:03.206677, 2024-11-22 19:18:03.206677, 2024-11-22 19:18:03.206677, , null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null).
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "AND" LINE 9: tme.codentidade = AND tm.url = 'contas-publ... ^' in /home/wwwcontas/public_html/class/bd/cms.php:37 Stack trace: #0 /home/wwwcontas/public_html/class/bd/cms.php(37): PDO->query('SELECT\n ...') #1 /home/wwwcontas/public_html/class/menu.php(62): DataBaseCMS->select(Object(PDO), '\n SE...') #2 /home/wwwcontas/public_html/class/menu.php(135): MenuTransparencia->acessaMenu(Object(PDO), Object(DataBaseCMS), 'contas-publicas', 'balancos-orcame...', 'balanco-patrimo...', 'quadro-de-conta...', NULL) #3 /home/wwwcontas/public_html/index.php(15): include('/home/wwwcontas...') #4 {main} thrown in /home/wwwcontas/public_html/class/bd/cms.php on line 37