Warning: A non-numeric value encountered in /home/dornica/domains/persiansoft.org/public_html/app/modules/contents/models/contents.php on line 20

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 '-4, 4' at line 1 query: SELECT SQL_CALC_FOUND_ROWS * FROM contents WHERE portalid = ? and status = ? and FIND_IN_SET(? ,category) ORDER BY id DESC LIMIT -4, 4 in /home/dornica/domains/persiansoft.org/public_html/vendor/thingengineer/mysqli-database-class/MysqliDb.php:2006 Stack trace: #0 /home/dornica/domains/persiansoft.org/public_html/vendor/thingengineer/mysqli-database-class/MysqliDb.php(563): MysqliDb->_prepareQuery() #1 /home/dornica/domains/persiansoft.org/public_html/app/modules/contents/models/contents.php(40): MysqliDb->rawQuery('SELECT SQL_CALC...', Array) #2 /home/dornica/domains/persiansoft.org/public_html/app/modules/contents/controllers/contents.php(17): app\modules\contents\models\ContentsDB->get_value_tbl('8', NULL, '1', 0, -4, 4) #3 [internal function]: app\modules\contents\controllers\Contents->index('8', '1', '') #4 /home/dornica/d in /home/dornica/domains/persiansoft.org/public_html/vendor/thingengineer/mysqli-database-class/MysqliDb.php on line 2006