1064: SELECT p.id,p.title,p.thumb,p.webp_thumb,p.alt2,
p.short,p.price,pc.id as cateid,pc.category as category_title
FROM products p
INNER JOIN productcategories pc ON p.category=pc.id
WHERE (p.pc=1) AND (pc.showbrand=1 || pc.showbrand=3)
AND (p.product_status='newreleased') AND (p.category=)
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 ')
order by p.id DESC LIMIT 72' at line 6