PDOException: SQLSTATE[08006] [7] connection to server at "127.0.0.1", port 5432 failed: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request. in /root/trackdirect/htdocs/includes/pdoconnection.class.php:39
Stack trace:
#0 /root/trackdirect/htdocs/includes/pdoconnection.class.php(39): PDO->__construct()
#1 /root/trackdirect/htdocs/includes/pdoconnection.class.php(59): PDOConnection->createConnection()
#2 /root/trackdirect/htdocs/includes/pdoconnection.class.php(84): PDOConnection->getConnection()
#3 /root/trackdirect/htdocs/includes/pdoconnection.class.php(96): PDOConnection->prepare()
#4 /root/trackdirect/htdocs/includes/repositories/modelrepository.class.php(39): PDOConnection->prepareAndExec()
#5 /root/trackdirect/htdocs/includes/repositories/stationrepository.class.php(44): ModelRepository->getObjectFromSql()
#6 /root/trackdirect/htdocs/public/views/weather.php(3): StationRepository->getObjectById()
#7 /root/trackdirect/htdocs/public/index.php(313): include('/root/trackdire...')
#8 {main}