#!/usr/bin/env php ╔═══════════════════════════════════════════════════════╗ ║ Inventory Transaction Diagnostics ║ ╚═══════════════════════════════════════════════════════╝ ❌ ERROR: DB Connection failed: SQLSTATE[08006] [7] connection to server at "localhost" (::1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? 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? #0 /var/www/BAFTA/api/utils/DB.php(109): Core\DB->__construct() #1 /var/www/BAFTA/api/utils/QueryBuilder.php(43): Core\DB::getInstance() #2 /var/www/BAFTA/diagnose_inventory_txn.php(18): Core\QueryBuilder->__construct() #3 {main}