SQLSTATE[42000]: Syntax error or access violation: 1064 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%' AND `movies`.title LIKE '%Wedding%' AND `movies`.title LIKE '%1994%' AND `mo' at line 6 The SQL being executed was: SELECT COUNT(*) as total FROM movies WHERE movies.is_active = 1 AND `movies`.imdb_rating >= 0 AND `movies`.title LIKE '%Muriel's%' AND `movies`.title LIKE '%Wedding%' AND `movies`.title LIKE '%1994%' AND `movies`.title LIKE '%(90%%' AND `movies`.title LIKE '%on%' AND `movies`.title LIKE '%the%' AND `movies`.title LIKE '%tomato-meter).divx%'