DBInterface::runQuery::ERROR::SELECT stream_event.*, IF(updated IS NOT NULL, updated, created) AS lastupdated, created AS displaydate FROM stream_event WHERE account = '1218208391-6fe7610ca59bc4905a9bc28334081b08' AND action = 'posted' AND actedtype IN ('blog','photofolder') AND created > and status = 'public' ORDER BY created asc LIMIT 0, 1::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 'and status = 'public' ORDER BY created asc LIMIT 0, 1' at line 1