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, 3) 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 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() AND p2s.store_id = '0' AND (p.price > 0 OR (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '3' 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())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) > 0) AND p.product_id not in(6) ORDER BY LCASE(score) DESC, LCASE(pd_name) DESC, p_model DESC LIMIT 0,6 in /montagem/sdb1/s13894umexr/public_html/system/database/mysqliclass.php:46 Stack trace: #0 /montagem/sdb1/s13894umexr/public_html/system/library/db.php(35): MySQLiClass->query('SELECT p.produc...') #1 /montagem/sdb1/s13894umexr/public_html/catalog/model/catalog/product.php(851): DB->query('SELECT p.produc...') #2 /montagem/sdb1/s13894umexr/public_html/catalog/controller/product/productList.php(798): ModelCatalogProduct->getProducts(Array) #3 /montagem/sdb1/s13894umexr/public_html/catalog/controller/product/productList.php(721): ControllerProductProductList->getResults(Array, Array) #4 /montagem/sdb1/s13894umexr/public_html/system/engine/controller.php(54): ControllerProductProductList->moduleProdutosrelacionados(Array) #5 /montagem/sdb1/s13894umexr/public_html/system/engine/controller.php(128): Controller->getChildData('product/product...', Array) #6 /montagem/sdb1/s13894umexr/public_html/catalog/controller/module/produtosrelacionados.php(67): Controller->render('module/produtos...') #7 /montagem/sdb1/s13894umexr/public_html/system/engine/controller.php(75): ControllerModuleProdutosrelacionados->index(Array) #8 /montagem/sdb1/s13894umexr/public_html/catalog/controller/common/content_bottom.php(110): Controller->getChild('module/produtos...', Array) #9 /montagem/sdb1/s13894umexr/public_html/system/engine/controller.php(75): ControllerCommonContentBottom->index(Array) #10 /montagem/sdb1/s13894umexr/public_html/system/engine/controller.php(124): Controller->getChild('common/content_...') #11 /montagem/sdb1/s13894umexr/public_html/catalog/controller/product/product.php(258): Controller->render('product/product') #12 /montagem/sdb1/s13894umexr/public_html/system/engine/front.php(42): ControllerProductProduct->index() #13 /montagem/sdb1/s13894umexr/public_html/system/engine/front.php(29): Front->execute(Object(Action)) #14 /montagem/sdb1/s13894umexr/public_html/index.php(459): Front->dispatch(Object(Action), Object(Action)) #15 {main} thrown in /montagem/sdb1/s13894umexr/public_html/system/database/mysqliclass.php on line 46