A Database Error Occurred

Error Number: 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 (id <> 990) AND site_id='2' ORDER BY publish_date DESC LIMIT ' at line 7

SELECT `id`, `title`, `id_kanal`, `publish_date`, `url_seo`, `publish`, `path`, `file_type`, (SELECT concat(kanal_name, '|', surel) FROM `t_kanal` tk WHERE tk.id= tc.id_kanal LIMIT 1) AS kanal, (SELECT concat(site_name, '|', url) FROM `t_site` WHERE id_site = site_id LIMIT 1) AS main_site , `id_berita` FROM `t_content` tc WHERE publish_date<=now() AND publish='Y' AND hapus='N' AND () AND (id <> 990) AND site_id='2' ORDER BY publish_date DESC LIMIT 7

Filename: models/Model_utama.php

Line Number: 15