#0 Db::query( SELECT DISTINCT ( `p`.`id` ) FROM `products` AS `p` , `category_product` AS `cp` WHERE `p`.`id` = `cp`.`id_product` AND `p`.`active` =1 AND `p`.`is_sale`=0 AND `p`.`active`=1 ORDER BY `p`.`available_status_update` ASC,`p`.`sort` ASC, `p`.`prioritystorage` DESC, `p`.`id` DESC , Array (), /home/poshvu.ru/public_html/www/class/Product.php, 795) called at [/home/poshvu.ru/public_html/www/class/Product.php:795] #1 site_Product::get_all_products() called at [/home/poshvu.ru/public_html/www/services/opt.php:23] #2 include_once(/home/poshvu.ru/public_html/www/services/opt.php) called at [/home/poshvu.ru/public_html/www/index.php:142]
MySQL mini debug
MySQL query error in file /home/poshvu.ru/public_html/www/index.php:142.
MySQL error (#1054): Unknown column 'p.available_status_update' in 'order clause'
Callstack:

SELECT DISTINCT ( `p`.`id` ) FROM `products` AS `p` , `category_product` AS `cp` WHERE `p`.`id` = `cp`.`id_product` AND `p`.`active` =1 AND `p`.`is_sale`=0 AND `p`.`active`=1 ORDER BY `p`.`available_status_update` ASC,`p`.`sort` ASC, `p`.`prioritystorage` DESC, `p`.`id` DESC #0 Db::query( SELECT DISTINCT ( `p`.`id` ) FROM `products` AS `p` , `category_product` AS `cp` WHERE `p`.`id` = `cp`.`id_product` AND `p`.`active` =1 AND `p`.`is_sale`=0 AND `p`.`active`=1 ORDER BY `p`.`available_status_update` ASC,`p`.`sort` ASC, `p`.`prioritystorage` DESC, `p`.`id` DESC , Array (), /home/poshvu.ru/public_html/www/class/Product.php, 795) called at [/home/poshvu.ru/public_html/www/class/Product.php:795] #1 site_Product::get_all_products() called at [/home/poshvu.ru/public_html/www/services/opt.php:23] #2 include_once(/home/poshvu.ru/public_html/www/services/opt.php) called at [/home/poshvu.ru/public_html/www/index.php:142]