Fatal error: Uncaught TypeError: Redis::connect(): Argument #1 ($host) must be of type string, bool given in /var/www/html/vendor/promphp/prometheus_client_php/src/Prometheus/Storage/Redis.php:237 Stack trace: #0 /var/www/html/vendor/promphp/prometheus_client_php/src/Prometheus/Storage/Redis.php(237): Redis->connect(false, 0, 0.1) #1 /var/www/html/vendor/promphp/prometheus_client_php/src/Prometheus/Storage/Redis.php(199): Prometheus\Storage\Redis->connectToServer() #2 /var/www/html/vendor/promphp/prometheus_client_php/src/Prometheus/Storage/Redis.php(334): Prometheus\Storage\Redis->ensureOpenConnection() #3 /var/www/html/vendor/promphp/prometheus_client_php/src/Prometheus/Gauge.php(21): Prometheus\Storage\Redis->updateGauge(Array) #4 /var/www/html/vendor/promphp/prometheus_client_php/src/Prometheus/CollectorRegistry.php(380): Prometheus\Gauge->set(1.0, Array) #5 /var/www/html/vendor/promphp/prometheus_client_php/src/Prometheus/CollectorRegistry.php(59): Prometheus\CollectorRegistry->registerDefaultMetrics() #6 /var/www/html/PrometheusMetrics/PromethusService.php(147): Prometheus\CollectorRegistry->__construct(Object(Prometheus\Storage\Redis), true) #7 /var/www/html/PrometheusMetrics/PromethusService.php(43): App\PrometheusMetrics\PromethusService->getRegistryInstance() #8 /var/www/html/server.php(106): App\PrometheusMetrics\PromethusService->__construct() #9 {main} thrown in /var/www/html/vendor/promphp/prometheus_client_php/src/Prometheus/Storage/Redis.php on line 237