Fatal error: Uncaught 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 '-10, 10' at line 1 in /cjw6455/vendor/Dinoworks/Database.php:420 Stack trace: #0 /cjw6455/vendor/Dinoworks/Database.php(420): PDOStatement->execute() #1 /cjw6455/src/models/news/event-get-list.php(40): Dinoworks\Database->select('SELECT MT.*,\n ...', 'main', Array) #2 /cjw6455/src/controllers/news/event.php(45): include_once('/cjw6455/src/mo...') #3 /cjw6455/www/index.php(52): require_once('/cjw6455/src/co...') #4 {main} thrown in /cjw6455/vendor/Dinoworks/Database.php on line 420