Got TIPS or BREAKING NEWS? Please call + 1 284 340 NEWS (6397) or 346-6397 or 393-6397 or 1-284-494-1338-office; ads call 346-9999                               Tune into CBN Television Chan 51 for Live coverage of the House of Assembly on 17, April 2014 @ 10:00 AM…
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