Connection to database failed: SQLSTATE[HY000] [1045] Access denied for user 'spidernight'@'localhost' (using password: YES)
Notice: Undefined index: db in /var/www/spidernight.eu/public_html/code/classes/framework/main/Controller.php on line 14

Fatal error: Uncaught TypeError: Argument 1 passed to Configuration::retrieveRecords() must be an instance of PDO, null given, called in /var/www/spidernight.eu/public_html/code/classes/framework/main/Controller.php on line 122 and defined in /var/www/spidernight.eu/public_html/code/classes/framework/main/Configuration.php:322 Stack trace: #0 /var/www/spidernight.eu/public_html/code/classes/framework/main/Controller.php(122): Configuration->retrieveRecords(NULL, Array, Array) #1 /var/www/spidernight.eu/public_html/code/classes/framework/main/Controller.php(113): Controller->getRecords(Array, Array) #2 /var/www/spidernight.eu/public_html/code/classes/custom_html/PublicDocument.php(24): Controller->getOneRecord(Array, Array, true) #3 /var/www/spidernight.eu/public_html/public/index.php(7): PublicDocument->__construct('Spider Night') #4 {main} thrown in /var/www/spidernight.eu/public_html/code/classes/framework/main/Configuration.php on line 322