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 prod_id='GHPRODID_39562784' AND product_status!=4' at line 1

select * from products where cat_id=2 and section_id= and prod_id='GHPRODID_39562784' AND product_status!=4

Filename: /var/www/html/greenhandle/models/common_model.php

Line Number: 1907