Aankomende events
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 'OR (date = AND id > ))
ORDER BY date = 0, date ASC, id ASC
' at line 6 ... query:
SELECT *
FROM moduleEvent
WHERE website_id = 65
AND language_id = 1
AND active = 1
AND (date > OR (date = AND id > ))
ORDER BY date = 0, date ASC, id ASC
LIMIT 1