MySQL server error report:Array
(
[0] => Array
(
[message] => MySQL Query Error
)
[1] => Array
(
[sql] => SELECT COUNT(*) FROM `hqec_shop`.`dsc_goods` AS g LEFT JOIN `hqec_shop`.`dsc_merchants_shop_information` AS msi ON msi.user_id = g.user_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('347') OR g.goods_id IN ('') ) AND IF(g.model_price < 1, g.shop_price, IF(g.model_price < 2, wg.warehouse_price, wag.region_price)) <= 5000 AND g.review_status > 2
)
[2] => Array
(
[error] => Unknown column 'wg.warehouse_price' in 'where clause'
)
[3] => Array
(
[errno] => 1054
)
)