A Database Error Occurred

Error Number:

ERROR: syntax error at or near ")" LINE 2: ...uct_id from product_category where category_id in()) offse... ^

select * from product p,product_attribute pa,seller_details s where s.user_id=p.product_vender_id and pa.product_id=p.product_id and product_status=1 and product_attribute_id in(select min(product_attribute_id) from product_attribute where product_id= p.product_id ) and p.product_id in (select product_id from product_category where category_id in()) offset 0 limit 4

Filename: models/M_product.php

Line Number: 2745