Fatal error: Uncaught Exception: Error: Unknown column 'score' in 'order clause'<br />Error No: 1054<br />SELECT p.product_id, (p.viewed)p_viewed, (p.sort_order)p_sort_order,pd.name as pd_name, (p.model) p_model, (p.qty) p_qty, (p.date_added) p_date_added, coalesce(p.data_replicacao_ecommerce, p.date_added, NULL) p_data_replicacao_ecommerce, SP_GET_PRODUTO_VALORFINAL(p.product_id, 1) as valor_product, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating FROM oc_product p INNER JOIN oc_category nsub ON (p.category_id = nsub.category_id) LEFT JOIN oc_category ncat ON (nsub.parent_id = ncat.category_id) LEFT JOIN oc_category ndep ON (ncat.parent_id = ndep.category_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() in /montagem/sdb1/d12240etud/public_html/system/database/mysqliclass.php on line 46