PDOException: SQLSTATE[08006] [7] FATAL: the database system is not yet accepting connections
DETAIL: Consistent recovery state has not been yet reached. in /root/trackdirect/htdocs/includes/pdoconnection.class.php:38
Stack trace:
#0 /root/trackdirect/htdocs/includes/pdoconnection.class.php(38): PDO->__construct('pgsql:dbname=tr...', NULL, NULL, Array)
#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('select * from s...')
#4 /root/trackdirect/htdocs/includes/repositories/modelrepository.class.php(39): PDOConnection->prepareAndExec('select * from s...', Array)
#5 /root/trackdirect/htdocs/includes/repositories/stationrepository.class.php(44): ModelRepository->getObjectFromSql('select * from s...', Array)
#6 /root/trackdirect/htdocs/public/views/overview.php(3): StationRepository->getObjectById('22876')
#7 /root/trackdirect/htdocs/public/index.php(314): include('/root/trackdire...')
#8 {main}