-
-
Notifications
You must be signed in to change notification settings - Fork 14
Description
What version of phpCacheAdmin are you using?
2.3.4
Cache system and version
No response
Extension or client and version
No response
PHP Version
Operating System
docker
Describe the issue
Fatal error: Uncaught TypeError: RobiNN\Pca\Helpers::getServerTitle(): Argument #1 ($server) must be of type array, string given in /var/www/html/src/Helpers.php:174 Stack trace: #0 [internal function]: RobiNN\Pca\Helpers::getServerTitle('redis.dragonfly') #1 /var/www/html/src/Helpers.php(190): array_map(Object(Closure), Array) #2 /var/www/html/src/Dashboards/Redis/RedisDashboard.php(134): RobiNN\Pca\Helpers::serverSelector(Object(RobiNN\Pca\Template), Array, 0) #3 /var/www/html/src/Admin.php(73): RobiNN\Pca\Dashboards\Redis\RedisDashboard->dashboard() #4 /var/www/html/index.php(41): RobiNN\Pca\Admin->render(false) #5 {main} thrown in /var/www/html/src/Helpers.php on line 174
Note this was working in previous version 2.3.1 - i retried it
Those are the env values i tried:
PCA_REDIS_0_NAME=dragonfly
PCA_REDIS_0_HOST=dragonfly.dragonfly
PCA_REDIS_0_PORT=6379
PCA_REDIS_1_NAME=dragonfly-2
PCA_REDIS_1_HOST=redis.dragonfly
PCA_REDIS_1_PORT=6379
PCA_MEMCACHED_0_NAME=dragonfly
PCA_MEMCACHED_0_HOST=dragonfly.dragonfly
PCA_MEMCACHED_0_PORT=11211