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 '`NULL` AND `date` < `IS` `NULL` ORDER BY `date` asc' at line 4

SELECT * FROM `event_details` WHERE `event_id` = '6586' AND `date` > `IS` `NULL` AND `date` < `IS` `NULL` ORDER BY `date` asc

Filename: models/Welcome_model.php

Line Number: 287