A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-15, 15' at line 6

SELECT `topics`.*, `topics`.`title_gr` as title, `topics`.`small_description_gr` as small_description, `topics`.`description_gr` as description FROM (`topics`) WHERE `is_active` = 'yes' AND `category_id` IN (0, '17', '22', '23', '24', '25', '26', '27', '28', '29') ORDER BY `ord` asc, `ord` asc LIMIT -15, 15

Filename: models/generic_model.php

Line Number: 86