Error Catched!

Message:
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 'OR title LIKE '%NG Ngan Lung Freddy%' ) AND (a.type = 237 OR a.type = 128) ORDER' at line 1

Query:
SELECT title, lastdatetime as dtime, username AS source, CAST( a.id AS CHAR CHARACTER SET utf8 ) AS linkkey FROM zf_contentpages a, zf_user b WHERE a.lastid = b.id AND ( OR title LIKE '%NG Ngan Lung Freddy%' ) AND (a.type = 237 OR a.type = 128) ORDER BY dtime DESC LIMIT 50