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 status = 1' at line 1' in /home/storage/8/88/79/abitep2/public_html/saraiva-concursos/classes/Dao.class.php:358 Stack trace: #0 /home/storage/8/88/79/abitep2/public_html/saraiva-concursos/classes/Dao.class.php(358): PDOStatement->execute() #1 /home/storage/8/88/79/abitep2/public_html/saraiva-concursos/paginas/cursos-online.php(15): Dao->retornarTodos(NULL, NULL, 'ID_grupo = AND...') #2 /home/storage/8/88/79/abitep2/public_html/saraiva-concursos/index.php(706): require_once('/home/storage/8...') #3 {main} thrown in /home/storage/8/88/79/abitep2/public_html/saraiva-concursos/classes/Dao.class.php on line 358