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 '-5, 5' at line 8

SELECT * FROM `en_posts` WHERE `location` = 'orlando' AND `published` = 1 AND `category` = 'events' AND `category` != 'nightlife' ORDER BY `date` desc LIMIT -5, 5

Filename: models/Blog.php

Line Number: 24