Error!: 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/scripts/public_html/tnc25/_lib/invoice-gen/include.php:32 Stack trace: #0 /var/www/html/scripts/public_html/tnc25/_lib/invoice-gen/include.php(87): Database->query() #1 /var/www/html/scripts/public_html/tnc25/indico/users/avatar/display.php(3): include_once('/var/www/html/s...') #2 {main} thrown in /var/www/html/scripts/public_html/tnc25/_lib/invoice-gen/include.php on line 32