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/pmdoresdoturvo/public_html/class/bd.php:54 Stack trace: #0 /home/pmdoresdoturvo/public_html/class/bd.php(54): PDO->query('SELECT \n ...') #1 /home/pmdoresdoturvo/public_html/class/link.php(175): DataBase->select(Object(PDO), '\n SE...') #2 /home/pmdoresdoturvo/public_html/class/link.php(228): Link->acessaArtigo(Object(PDO), Object(DataBase), NULL, NULL, 'contrato-de-rep...') #3 /home/pmdoresdoturvo/public_html/index.php(15): include_once('/home/pmdoresdo...') #4 {main} thrown in /home/pmdoresdoturvo/public_html/class/bd.php on line 54