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 's)' IN BOOLEAN MODE) AS m FROM content WHERE (active='1' AND bvDate < '2015-01-0' at line 2