Error

Page: /blog?sector=Civil%20Engineering
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 'Engineering)) AND publish = 1 AND publish_date <= CURRENT_DATE() AND expiry_date' at line 1
Referrer:
SQL: SELECT *, DATE_FORMAT(publish_date, '%Y') as year, DATE_FORMAT(publish_date, '%M') as month FROM news WHERE 1=1 AND id IN (SELECT news_id FROM news_sectors WHERE sectors_id IN (Civil Engineering)) AND publish = 1 AND publish_date <= CURRENT_DATE() AND expiry_date > CURRENT_DATE() ORDER BY publish_date DESC

Stack Trace

#0 mysql->error() called at [/var/sites/t/thatcherassociates.com/public_html/cms_resources/classes/mysqli.class.php:44]
#1 mysql->Q() called at [/var/sites/t/thatcherassociates.com/public_html/cms_resources/classes/mysqli.class.php:142]
#2 mysql->R(SELECT *, DATE_FORMAT(publish_date, '%Y') as year, DATE_FORMAT(publish_date, '%M') as month FROM news WHERE 1=1 AND id IN (SELECT news_id FROM news_sectors WHERE sectors_id IN (Civil Engineering)) AND publish = 1 AND publish_date <= CURRENT_DATE() AND expiry_date > CURRENT_DATE() ORDER BY publish_date DESC) called at [/var/sites/t/thatcherassociates.com/public_html/blog.php:44]
#3 include(/var/sites/t/thatcherassociates.com/public_html/blog.php) called at [/var/sites/t/thatcherassociates.com/public_html/index.php:175]