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 '-10, 10' at line 6

SELECT * FROM `posts` WHERE `category_id` = '1' AND `published` = 1 ORDER BY `id` DESC LIMIT -10, 10

Filename: models/Posts_model.php

Line Number: 63