diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index 269e27609b2..a78baee859a 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -876,8 +876,12 @@ class AppConfig implements IAppConfig { $type |= self::VALUE_SENSITIVE; } - if ($lazy !== $this->isLazy($app, $key)) { - $refreshCache = true; + try { + if ($lazy !== $this->isLazy($app, $key)) { + $refreshCache = true; + } + } catch (AppConfigUnknownKeyException) { + // pass } $update = $this->connection->getQueryBuilder();