1064: SELECT p.id,p.title,p.thumb,p.webp_thumb,p.alt2,p.cprice, p.short,p.price,pc.category as category_title,
pc.id as cateid
FROM products p
INNER JOIN productcategories pc ON p.category=pc.id
INNER JOIN brand_country bc ON pc.id=bc.brandid
where (pc.showbrand=2 || pc.showbrand=3)
AND (bc.country_id='5067')
AND (p.pc=1)
AND (p.product_status='newreleased')
AND (p.category=) group by p.id
order by p.id desc LIMIT 72 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 ') group by p.id
order by p.id desc LIMIT 72' at line 10