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 ups_backup_power_id_frk=2 AND product_list_id NOT IN ( 22 ) AND status=1' at line 1

select * from product_list where product_category_id_frk= and ups_backup_power_id_frk=2 AND product_list_id NOT IN ( 22 ) AND status=1

Filename: models/Product_model.php

Line Number: 74