Warning (2): array_merge() [http://php.net/function.array-merge]: Argument #2 is not an array [APP/controllers/components/search_common.php, line 77]
Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group by g.id order by total_stock desc limit 0, 50' at line 12 [CORE/cake/libs/model/datasources/dbo_source.php, line 525]

Query: select g.*, sum(stock) as total_stock, group_concat(distinct i.color) as color, group_concat(distinct i.color_map) as color_map, group_concat(distinct i.size order by i.size) as size, group_concat(distinct i.price order by i.price) as price, group_concat(distinct i.image1) as image1, group_concat(distinct case when i.price < i.fixed_price then 1 else 0 end) as is_sale from groups as g inner join items i on g.id = i.group_id where 1=1 and g.maker in ('中編上靴(ハイカット)') and g.category1 = 'マジックタイプ' and g.category2 = group by g.id order by total_stock desc limit 0, 50

検索結果: 0件