diff --git a/lib/Categories/Database.php b/lib/Categories/Database.php index 0fd76b3..a0637f4 100644 --- a/lib/Categories/Database.php +++ b/lib/Categories/Database.php @@ -133,7 +133,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']); }