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 `tb_terms`.`terms_type` = 'category'' at line 4

SELECT `category_slug`, `tb_category`.`category_id`, `category_name`, `tb_terms`.`post_id` as `main_post_id` FROM `tb_terms` JOIN `tb_category` ON `tb_category`.`category_id` = `tb_terms`.`category_id` WHERE `tb_terms`.`post_id` IN() AND `tb_terms`.`terms_type` = 'category'

Filename: modules/front/models/M_front.php

Line Number: 470