Error occured, please check the following sql query and dont forget to set off DEBUG mode:

SELECT * FROM products INNER JOIN products_description USING (products_id) WHERE products_language_id=1 AND products.products_id IN (SELECT products_id FROM products_to_categories WHERE categories_id=)LIMIT 0, 20

Error description: 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 ')LIMIT 0, 20' at line 4

File: 0

DB Class Function is called in file: 0, in line 0



Error occured, please check the following sql query and dont forget to set off DEBUG mode:

SELECT * FROM products INNER JOIN products_description USING (products_id) WHERE products_language_id=1 AND products.products_id IN (SELECT products_id FROM products_to_categories WHERE categories_id=)

Error description: 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 4

File: /var/www/vhosts/lans.am/httpdocs/includes/insert.php

DB Class Function is called in file: /var/www/vhosts/lans.am/httpdocs/includes/insert.php, in line 536