Notice: Undefined index: product_id in /home/users/h/huntline/domains/huntline.ru/catalog/model/catalog/product.php on line 17/home/users/h/huntline/domains/huntline.ru/catalog/model/catalog/product.php(17): DB->query('SELECT category_id FROM hnt_product_to_category WHERE product_id=')
Notice: 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 '' at line 1
Error No: 1064
SELECT category_id FROM hnt_product_to_category WHERE product_id= in /home/users/h/huntline/domains/huntline.ru/system/database/mysql.php on line 52