n Array ( [0] => flannian-sql [1] => select Count(AllZans.ID) as `AgeCount`, AllZans.*, d.*, d.Name as `DiscussionName`, c.Body as `CommentBody`, c.DateInserted as `CommentDateInserted` from GDN_AllZans `AllZans` left join GDN_Discussion d on AllZans.DiscussionID = d.DiscussionID left join GDN_Comment c on AllZans.CommentID = c.CommentID where (FLOOR((TO_DAYS(NOW())-TO_DAYS(AllZans.ZanDate))/30.5) = :FLOORTO_DAYSNOWTO_DAYSAllZansZanDate305 and AllZans.CommentID > :AllZansCommentID) group by AllZans.CommentID order by AgeCount desc [2] => 42000 [3] => 1055 [4] => Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'KangLink.AllZans.ID' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by [5] => no PDOStatement )