Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "AND" LINE 19: c.codmenu = AND ^' in /home/pinheiral/public_html/class/bd.php:43 Stack trace: #0 /home/pinheiral/public_html/class/bd.php(43): PDO->query('SELECT \n ...') #1 /home/pinheiral/public_html/class/link.php(220): DataBase->select(Object(PDO), '\n SE...') #2 /home/pinheiral/public_html/class/link.php(273): Link->acessaPublicacao(Object(PDO), Object(DataBase), NULL, NULL, 'edital-de-eleic...') #3 /home/pinheiral/public_html/index.php(57): include_once('/home/pinheiral...') #4 {main} thrown in /home/pinheiral/public_html/class/bd.php on line 43