Problema na conexao com servidor
/home/clubmod/newclubmodel/config/Conexao.php:29:
object(PDOException)[85]
protected 'message' => string 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known' (length=94)
private 'string' (Exception) => string '' (length=0)
protected 'code' => int 2002
protected 'file' => string '/home/clubmod/newclubmodel/config/Conexao.php' (length=45)
protected 'line' => int 14
private 'trace' (Exception) =>
array (size=9)
0 =>
array (size=5)
'file' => string '/home/clubmod/newclubmodel/config/Conexao.php' (length=45)
'line' => int 14
'function' => string '__construct' (length=11)
'class' => string 'PDO' (length=3)
'type' => string '->' (length=2)
1 =>
array (size=5)
'file' => string '/home/clubmod/newclubmodel/public/index.php' (length=43)
'line' => int 429
'function' => string '__construct' (length=11)
'class' => string 'config\Conexao' (length=14)
'type' => string '->' (length=2)
2 =>
array (size=3)
'file' => string '/home/clubmod/newclubmodel/public/index.php' (length=43)
'line' => int 338
'function' => string 'boot' (length=4)
3 =>
array (size=1)
'function' => string '{closure}' (length=9)
4 =>
array (size=3)
'file' => string '/home/clubmod/newclubmodel/vendor/respect/rest/library/Respect/Rest/Routes/Callback.php' (length=87)
'line' => int 88
'function' => string 'call_user_func_array' (length=20)
5 =>
array (size=5)
'file' => string '/home/clubmod/newclubmodel/vendor/respect/rest/library/Respect/Rest/Request.php' (length=79)
'line' => int 238
'function' => string 'runTarget' (length=9)
'class' => string 'Respect\Rest\Routes\Callback' (length=28)
'type' => string '->' (length=2)
6 =>
array (size=5)
'file' => string '/home/clubmod/newclubmodel/vendor/respect/rest/library/Respect/Rest/Router.php' (length=78)
'line' => int 568
'function' => string 'response' (length=8)
'class' => string 'Respect\Rest\Request' (length=20)
'type' => string '->' (length=2)
7 =>
array (size=5)
'file' => string '/home/clubmod/newclubmodel/vendor/respect/rest/library/Respect/Rest/Router.php' (length=78)
'line' => int 231
'function' => string 'run' (length=3)
'class' => string 'Respect\Rest\Router' (length=19)
'type' => string '->' (length=2)
8 =>
array (size=3)
'function' => string '__destruct' (length=10)
'class' => string 'Respect\Rest\Router' (length=19)
'type' => string '->' (length=2)
private 'previous' (Exception) =>
object(PDOException)[84]
protected 'message' => string 'PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known' (length=91)
private 'string' (Exception) => string '' (length=0)
protected 'code' => int 0
protected 'file' => string '/home/clubmod/newclubmodel/config/Conexao.php' (length=45)
protected 'line' => int 14
private 'trace' (Exception) =>
array (size=9)
0 =>
array (size=5)
...
1 =>
array (size=5)
...
2 =>
array (size=3)
...
3 =>
array (size=1)
...
4 =>
array (size=3)
...
5 =>
array (size=5)
...
6 =>
array (size=5)
...
7 =>
array (size=5)
...
8 =>
array (size=3)
...
private 'previous' (Exception) => null
public 'errorInfo' => null
public 'xdebug_message' => string '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/clubmod/newclubmodel/config/Conexao.php on line <i>14</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='... (length=3985)
public 'severity' => int 2
public 'errorInfo' => null