Fatal error: Uncaught Exception: SQL hiba: 1054Unknown column 'p' in 'order clause' select `product`.* ,( round(`vt`.`value`,2)) as vat_value,(select rate from currency where currency.code = product.currency_code) as currency_rate,(select sign from currency where currency.code = product.currency_code) as currency_sign,(select ROUND(IFNULL(AVG(rate),0),2) from product_rate where product_id = product.id and active=1) as product_rate,(select IFNULL(COUNT(rate),0) from product_rate where product_id = product.id and active=1) as product_rate_count,fs.stock as free_stock,(spc.sale_price IS NOT NULL) as in_sale,spc.sale_id as sale_id,wd.text as product_name,(select count(*) from `extra_parameter_product_group_link` where `product_group_id`=`product`.`product_group`) as xtrap_count,(select `xtrap_by_sn` from `product_group` where id=`product`.`product_group`) as xtrap_by_sn,IFNULL(`spc`.sale_price,`product`.price) as `sale_price`,(SELECT xtrap_by_sn from product_group where `product_group`.id = `product`.product_group) as `xtrap in /var/www/app/core/dbi.inc.php on line 134