SQLSTATE[08006] [7] connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?
Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/html/libs/libs.php:77
Stack trace:
#0 /var/www/html/logics/Utils.php(18): getDb()
#1 /var/www/html/routers/router.php(55): Logics\Utils::get_how_know_us_options()
#2 /var/www/html/public/index.php(12): include('...')
#3 {main}
thrown in /var/www/html/libs/libs.php on line 77