User Error 2020-10-23 12:33:54
/usr/local/www/kedy.ru/misc.php
 Line 295:  Query
 select ta.prior,ta.id,ta.param_id,tp.name,count(g.goods_id),tv.Id,tv.value, `ta`.`view_select`, `tp`.`measure` from shop.type_assign ta,shop.type_parameters tp, shop.goods g, shop.goods_descr gd, shop.type_value tv where  tv.Id=gd.value_id and tp.Id=ta.param_id and ta.type_id=1758 and  ta.show_in_site=2 and gd.goods_id=g.goods_id and gd.param_id=tp.Id and () and g.price>0 group by tv.value order by ta.prior,ta.id,tv.value 
failed

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 g.price>0 group by tv.value order by ta.prior,ta.id,tv.value' at line 1