string(675) "Error!: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
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) "31422"
["channel_id"]=>
&string(1) "4"
}
"
object(Exception)#3 (7) {
["message":protected]=>
string(126) "https://www.matelebuzz.com/api/StatsTweet/getAllByTVShowAndChannel?params=JTI2Y2hhbm5lbF9pZCUzRDQlMjZ0dnNob3dfaWQlM0QzMTQyMg=="
["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
}