select SQL_CALC_FOUND_ROWS * from cms_entries where 1 and (category_id='1') order by timestamp desc limit -20, 10 [nativecode=1064 ** 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 '-20, 10' at line 1]