SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?
Fatal error: Uncaught Error: Call to a member function prepare() on null in /Applications/XAMPP/xamppfiles/htdocs/cartao_sobral/Models/Usuario.class.php:71 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/cartao_sobral/controllers/autenticar.php(10): Usuario->validarUsuario('jorge21llucio@g...', '202cb962ac59075...') #1 {main} thrown in /Applications/XAMPP/xamppfiles/htdocs/cartao_sobral/Models/Usuario.class.php on line 71