Fatal error: Exception: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known (in /data/web/virtuals/1415/virtual/www/wire/core/ProcessWire.php line 494) #0 /data/web/virtuals/1415/virtual/www/wire/core/ProcessWire.php(302): ProcessWire\ProcessWire->load(Object(ProcessWire\Config)) #1 /data/web/virtuals/1415/virtual/www/index.php(52): ProcessWire\ProcessWire->__construct(Object(ProcessWire\Config)) #2 {main} in /data/web/virtuals/1415/virtual/www/index.php on line 64

Warning: Cannot modify header information - headers already sent by (output started at /data/web/virtuals/1415/virtual/www/index.php:64) in /data/web/virtuals/1415/virtual/www/wire/core/WireShutdown.php on line 306

Excuse me… Error: Exception: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known (in wire/core/ProcessWire.php line 494)

#0 wire/core/ProcessWire.php (302): ProcessWire->load(Object(Config))
#1 index.php (52): ProcessWire->__construct(Object(Config))
#2 {main}

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