Topankaren.sk failed query #0

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 'AND bool_publish = 1 ORDER BY field(fk_idname_attribute_size, 's', 'm', ...' at line 3
Errno: 1064
Info:
Query string: SELECT * FROM variants WHERE fk_product = AND bool_publish = 1 ORDER BY field(fk_idname_attribute_size, 's', 'm', 'l', 'xl', 'xxl', 'xxxl')
FK user: NULL
IP: 34.231.147.28
Topankaren.sk failed query #0

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 'AND fk_category= AND bool_publish=1 ORDER BY nrorder_product_category DES...' at line 3
Errno: 1064
Info:
Query string: SELECT products.*, mn_product_category.fk_product, mn_product_category.fk_category, mn_product_category.nrorder_product_category FROM products LEFT JOIN mn_product_category ON products.id=fk_product WHERE products.id != AND fk_category= AND bool_publish=1 ORDER BY nrorder_product_category DESC LIMIT 0,6
FK user: NULL
IP: 34.231.147.28
Topankaren.sk failed query #0

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 'AND fk_category_mut1 = AND bool_publish = 1 ORDER BY nrorder ASC L...' at line 3
Errno: 1064
Info:
Query string: SELECT * FROM products WHERE id != AND fk_category_mut1 = AND bool_publish = 1 ORDER BY nrorder ASC LIMIT 0,6
FK user: NULL
IP: 34.231.147.28
Biele tenisky Vendy | Topankaren.sk