A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND `p`.`status` = '1' AND `c`.`parent` = '130' OR `c`.`cid` = '130' ORDER...' at line 6

SELECT SQL_CALC_FOUND_ROWS p.pid, p.cateid, p.pname, p.slug, p.pimage, p.price, p.cutprice, p.pstatus, p.model, p.thumbimage, p.excerpt FROM (`tbl_product` p) LEFT JOIN `tbl_category` c ON `p`.`cateid` = `c`.`cid` WHERE `p`.`cutprice` >= 'desccate8=116' AND `p`.`cutprice` <= AND `p`.`status` = '1' AND `c`.`parent` = '130' OR `c`.`cid` = '130' ORDER BY `p`.`pid` ASC LIMIT 16

Filename: /home/ketoanvnvn/domains/sonhamienbac.com/public_html/models/product_model.php

Line Number: 188