string(896) "Error!: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'buzzmatepro.s.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
object(PDOStatement)#4 (1) { ["queryString"]=> string(443) "SELECT *, ROUND(AVG(s.tweetNb)) as tweetNb, c.id as channel_id, c.name_search as channel_name_search, c.name as channel_name, ts.name as tvshow_name FROM statsTweet s INNER JOIN channel c ON s.channel = c.id LEFT JOIN tvshow ts ON s.tvshow = ts.id LEFT JOIN broadcast b ON s.broadcast = b.id WHERE s.tvshow = :tvshow_id AND s.channel = :channel_id GROUP BY broadcast ORDER BY date ASC" } array(2) { ["tvshow_id"]=> &string(5) "43029" ["channel_id"]=> &string(1) "7" } " object(Exception)#3 (7) { ["message":protected]=> string(126) "https://www.matelebuzz.com/api/StatsTweet/getAllByTVShowAndChannel?params=JTI2Y2hhbm5lbF9pZCUzRDclMjZ0dnNob3dfaWQlM0Q0MzAyOQ==" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(31) "/var/www/mtb/controllers/WS.php" ["line":protected]=> int(58) ["trace":"Exception":private]=> array(2) { [0]=> array(5) { ["file"]=> string(39) "/var/www/mtb/controllers/Dispatcher.php" ["line"]=> int(25) ["function"]=> string(6) "callWS" ["class"]=> string(2) "WS" ["type"]=> string(2) "->" } [1]=> array(5) { ["file"]=> string(22) "/var/www/mtb/index.php" ["line"]=> int(6) ["function"]=> string(8) "dispatch" ["class"]=> string(10) "Dispatcher" ["type"]=> string(2) "::" } } ["previous":"Exception":private]=> NULL }