Fatal error: Uncaught exception 'ActiveRecord\DatabaseException' 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 MariaDB server version for the right syntax to use near '-18' at line 1' in /afs/ist.utl.pt/groups/cqe/web/vendor/php-activerecord/php-activerecord/lib/Connection.php:333 Stack trace: #0 /afs/ist.utl.pt/groups/cqe/web/vendor/php-activerecord/php-activerecord/lib/Connection.php(333): PDOStatement->execute(Array) #1 /afs/ist.utl.pt/groups/cqe/web/vendor/php-activerecord/php-activerecord/lib/Table.php(237): ActiveRecord\Connection->query('SELECT academic...', Array) #2 /afs/ist.utl.pt/groups/cqe/web/vendor/php-activerecord/php-activerecord/lib/Table.php(219): ActiveRecord\Table->find_by_sql('SELECT academic...', Array, false, NULL) #3 /afs/ist.utl.pt/groups/cqe/web/vendor/php-activerecord/php-activerecord/lib/Model.php(1608): ActiveRecord\Table->find(Array) #4 /afs/ist.utl.pt in /afs/ist.utl.pt/groups/cqe/web/vendor/php-activerecord/php-activerecord/lib/Connection.php on line 336