Error

Page: /events?tag%5B%5D=Prayer
Error: 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 publish = 1 AND publish_date <= CURRENT_DATE() AND expiry_date > CURRENT_' at line 1
Referrer:
SQL: SELECT *, CAST(start_time as time) as test_time FROM events WHERE 1=1 AND id IN (SELECT events_id FROM events_tags WHERE tags_id IN ()) AND publish = 1 AND publish_date <= CURRENT_DATE() AND expiry_date > CURRENT_DATE() ORDER BY start_date, test_time

Stack Trace

#0 mysql->error() called at [/var/sites/c/christchurch.suttonteam.org.uk/public_html/config/classes/mysqli.class.php:0]
#1 mysql->Q() called at [/var/sites/c/christchurch.suttonteam.org.uk/public_html/config/classes/mysqli.class.php:0]
#2 mysql->R(SELECT *, CAST(start_time as time) as test_time FROM events WHERE 1=1 AND id IN (SELECT events_id FROM events_tags WHERE tags_id IN ()) AND publish = 1 AND publish_date <= CURRENT_DATE() AND expiry_date > CURRENT_DATE() ORDER BY start_date, test_time) called at [/var/sites/c/christchurch.suttonteam.org.uk/public_html/events.php:37]
#3 include(/var/sites/c/christchurch.suttonteam.org.uk/public_html/events.php) called at [/var/sites/c/christchurch.suttonteam.org.uk/public_html/index.php:181]