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 (post_supplier = 39 OR post_supplier IS NULL) LIMIT 12' at line 1
SELECT * FROM `tbl_posts` WHERE post_type = 'products' AND post_is_active = 1 AND post_category = AND (post_supplier = 39 OR post_supplier IS NULL) LIMIT 12
Filename: modules/products/models/Mproducts.php
Line Number: 183