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/DataNumerics.php(30): getDb() #1 /var/www/html/logics/DataNumerics.php(15): Logics\DataNumerics::ndaTotal() #2 /var/www/html/logics/Data.php(18): Logics\DataNumerics::getData() #3 /var/www/html/routers/router.php(67): Logics\Data->public() #4 /var/www/html/public/index.php(12): include('...') #5 {main} thrown in /var/www/html/libs/libs.php on line 77