Settings Page Broken

Nextcloud version (eg, 12.0.2): 13.0.5
Operating system and version (eg, Ubuntu 17.04): 16.04.4
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.18 (Ubuntu)
PHP version (eg, 7.1): 7.2.7.1

The issue you are facing:
Settings page on all users is appearing broke with missing fields as show here - https://gyazo.com/3eae030330ada1a47b9f30ea3436f431

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

The output of your Nextcloud log in Admin > Logging:

Warning	core	Trusted domain error. "IP" tried to access using "serverip" as host.	2018-08-12T09:48:09+0100

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

<?php
$CONFIG = array (
  'instanceid' => 'id',
  'passwordsalt' => 'password',
  'secret' => 'secret',
  'trusted_domains' => 
  array (
    0 => 'URL,
  ),
  'datadirectory' => '/var/www/html/data',
  'overwrite.cli.url' => 'overriteurl,
  'dbtype' => 'mysql',
  'version' => '13.0.5.2',
  'dbname' => 'oc',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'oc',
  'dbpassword' => 'passsword',
  'installed' => true,
  'maintenance' => false,
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => 'cloud',
  'mail_domain' => 'domain',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'host',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'email',
  'mail_smtppassword' => 'password',
  'mail_smtpsecure' => 'ssl',
  'theme' => 'theme',
  'knowledgebaseenabled' => false,
  'htaccess.RewriteBase' => '/',
  'logtimezone' => 'Europe/London',
  'skeletondirectory' => '',
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    3 => 'OC\\Preview\\BMP',
    4 => 'OC\\Preview\\XBitmap',
    5 => 'OC\\Preview\\MP3',
    6 => 'OC\\Preview\\TXT',
    7 => 'OC\\Preview\\TIFF',
    8 => 'OC\\Preview\\Photoshop',
    9 => 'OC\\Preview\\Illustrator',
  ),
  'preview_max_x' => 1000,
  'preview_max_y' => 1000,
  'loglevel' => 2,
);

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

File is extreamlly long I will send you the file if needed