Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND disponivel = 1 ORDER BY id DESC LIMIT 1' at line 1' in /srv/colegioequipejf.com.br/www/comuns/classes/DAO/DAO_Base.php:115 Stack trace: #0 /srv/colegioequipejf.com.br/www/comuns/classes/DAO/DAO_Base.php(115): PDOStatement->execute(Array) #1 /srv/colegioequipejf.com.br/www/comuns/classes/DAO/DAO_Noticias_Arquivos.php(36): DAO_Base->execute(Object(PDOStatement), Array) #2 /srv/colegioequipejf.com.br/www/noticias-internas.php(8): DAO_Noticias_Arquivos->selectArquivo(NULL) #3 {main} thrown in /srv/colegioequipejf.com.br/www/comuns/classes/DAO/DAO_Base.php on line 115