Nextcloud 15 only loads 25 users [Solved]

Nextcloud version (eg, 12.0.2):15.0.4.0
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04
Apache or nginx version (eg, Apache 2.4.25): nginx/1.15.8
PHP version (eg, 7.1):7.2

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N):Y

Steps to replicate it:

  1. List users

The output of your Nextcloud log in Admin > Logging: Dont have a log

PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'instanceid' => '',
  'passwordsalt' => ','
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => '..',
    1 => '..',
  ),
  'datadirectory' => '/home/admin/data',
  'overwrite.cli.url' => 'https://..',
  'defaultapp' => 'files',
  'dbtype' => 'mysql',
  'version' => '15.0.4.0',
  'dbname' => 'admin_oc',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'admin_oc',
  'dbpassword' => '..',
  'logtimezone' => 'UTC',
  'installed' => true,
  'mail_from_address' => '..',
  'mail_smtpmode' => 'sendmail',
  'mail_domain' => '..',
  'appstore.experimental.enabled' => true,
  'log_type' => 'file',
  'loglevel' => 0,
  'mail_smtphost' => '..',
  'ldapIgnoreNamingRules' => false,
  'has_internet_connection' => true,
  'mail_smtpport' => '25',
  'mail_smtpauthtype' => 'PLAIN',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'joe',
  'mail_smtppassword' => '..',
  'mail_smtpsecure' => 'ssl',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'maintenance' => false,
  'theme' => '',
  'updatechecker' => true,
  'updater.server.url' => 'https://updates.nextcloud.com/updater_server/',
  'updater.release.channel' => 'stable',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/...../apps',
      'url' => '/apps',
      'writable' => true,
    ),
  ),
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'mail_sendmailmode' => 'smtp',
  'updater.secret' => '..',
);

The output of your Apache/nginx/system log in /var/log/____:

2019/02/12 23:30:25 [error] 10294#10294: *395 FastCGI sent in stderr: "PHP message: {"reqId":"nbEvfJWP1Yjs3OoaXxfa","level":3,"time":"2019-02-12T23:30:25+00:00","remoteAddr":"192.168.1.120","user":"joe","app":"PHP","method":"GET","url":"\/ocs\/v2.php\/cloud\/users\/details?offset=25&limit=25&search=","message":"TypeError: Argument 1 passed to OC\\Accounts\\AccountManager::addMissingDefaultValues() must be of the type array, null given, called in \/home\/admin\/web\/files.broadcastmedia.tv\/public_html\/lib\/private\/Accounts\/AccountManager.php on line 139 at \/home\/admin\/web\/files.broadcastmedia.tv\/public_html\/lib\/private\/Accounts\/AccountManager.php#176","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/71.0.3578.98 Safari\/537.36","version":"15.0.4.0"}" while reading response header from upstream, client: 192.168.1.120, server: files.broadcastmedia.tv, request: "GET /ocs/v2.php/cloud/users/details?offset=25&limit=25&search= HTTP/1.1", upstream: "fastcgi://127.0.0.1:9012", host: "192.168.1.3"

Never mind, when i merged from owncloud one account was missing a json entry in the data field in the database