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 (2, 13, 14, 16, 32, 43, 61, 66, 67, 68, 79, 95, 99, 100, 104, 127, 149) ORDER BY `web_time` DESC LIMIT 24 OFFSET -24

Filename: models/T_Model.php

Line Number: 266