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/a/da/9a/cursospelaweb/public_html/classes/Dao.class.php:358 Stack trace: #0 /home/storage/a/da/9a/cursospelaweb/public_html/classes/Dao.class.php(358): PDOStatement->execute() #1 /home/storage/a/da/9a/cursospelaweb/public_html/paginas/cursos-online.php(15): Dao->retornarTodos(NULL, NULL, 'ID_grupo = AND...') #2 /home/storage/a/da/9a/cursospelaweb/public_html/index.php(862): require_once('/home/storage/a...') #3 {main} thrown in /home/storage/a/da/9a/cursospelaweb/public_html/classes/Dao.class.php on line 358