Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo for revilyappsession2-cluster.cluster-cxyptruvxp24.us-east-1.rds.amazonaws.com failed: Name or service not known in /var/app/current/core/libraries/Database.php:102
Stack trace:
#0 /var/app/current/core/libraries/Database.php(102): PDO->__construct('mysql:host=revi...', 'revilyapp', 'de4567ikn!Hhiuy', Array)
#1 /var/app/current/core/libraries/Database.php(132): Database->setResource(Array)
#2 /var/app/current/core/libraries/Database.php(374): Database->getResource(Array)
#3 /var/app/current/core/libraries/SessionDB.php(84): Database->query('session', 'main', 'SELECT data FRO...')
#4 [internal function]: SessionDB->read('4814sb3vun33qda...')
#5 /var/app/current/core/libraries/SessionDB.php(60): session_start()
#6 /var/app/current/core/init_layers.php(2): SessionDB->__construct('Revily_Sessionp...')
#7 /var/app/current/index.php(11): require_once('/var/app/curren...')
#8 {main}
Next PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for revilyappsession2-cluster.cluster-cxyptruvxp24.us-east-1.rds.amazonaws.com failed: Name or service not known in /var/app/current/core/libraries/Database.php:102
Stack trace:
#0 /var/app/current/core/libraries/Database.php(102): PDO->__construct('mysql:host=revi...', 'revilyapp', 'de4567ikn!Hhiuy', Array)
#1 /var/app/current/core/libraries/Database.php(132): Database->setResource(Array)
#2 /var/app/current/core/libraries/Database.php(374): Database->getResource(Array)
#3 /var/app/current/core/libraries/SessionDB.php(84): Database->query('session', 'main', 'SELECT data FRO...')
#4 [internal function]: SessionDB->read('4814sb3vun33qda...')
#5 /var/app/current/core/libraries/SessionDB.php(60): session_start()
#6 /var/app/current/core/init_layers.php(2): SessionDB->__construct('Revily_Sessionp...')
#7 /var/app/current/index.php(11): require_once('/var/app/curren...')
#8 {main}
thrown in /var/app/current/core/libraries/Database.php on line 102
Fatal error: Uncaught Error: Call to a member function query() on null in /var/app/current/core/libraries/Messaging.php:154
Stack trace:
#0 /var/app/current/core/libraries/Messaging.php(34): Messaging->saveMessage('fatal_error', 5857)
#1 /var/app/current/core/load_arch.php(27): Messaging->setMsg('fatal_error', '{"type":1,"mess...', true)
#2 [internal function]: shutdown_handler()
#3 {main}
thrown in /var/app/current/core/libraries/Messaging.php on line 154