From e8ef23d052072016b020d075c5aedcd189f26fd9 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 2 Jul 2024 10:58:05 +0200 Subject: [PATCH] fix(db): Too few arguments for `Doctrine\DBAL\Driver::getDatabasePlatform` - expecting versionProvider to be passed Signed-off-by: Joas Schilling --- lib/private/DB/Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/DB/Connection.php b/lib/private/DB/Connection.php index ccbd4633155..ebde26d396b 100644 --- a/lib/private/DB/Connection.php +++ b/lib/private/DB/Connection.php @@ -702,7 +702,7 @@ class Connection extends PrimaryReadReplicaConnection { } try { - $this->_conn->query($this->getDriver()->getDatabasePlatform()->getDummySelectSQL()); + $this->_conn->query($this->getDatabasePlatform()->getDummySelectSQL()); $this->lastConnectionCheck[$this->getConnectionName()] = time(); } catch (ConnectionLost|\Exception $e) { $this->logger->warning('Exception during connectivity check, closing and reconnecting', ['exception' => $e]);