Notice: Undefined index: code in /home/u175184650/public_html/eformacion/main/inc/ajax/course_home.ajax.php on line 71

Notice: Undefined index: real_id in /home/u175184650/public_html/eformacion/main/inc/ajax/course_home.ajax.php on line 84

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 MariaDB server version for the right syntax to use near 'AND session_id = 0 ORDER BY id' at line 2' in /home/u175184650/public_html/eformacion/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104 Stack trace: #0 /home/u175184650/public_html/eformacion/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(104): PDO->query('SELECT * FROM c...') #1 /home/u175184650/public_html/eformacion/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(833): Doctrine\DBAL\Driver\PDOConnection->query('SELECT * FROM c...') #2 /home/u175184650/public_html/eformacion/main/inc/lib/database.lib.php(328): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM c...') #3 /home/u175184650/public_html/eformacion/main/inc/ajax/course_home.ajax.php(86): Database::query('SELECT * FROM c...') #4 {main} Next exception 'Doctr in /home/u175184650/public_html/eformacion/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 90