Got TIPS or BREAKING NEWS? Please call + 1 284 346-6397 or 393-6397 or 1-284-494-1338-office; ads call 346-9999                               Tune into CBN-Radio 90.9FM for live coverage of the 2016 CPL T20. 29 June 9PM, 30 June 8PM, 1 July 9PM, 2 July noon, 2 July 9PM, 3 July 4PM, 4 July 7PM & 5 July 7PM - be sure to listen to 90.9FM & 92.3FM
DB Error: selectList query failed

SELECT SQL_CALC_FOUND_ROWS file_attachments.*, channels.name AS channel, files.name, files.ext, files.title, files.type_id, files.size FROM file_attachments LEFT JOIN files ON files.id = file_attachments.file_id LEFT JOIN channels ON channels.id = file_attachments.channel_id WHERE (channels.name = 'articles' AND object_id = AND (type_id = 1 AND main = 0))ORDER BY weight ASC

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 (type_id = 1 AND main = 0))ORDER BY weight ASC' at line 13