Fatal error: Uncaught TypeError: PDO::__construct(): Argument #2 ($username) must be of type ?string, false given in /var/www/html/w1/includes/Database.php:38
Stack trace:
#0 /var/www/html/w1/includes/Database.php(38): PDO->__construct()
#1 /var/www/html/w1/includes/Database.php(47): App\Database->__construct()
#2 /var/www/html/w1/includes/Database.php(59): App\Database::getInstance()
#3 /var/www/html/w1/services/AuthService.php(17): App\Database::connect()
#4 /var/www/html/w1/controllers/AuthController.php(19): App\Services\AuthService->__construct()
#5 /var/www/html/w1/includes/Router.php(89): App\Controllers\AuthController->__construct()
#6 /var/www/html/w1/public/index.php(92): App\Router->dispatch()
#7 {main}
thrown in /var/www/html/w1/includes/Database.php on line 38