Fatal error: Uncaught Exception: Error: Unknown column 'pp.stock_status_id' in 'order clause'<br />Error No: 1054<br /> SELECT p.product_id, p.sort_order, "1" AS match_filters, (IF(MIN(ps.price) IS NOT NULL, MIN(ps.price), IF(MIN(pd2.price) IS NOT NULL, MIN(pd2.price), p.price)) * (1 + IFNULL(percent_tax, 0)/100) + IFNULL(fixed_tax, 0)) AS actual_price FROM `pi_product` AS p INNER JOIN `pi_product_to_store` AS p2s ON (p2s.product_id = p.product_id) INNER JOIN `pi_bf_filter` AS f ON (p.product_id = f.product_id) INNER JOIN `pi_product_description` AS pd ON (pd.product_id = p.product_id) LEFT JOIN `pi_product_discount` AS pd2 ON (pd2.product_id = p.product_id AND pd2.quantity = '1' AND (pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()) AND pd2.customer_group_id = '1') LEFT JOIN `pi_product_special` AS ps ON (ps.product_id = p.product_id AND in /home/inflow00/inflow.com.ua/www/system/storage/modification/system/library/db/mysqli.php on line 47