diff --git a/src/model-cache/src/Manager.php b/src/model-cache/src/Manager.php index 8ac1aa81b..f8fcd269d 100644 --- a/src/model-cache/src/Manager.php +++ b/src/model-cache/src/Manager.php @@ -47,7 +47,7 @@ class Manager } foreach ($config->get('databases') as $key => $item) { - $handlerClass = $item['handler'] ?? RedisHandler::class; + $handlerClass = $item['cache']['handler'] ?? RedisHandler::class; $config = new Config($item['cache'] ?? [], $key); /** @var HandlerInterface $handler */