#0 Db::query( SELECT v.id_product, v.id_category_value, v.id_value as value_id, pv.name as value_name, pv.mainCategory as category_main, pp.id as property_id, pp.name as property_name, cp.name as prop_category_name,cp.h_filter_sort as prop_category_sort, cp.id as prop_cat_id, cp.mainCategory as prop_main_id, cp.h_filter_hide as prop_category_hide, cp.h_filter_name as prop_category_name, cp.h_filter_delete as prop_category_delete, cv.name as value_category_name,cv.h_filter_sort as value_category_sort, cv.id as value_cat_id, cv.h_filter_hide as value_category_hide, cv.h_filter_name as value_category_name, cv.h_filter_delete as value_category_delete FROM product_property_value AS v INNER JOIN product_properties_values AS pv ON v.id_value=pv.id INNER JOIN product_properties AS pp ON pp.id=pv.id_property INNER JOIN categories AS cv ON cv.id=pv.id_category_value AND cv.level=3 INNER JOIN categories AS cp ON cv.id_category=cp.id AND cp.level=2 WHERE v.id_product IN ?a AND v.id_value != 0 ORDER BY cp.h_filter_sort,cv.h_filter_sort,cp.name,pv.name , Array ([0] => Array ())) called at [/home/kalyan4you.ru/public_html/www/class/HorizontalFilter.php:303] #1 site_HorizontalFilter->getFiltersForCategory() called at [/home/kalyan4you.ru/public_html/www/class/HorizontalFilter.php:52] #2 site_HorizontalFilter->init() called at [/home/kalyan4you.ru/public_html/www/services/category.php:96] #3 include_once(/home/kalyan4you.ru/public_html/www/services/category.php) called at [/home/kalyan4you.ru/public_html/www/index.php:155]
MySQL mini debug
MySQL query error in file /home/kalyan4you.ru/public_html/www/class/HorizontalFilter.php:303.
MySQL error (#1064): 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 v.id_value != 0 ORDER BY cp.h_filter_sort,cv.h_filter_sort,cp.name,pv.' at line 14
Callstack:

SELECT v.id_product, v.id_category_value, v.id_value as value_id, pv.name as value_name, pv.mainCategory as category_main, pp.id as property_id, pp.name as property_name, cp.name as prop_category_name,cp.h_filter_sort as prop_category_sort, cp.id as prop_cat_id, cp.mainCategory as prop_main_id, cp.h_filter_hide as prop_category_hide, cp.h_filter_name as prop_category_name, cp.h_filter_delete as prop_category_delete, cv.name as value_category_name,cv.h_filter_sort as value_category_sort, cv.id as value_cat_id, cv.h_filter_hide as value_category_hide, cv.h_filter_name as value_category_name, cv.h_filter_delete as value_category_delete FROM product_property_value AS v INNER JOIN product_properties_values AS pv ON v.id_value=pv.id INNER JOIN product_properties AS pp ON pp.id=pv.id_property INNER JOIN categories AS cv ON cv.id=pv.id_category_value AND cv.level=3 INNER JOIN categories AS cp ON cv.id_category=cp.id AND cp.level=2 WHERE v.id_product IN () AND v.id_value != 0 ORDER BY cp.h_filter_sort,cv.h_filter_sort,cp.name,pv.name #0 Db::query( SELECT v.id_product, v.id_category_value, v.id_value as value_id, pv.name as value_name, pv.mainCategory as category_main, pp.id as property_id, pp.name as property_name, cp.name as prop_category_name,cp.h_filter_sort as prop_category_sort, cp.id as prop_cat_id, cp.mainCategory as prop_main_id, cp.h_filter_hide as prop_category_hide, cp.h_filter_name as prop_category_name, cp.h_filter_delete as prop_category_delete, cv.name as value_category_name,cv.h_filter_sort as value_category_sort, cv.id as value_cat_id, cv.h_filter_hide as value_category_hide, cv.h_filter_name as value_category_name, cv.h_filter_delete as value_category_delete FROM product_property_value AS v INNER JOIN product_properties_values AS pv ON v.id_value=pv.id INNER JOIN product_properties AS pp ON pp.id=pv.id_property INNER JOIN categories AS cv ON cv.id=pv.id_category_value AND cv.level=3 INNER JOIN categories AS cp ON cv.id_category=cp.id AND cp.level=2 WHERE v.id_product IN ?a AND v.id_value != 0 ORDER BY cp.h_filter_sort,cv.h_filter_sort,cp.name,pv.name , Array ([0] => Array ())) called at [/home/kalyan4you.ru/public_html/www/class/HorizontalFilter.php:303] #1 site_HorizontalFilter->getFiltersForCategory() called at [/home/kalyan4you.ru/public_html/www/class/HorizontalFilter.php:52] #2 site_HorizontalFilter->init() called at [/home/kalyan4you.ru/public_html/www/services/category.php:96] #3 include_once(/home/kalyan4you.ru/public_html/www/services/category.php) called at [/home/kalyan4you.ru/public_html/www/index.php:155]