GET STARTED
Fatal error: Uncaught Exception: 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 query: SELECT * FROM blog_posts ORDER BY publish_date DESC LIMIT -10, 10 in D:\Website\htdocs\bugs.com\htdocs\includes\MysqliDb.php:2009 Stack trace: #0 D:\Website\htdocs\bugs.com\htdocs\includes\MysqliDb.php(1597): MysqliDb->_prepareQuery() #1 D:\Website\htdocs\bugs.com\htdocs\includes\MysqliDb.php(740): MysqliDb->_buildQuery(Array) #2 D:\Website\htdocs\bugs.com\htdocs\includes\ClassDasNews.php(48): MysqliDb->get('blog_posts', Array) #3 D:\Website\htdocs\bugs.com\htdocs\blog\index.php(48): DAS_News->getPostsPaginate(NULL, -10, 10) #4 {main} thrown in D:\Website\htdocs\bugs.com\htdocs\includes\MysqliDb.php on line 2009