Fatal error: Uncaught exception 'Exception' with message 'Error: Unknown column 'p2c.category_order' in 'order clause'
Error No: 1054
SELECT DISTINCT ps.product_id, (SELECT AVG(rating) FROM oc_review r1 WHERE r1.product_id = ps.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating FROM oc_product_special ps LEFT JOIN oc_product p ON (ps.product_id = p.product_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 p.status = '1' AND p2s.store_id = '0' AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) GROUP BY ps.product_id ORDER BY p2c.category_order LIMIT 0,60' in /home/l/lapovobm/monncashmere.ru/public_html/system/library/db/mysqli.php:41 Stack trace: #0 /home/l/lapovobm/monncashmere.ru/public_html/system/library/db.php(16): DB\MySQLi->query('SELECT DISTINCT...', Array) #1 /home/l/lapovobm/monncashmere.ru/publi in /home/l/lapovobm/monncashmere.ru/public_html/system/library/db/mysqli.php on line 41