Fatal error: Exception: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Temporary failure in name resolution (in /var/www/html/wire/core/WireDatabasePDO.php line 556)
#0 /var/www/html/wire/core/WireDatabasePDO.php(556): PDO->__construct('mysql:dbname=de...', 'mysql', Object(SensitiveParameterValue), Array)
#1 /var/www/html/wire/core/WireDatabasePDO.php(933): ProcessWire\WireDatabasePDO->pdoWriter()
#2 /var/www/html/wire/core/WireSaveableItems.php(219): ProcessWire\WireDatabasePDO->prepare('SELECT fields.i...')
#3 /var/www/html/wire/core/Wire.php(416): ProcessWire\WireSaveableItems->___load(Object(ProcessWire\FieldsArray))
#4 /var/www/html/wire/core/WireHooks.php(1018): ProcessWire\Wire->_callMethod('___load', Array)
#5 /var/www/html/wire/core/Wire.php(484): ProcessWire\WireHooks->runHooks(Object(ProcessWire\Fields), 'load', Array)
#6 /var/www/html/wire/core/Fields.php(336): ProcessWire\Wire->__call('load', Array)
#7 /var/www/html/wire/core/Fields.php(179): ProcessWire\Fields->getWireArray()
#8 /var/www/html/wire/core/ProcessWire.php(628): ProcessWire\Fields->init()
#9 /var/www/html/wire/core/ProcessWire.php(579): ProcessWire\ProcessWire->initVar('fields', Object(ProcessWire\Fields))
#10 /var/www/html/wire/core/ProcessWire.php(316): ProcessWire\ProcessWire->load(Object(ProcessWire\Config))
#11 /var/www/html/index.php(54): ProcessWire\ProcessWire->__construct(Object(ProcessWire\Config))
#12 {main} in /var/www/html/index.php on line 66
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:66) in /var/www/html/wire/core/WireHttp.php on line 1862
Oh no… Error: Exception: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Temporary failure in name resolution (in wire/core/WireDatabasePDO.php line 556)
#0 wire/core/WireDatabasePDO.php (556): PDO->__construct('mysql:dbname=de...', 'mysql', Object(SensitiveParameterValue), Array)
#1 wire/core/WireDatabasePDO.php (933): WireDatabasePDO->pdoWriter()
#2 wire/core/WireSaveableItems.php (219): WireDatabasePDO->prepare('SELECT fields.i...')
#3 wire/core/Wire.php (416): WireSaveableItems->___load(Object(FieldsArray))
#4 wire/core/WireHooks.php (1018): Wire->_callMethod('___load', Array)
#5 wire/core/Wire.php (484): WireHooks->runHooks(Object(Fields), 'load', Array)
#6 wire/core/Fields.php (336): Wire->__call('load', Array)
#7 wire/core/Fields.php (179): Fields->getWireArray()
#8 wire/core/ProcessWire.php (628): Fields->init()
#9 wire/core/ProcessWire.php (579): ProcessWire->initVar('fields', Object(Fields))
#10 wire/core/ProcessWire.php (316): ProcessWire->load(Object(Config))
#11 index.php (54): ProcessWire->__construct(Object(Config))
#12 {main}
This error message was shown because: site is in debug mode. ($config->debug = true; => site/config.php). Error has been logged.