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 '-12' at line 1 in /home/haiduon1/public_html/app/controllers/DocumentController.php:422
Stack trace:
#0 /home/haiduon1/public_html/app/controllers/DocumentController.php(422): PDOStatement->execute()
#1 /home/haiduon1/public_html/public/index.php(106): require_once('/home/haiduon1/...')
#2 {main}
thrown in /home/haiduon1/public_html/app/controllers/DocumentController.php on line 422