Share Password Sent, But Link E-mail Missing

Nextcloud version (eg, 12.0.2): 13.0.1
Operating system and version (eg, Ubuntu 17.04): Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-96-generic x86_64)
Apache or nginx version (eg, Apache 2.4.25): 2.4.18 (Ubuntu)
PHP version (eg, 7.1): 7.0.28-0ubuntu0.16.04.1 (cli) ( NTS )

The issue you are facing:
Share passwords are being sent to the individual sharing, but the e-mail to the recipient of the share is never sent. I’ve verified through Exchange logs that the password e-mails are sent, but no e-mails for the recipient are generated.

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

Steps to replicate it:

  1. Click Files icon in Nextcloud
  2. Click the Sharing icon
  3. Type an e-mail address in the text field
  4. Click the e-mail address
  5. Sharer receives an e-mail specifying the password and a notice that the link had been sent to the recipient
  6. E-mail logs show password e-mail sent, but link e-mail was never logged

The output of your Nextcloud log in Admin > Logging:

Error	PHP	Cannot modify header information - headers already sent by (output started at /var/www/nextcloud/apps/passman/personal.php:1) at /var/www/nextcloud/lib/private/AppFramework/Http/Output.php#69	2018-04-12T15:53:09-0500
Error	PHP	Cannot modify header information - headers already sent by (output started at /var/www/nextcloud/apps/passman/personal.php:1) at /var/www/nextcloud/lib/private/AppFramework/Http/Output.php#69	2018-04-12T15:53:09-0500
Error	PHP	Cannot modify header information - headers already sent by (output started at /var/www/nextcloud/apps/passman/personal.php:1) at /var/www/nextcloud/lib/private/AppFramework/Http/Output.php#69	2018-04-12T15:53:09-0500
Error	PHP	Cannot modify header information - headers already sent by (output started at /var/www/nextcloud/apps/passman/personal.php:1) at /var/www/nextcloud/lib/private/AppFramework/Http/Output.php#69	2018-04-12T15:53:09-0500

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

<?php
$CONFIG = array (
  'passwordsalt' => '[redacted]',
  'secret' => '[redacted]',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => 'nextcloud',
    2 => '192.168.10.10',
    3 => 'cloud.domain.com',
  ),
  'datadirectory' => '/var/ncdata',
  'overwrite.cli.url' => 'https://cloud.domain.com/',
  'overwritehost' => 'cloud.domain.com',
  'overwriteprotocol' => 'https',
  'overwritecondaddr' => '192\\.168\\.10\\.5$',
  'trusted_proxies' =>
  array (
    0 => '192.168.10.5',
  ),
  'forwarded_for_headers' =>
  array (
    0 => 'HTTP_X_FORWARDED_FOR',
  ),
  'allow_user_to_change_display_name' => false,
  'dbtype' => 'mysql',
  'version' => '13.0.1.1',
  'dbname' => 'nextcloud_db',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '[redacted]',
  'dbpassword' => '[redacted]',
  'defaultapp' => 'apporder',
  'installed' => true,
  'instanceid' => '[redacted]',
  'maintenance' => false,
  'mail_smtpmode' => 'smtp',
  'log_rotate_size' => '1048576',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => true,
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0,
    'dbindex' => 0,
    'password' => '[redacted]',
  ),
  'htaccess.RewriteBase' => '/',
  'loglevel' => '2',
  'log_type' => 'file',
  'logfile' => '/var/ncdata/nextcloud.log',
  'logtimezone' => 'America/Chicago',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => '[redacted]',
  'mail_domain' => 'domain.com',
  'mail_smtphost' => '192.168.10.5',
  'mail_smtpport' => '25',
);

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

Unable to locate system log...

I also noticed that when I’m in my user settings and check out the Sharing link, the page is blank. This doesn’t matter if I’m logged in as an admin or a user. (Files and folders shared do show up properly in the Files section.)