Database Error:
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 '1,2,3,5,6,7,8,9,10,15,16,17,18,11,14) and `enabled` = '1'' at line 1

Last Query:
select count(id) from product where `brandid` IN(,1,2,3,5,6,7,8,9,10,15,16,17,18,11,14) and `enabled` = '1'

#0  Database->notify() called at [/home/nucannab/nucannabiz.com/includes/class.database.php:87]
#1  Database->query(select count(id) from product where `brandid` IN(,1,2,3,5,6,7,8,9,10,15,16,17,18,11,14) and `enabled` =  '1') called at [/home/nucannab/nucannabiz.com/includes/class.database.php:247]
#2  Database->resulter(select count(id) from product where `brandid` IN(,1,2,3,5,6,7,8,9,10,15,16,17,18,11,14) and `enabled` =  '1') called at [/home/nucannab/nucannabiz.com/includes/class.database.php:141]
#3  Database->getValue(select count(id) from product where `brandid` IN(,1,2,3,5,6,7,8,9,10,15,16,17,18,11,14) and `enabled` =  '1') called at [/home/nucannab/nucannabiz.com/product.php:232]