Fatal error: Uncaught Exception: Error: Unknown column 'pq.price' in 'field list'<br />Error No: 1054<br />CREATE TEMPORARY TABLE oc_bf_tmp_product (PRIMARY KEY (`product_id`)) SELECT p.product_id, p.sort_order, p.sort_order_cat, p.manufacturer_id, if (SUM(if((f.filter_group = "m0" AND filter_id IN (14)), 1, 0)) > 0, 1, 0) AS match_filters, (IF(MIN(pq.price) IS NOT NULL, MIN(pq.price), IF(MIN(ps.price) IS NOT NULL, MIN(ps.price), IF(MIN(pd2.price) IS NOT NULL, MIN(pd2.price), p.price)))) AS actual_price FROM `oc_product` AS p INNER JOIN `oc_bf_filter` AS f ON (p.product_id = f.product_id) LEFT JOIN `oc_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 `oc_product_special` AS ps ON (ps.product_id = p.product_id
AND (ps.date_end = '0 in /var/www/polikarbonates.com/internet-shop/system/library/db/mysqli.php on line 40