Notice: Error: Unknown column 'main_category' in 'order clause'
Error No: 1054
SELECT category_id FROM product_to_category WHERE product_id = '42' ORDER BY main_category DESC LIMIT 1 in /home/srv27855/alltranslations.ru/www/system/database/mysql.php on line 50