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 5

SELECT * FROM `news` WHERE `type` = "news" ORDER BY `id` DESC LIMIT -10, 10

Filename: core/MY_Model.php

Line Number: 115