Warning: A non-numeric value encountered in /var/www/vhosts/genialpage.it/httpdocs/vendor/joshcam/mysqli-database-class/MysqliDb.php on line 2402

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 '-9, 9' at line 1 query: SELECT SQL_CALC_FOUND_ROWS * FROM m3d14mark_user_social_post post JOIN m3d14mark_user_social_post_enty enty on post.id=enty.id_post JOIN m3d14mark_user_social_post_category_enty cat_enty on cat_enty.id_category=post.id_category WHERE post.section_id = ? AND cat_enty.id_category IN ( ?, ?, ?, ?, ? ) AND enty.id_lang = ? AND cat_enty.lang_cat_enty = ? AND post.user_id = ? AND post.stato = ? AND post.set_delete = ? AND post.data_start <= ? AND post.data_end > ? ORDER BY post.data_start DESC LIMIT -9, 9 in /var/www/vhosts/genialpage.it/httpdocs/vendor/joshcam/mysqli-database-class/MysqliDb.php:2006 Stack trace: #0 /var/www/vhosts/genialpage.it/httpdocs/vendor/joshcam/mysqli-database-class/MysqliDb.php(1594): MysqliDb->_prepareQuery() #1 /var/www/vhosts/genialpage.it/httpdocs/vendor/joshcam/mysqli-database-class/MysqliDb.php( in /var/www/vhosts/genialpage.it/httpdocs/vendor/joshcam/mysqli-database-class/MysqliDb.php on line 2006