++ CODE::: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column '223268.bt.blog_tag_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT COUNT(btx.blog_id) AS tag_count, bt.tag, bt.blog_tag_id, b.page_id FROM blog_tags_xref AS btx, blog_tags AS bt, blog AS b WHERE btx.blog_tag_id = bt.blog_tag_id AND btx.blog_id = b.blog_id AND b.page_id = :page_id GROUP BY bt.tag
Array ( [:page_id] => Array ( [key] => :page_id [value] => 264 [type] => 1 ) )