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 '-50, 50' at line 1 query: SELECT SQL_CALC_FOUND_ROWS * FROM activities WHERE status = ? ORDER BY insertTime DESC LIMIT -50, 50 in /home/phasfu0bo9oa/public_html/vedadhara.com/admin/MysqliDb.php:3639
Stack trace:
#0 /home/phasfu0bo9oa/public_html/vedadhara.com/admin/MysqliDb.php(2855): MysqliDb->_prepareQuery()
#1 /home/phasfu0bo9oa/public_html/vedadhara.com/admin/MysqliDb.php(1199): MysqliDb->_buildQuery(Array)
#2 /home/phasfu0bo9oa/public_html/vedadhara.com/admin/MysqliDb.php(4453): MysqliDb->get('activities', Array, '*')
#3 /home/phasfu0bo9oa/public_html/vedadhara.com/activities.php(44): MysqliDb->paginate('activities', '0')
#4 {main}
thrown in /home/phasfu0bo9oa/public_html/vedadhara.com/admin/MysqliDb.php on line 3639