Warning: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/webroot/ROOT/wire/core/WireDatabasePDO.php on line 113

Fatal error: Exception: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known (in /var/www/webroot/ROOT/wire/core/ProcessWire.php line 216) #0 /var/www/webroot/ROOT/wire/core/ProcessWire.php(94): ProcessWire->load(Object(Config)) #1 /var/www/webroot/ROOT/index.php(232): ProcessWire->__construct(Object(Config)) #2 {main} in /var/www/webroot/ROOT/index.php on line 248

Error: Exception: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known (in /var/www/webroot/ROOT/wire/core/ProcessWire.php line 216)

#0 /var/www/webroot/ROOT/wire/core/ProcessWire.php(94): ProcessWire->load(Object(Config))
#1 /var/www/webroot/ROOT/index.php(232): ProcessWire->__construct(Object(Config))
#2 {main}


This error message was shown because site is in debug mode ($config->debug = true; in /site/config.php). Error has been logged.