$db_wrapper->query(); called from /home/config/db_wrapper.php, line 672
$db_wrapper->fetch_first(); called from /home/config/cms/functions/site_broadcast.php, line 14
cmsSiteBroadcast(); called from /home/config/cms/index.php, line 717
require_once(); called from /home/config/cms/utility/url_handler.php, line 122
DB Wrapper - MySQL didn't like this query:
SELECT * FROM `everything`.`bsa_broadcast` AS b
				WHERE b.`site.id` =  AND b.`broadcast.deleted` = 0
				AND b.`broadcast.enabled` = 1
				AND  (b.`broadcast.start_date` = NOW() OR b.`broadcast.start_date` < NOW())
				AND b.`broadcast.end_date` > NOW()
				ORDER BY b.`broadcast.id` ASC


It returned this 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 b.`broadcast.deleted` = 0 AND b.`broadcast.enabled` = 1 AND (b.`bro' at line 2