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 'AND `active` = '1' ORDER BY `order_by` DESC LIMIT 8' at line 5

SELECT * FROM `gs_article` WHERE `cat_id` IS NULL AND `id` != AND `active` = '1' ORDER BY `order_by` DESC LIMIT 8

Filename: models/Sitearticlemodel.php

Line Number: 115