Fatal error: Uncaught exception 'FGL\Framework\Data\MySQL\DBException' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-50, 50' at line 9' in /srv/fgl.com/home/app/Models/MySQL/ThreadTable.php:201 Stack trace: #0 /srv/fgl.com/home/app/Models/ForumTools/Threads.php(52): Models\MySQL\ThreadTable::query('SELECT *, post1...') #1 /srv/fgl.com/home/app/Views/forums/view-forum.php(23): Models\ForumTools\Threads::getThreadsForForum('45', '-50') #2 /srv/fgl.com/home/vendor/fgl/web-framework/src/FGL/Framework/Application.php(151): require('/srv/fgl.com/ho...') #3 /srv/fgl.com/home/vendor/fgl/web-framework/src/FGL/Framework/Application.php(74): FGL\Framework\Application->handleRequest() #4 /srv/fgl.com/home/public/index.php(34): FGL\Framework\Application->run() #5 {main} thrown in /srv/fgl.com/home/app/Models/MySQL/ThreadTable.php on line 201