Fatal error: Uncaught Exception: 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 '-10, 10' at line 1 query: SELECT SQL_CALC_FOUND_ROWS b_name,ext_link,author_name FROM blogs WHERE status = ? ORDER BY b_date DESC LIMIT -10, 10 in /home/clapsandwhistles/public_html/ Stack trace: #0 /home/clapsandwhistles/public_html/ MysqliDb->_prepareQuery() #1 /home/clapsandwhistles/public_html/ MysqliDb->_buildQuery(Array) #2 /home/clapsandwhistles/public_html/ MysqliDb->get('blogs', Array, 'b_name,ext_link...') #3 /home/clapsandwhistles/public_html/ MysqliDb->paginate('blogs', '0', 'b_name,ext_link...') #4 {main} thrown in /home/clapsandwhistles/public_html/ on line 1820