diff --git a/lib/Categories/Database.php b/lib/Categories/Database.php index f1004dc..512a0f8 100644 --- a/lib/Categories/Database.php +++ b/lib/Categories/Database.php @@ -119,7 +119,7 @@ protected function databaseSize() { $database_size = filesize($this->config->getSystemValue('dbhost')); } else { /** @psalm-suppress UndefinedInterfaceMethod */ - $params = $this->connection->getParams(); + $params = $this->connection->getInner()->getParams(); if (file_exists($params['path'])) { $database_size = filesize($params['path']); }