Fresh install of server 31 & OC\User\Database::countUsers() error

Please provide the full raw log entry.

Default config.

There’s really no such as thing as a default configuration. Given this error is database related, we need your config.