Notice: Undefined offset: 0 in /var/www/posgraduacao/cursos.php on line 22

Notice: Trying to get property of non-object in /var/www/posgraduacao/cursos.php on line 22

Notice: Undefined offset: 0 in /var/www/posgraduacao/cursos.php on line 23

Notice: Trying to get property of non-object in /var/www/posgraduacao/cursos.php on line 23

Notice: Undefined offset: 0 in /var/www/posgraduacao/cursos.php on line 30

Notice: Trying to get property of non-object in /var/www/posgraduacao/cursos.php on line 30

Notice: Undefined offset: 0 in /var/www/posgraduacao/cursos.php on line 31

Notice: Trying to get property of non-object in /var/www/posgraduacao/cursos.php on line 31

Fatal error: Uncaught exception 'PDOException' with message '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 '' at line 1' in /var/www/posgraduacao/includes/Database.php:65 Stack trace: #0 /var/www/posgraduacao/includes/Database.php(65): PDOStatement->execute() #1 /var/www/posgraduacao/includes/Database.php(76): Database->execute() #2 /var/www/posgraduacao/includes/SQL.php(86): Database->resultset() #3 /var/www/posgraduacao/cursos.php(33): SQL::query('SELECT classe F...') #4 {main}' in /var/www/posgraduacao/includes/Database.php:67 Stack trace: #0 /var/www/posgraduacao/includes/Database.php(76): Database->execute() #1 /var/www/posgraduacao/includes/SQL.php(86): Database->resultset() #2 /var/www/posgraduacao/cursos.php(33): SQL::query('SELECT classe F...') #3 {main} thrown in /var/www/posgraduacao/includes/Database.php on line 67