Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /www/wwwroot/crane/app/Core/Database.php:13
Stack trace:
#0 /www/wwwroot/crane/app/Core/Database.php(13): PDO->__construct()
#1 /www/wwwroot/crane/app/Core/Database.php(23): App\Core\Database->__construct()
#2 /www/wwwroot/crane/app/Core/Model.php(12): App\Core\Database::getInstance()
#3 /www/wwwroot/crane/app/Models/Setting.php(15): App\Core\Model->__construct()
#4 /www/wwwroot/crane/app/Views/layouts/main.php(6): App\Models\Setting::allSettings()
#5 /www/wwwroot/crane/app/Core/View.php(17): require('...')
#6 /www/wwwroot/crane/app/Controllers/Frontend/AuthController.php(78): App\Core\View::render()
#7 [internal function]: App\Controllers\Frontend\AuthController->registerForm()
#8 /www/wwwroot/crane/app/Core/Router.php(46): call_user_func_array()
#9 /www/wwwroot/crane/app/Core/App.php(42): App\Core\Router::dispatch()
#10 /www/wwwroot/crane/public/index.php(11): App\Core\App->run()
#11 {main}
thrown in /www/wwwroot/crane/app/Core/Database.php on line 13