diff --git a/apps/settings/lib/SetupChecks/MemcacheConfigured.php b/apps/settings/lib/SetupChecks/MemcacheConfigured.php index c5acf5b5e34ba..2be94d7ed5f0c 100644 --- a/apps/settings/lib/SetupChecks/MemcacheConfigured.php +++ b/apps/settings/lib/SetupChecks/MemcacheConfigured.php @@ -59,7 +59,7 @@ public function run(): SetupResult { } if ($this->cacheFactory->isLocalCacheAvailable()) { - $random = random_bytes(64); + $random = bin2hex(random_bytes(64)); $local = $this->cacheFactory->createLocal('setupcheck.local'); try { $local->set('test', $random); @@ -76,7 +76,7 @@ public function run(): SetupResult { } if ($this->cacheFactory->isAvailable()) { - $random = random_bytes(64); + $random = bin2hex(random_bytes(64)); $distributed = $this->cacheFactory->createDistributed('setupcheck'); try { $distributed->set('test', $random);