Warning: pg_connect(): Unable to connect to PostgreSQL server: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: sorry, too many clients already in /home/httpd/swimmingtimes.com/db/_phpcode/db_connection.inc on line 10
Fatal error: Uncaught TypeError: pg_query(): Argument #1 ($connection) must be of type PgSql\Connection, bool given in /home/httpd/swimmingtimes.com/db/_phpcode/Swimmer.inc:48
Stack trace:
#0 /home/httpd/swimmingtimes.com/db/_phpcode/Swimmer.inc(48): pg_query()
#1 /home/httpd/swimmingtimes.com/db/_phpcode/Swimmer.inc(42): Swimmer->load_data()
#2 /home/httpd/swimmingtimes.com/db/swimmer.php(30): Swimmer->__construct()
#3 {main}
thrown in /home/httpd/swimmingtimes.com/db/_phpcode/Swimmer.inc on line 48