From 5498c539c0c11b6dfa748368165fec604bdc402e Mon Sep 17 00:00:00 2001 From: jdarwood007 Date: Sat, 28 Feb 2026 08:15:00 -0800 Subject: [PATCH] [3.0] Failed SQLite connection resulted in errors --- Sources/Cache/APIs/Sqlite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /**