A Database Error Occurred

Error Number: 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 '-24' at line 1

SELECT * FROM `web_products` WHERE `web_products_cat` IN (24) ORDER BY `web_time` DESC LIMIT 24 OFFSET -24

Filename: models/T_Model.php

Line Number: 266