Fatal error: Uncaught ActiveRecord\DatabaseException: PDOException: 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 '-19' at line 1 in /afs/ist.utl.pt/groups/cqe/web/vendor/softwarepunt/php-activerecord/lib/Connection.php:363 Stack trace: #0 /afs/ist.utl.pt/groups/cqe/web/vendor/softwarepunt/php-activerecord/lib/Connection.php(363): PDOStatement->execute(Array) #1 /afs/ist.utl.pt/groups/cqe/web/vendor/softwarepunt/php-activerecord/lib/Table.php(246): ActiveRecord\Connection->query('SELECT academic...', Array) #2 /afs/ist.utl.pt/groups/cqe/web/vendor/softwarepunt/php-activerecord/lib/Table.php(227): ActiveRecord\Table->find_by_sql('SELECT academic...', Array, false, NULL) #3 /afs/ist.utl.pt/groups/cqe/web/vendor/softwarepunt/php-activerecord/lib/Model.php(1671): ActiveRecord\Table->find(Array) #4 /afs/ist.utl.pt/groups/cqe/web/vendor/tastybitok/portalvivo/kernel/libs/academics/Mode in /afs/ist.utl.pt/groups/cqe/web/vendor/softwarepunt/php-activerecord/lib/Connection.php on line 366