Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Database Exceptionyii\db\Exception

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'xinghao' in 'where clause'
The SQL being executed was: SELECT `id`, `sku`, `spu`, `name`, `image`, `price`, `special_price`, `special_from`, `special_to`, `url_key`, `score`, `is_in_stock`, `review_count`, `favorite_count`, `created_at`, `qty`, `final_price`, `brand_id` FROM `product_flat` WHERE (`id` IN ('102', '103', '104', '105', '108', '117', '118', '119', '120', '122', '123', '124', '125', '126', '127', '128', '129', '130', '131', '132', '133', '134', '135', '136', '137', '138', '139', '140', '142', '143', '146', '148', '241', '29', '30', '31', '32', '36', '37', '38', '40', '88', '89', '90', '91', '92', '93', '94', '95', '96', '97')) AND (`xinghao`='xinghao1') AND (`status`=1) ORDER BY `review_count` DESC LIMIT 12

Error Info: Array
(
    [0] => 42S22
    [1] => 1054
    [2] => Unknown column 'xinghao' in 'where clause'
)
$_GET = [
    'xinghao' => 'xinghao1',
    'sort' => 'review_count',
    'dir' => 'desc',
    'id' => '28',
];

$_SESSION = [
    '__flash' => [],
    'currency_current' => 'USD',
];