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 11

SELECT t1.*, t2.* FROM products as t1 LEFT JOIN products_details as t2 ON t1.product_id = t2.product_id WHERE 1 AND active = '1' AND lang_id = '1' AND stock >= 0 AND category_id IN (91,-1) ORDER BY t1.product_id desc LIMIT -,24