Notice: Undefined index: name in /var/www/vhosts/chibon.com/httpdocs/catalog/model/catalog/oproduct.php on line 680Notice: Undefined index: category_id in /var/www/vhosts/chibon.com/httpdocs/catalog/model/catalog/oproduct.php on line 686Notice: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and p2c.product_id = p.product_id) and p.product_id <> '145'order by rand() li' at line 1
Error No: 1064
select p.product_id from demo_product p where p.status = '1' and p.date_available <= NOW() and exists(select product_id from demo_product_to_category p2c where p2c.category_id in ( ) and p2c.product_id = p.product_id) and p.product_id <> '145'order by rand() limit 0,4 in /var/www/vhosts/chibon.com/httpdocs/system/database/mysql.php on line 49