diff --git a/Sources/Cache/APIs/Sqlite.php b/Sources/Cache/APIs/Sqlite.php index d1bbac4dcd..0359984266 100755 --- a/Sources/Cache/APIs/Sqlite.php +++ b/Sources/Cache/APIs/Sqlite.php @@ -281,7 +281,7 @@ public function getVersion(): string|bool $this->connect(); } - return $this->cacheDB->version()['versionString']; + return $this->cacheDB !== null ? $this->cacheDB->version()['versionString'] : false; } /**