Warning: A non-numeric value encountered in /www/wwwroot/www.luoqi-china.com/class/MysqliDb.php on line 2392

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 '-12, 12' at line 1 query: SELECT SQL_CALC_FOUND_ROWS id, title, banner FROM data WHERE title like ? OR tag like ? ORDER BY ID DESC LIMIT -12, 12 in /www/wwwroot/www.luoqi-china.com/class/MysqliDb.php:1996 Stack trace: #0 /www/wwwroot/www.luoqi-china.com/class/MysqliDb.php(1584): MysqliDb->_prepareQuery() #1 /www/wwwroot/www.luoqi-china.com/class/MysqliDb.php(734): MysqliDb->_buildQuery(Array) #2 /www/wwwroot/www.luoqi-china.com/class/MysqliDb.php(2393): MysqliDb->get('data', Array, Array) #3 /www/wwwroot/www.luoqi-china.com/action/index.action.php(157): MysqliDb->paginate('data', 'GrandOrder', Array) #4 /www/wwwroot/www.luoqi-china.com/index.php(40): main->tag() #5 {main} thrown in /www/wwwroot/www.luoqi-china.com/class/MysqliDb.php on line 1996