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 9

SELECT `news`.*, `nt`.`nt_title`, `nt`.`nt_friendly_url`, `nt`.`nt_description`, `nt`.`nt_short_description` FROM `news` LEFT JOIN `news_trans` as `nt` ON `news`.`id` = `nt`.`nt_news_id` WHERE `nt`.`nt_language_id` = '2' AND `news`.`n_visibility` = 1 AND `news`.`n_category_id` = '19' AND `nt`.`nt_title` != '' ORDER BY `news`.`n_date` DESC, `id` ASC LIMIT -10, 10

Filename: core/MY_Model.php

Line Number: 37