FilesHooks.php error

I am getting the following error in my log when NC is accessed:

Error PHP Undefined offset: 3 at /home/mountain/public_html/cloud/apps/activity/lib/FilesHooks.php#620

The line in question is this:
$accessList[‘ownerPath’] = ‘/’ . $sections[3];

Any ideas what it could mean?

ver 12.0.4
|Apache Version |2.4.29|
|PHP Version |5.6.32|
|MySQL Version |5.6.38|
|Operating System x86_64-redhat-linux-gnu

$CONFIG = array (
  'instanceid' => 'oc20leygohzu',
  'passwordsalt' => 'xxx',
  'secret' => 'xxx',
  'trusted_domains' => 
  array (
    0 => 'xxx',
  ),
  'logtimezone' => 'America/Vancouver',
  'datadirectory' => 'xxx/data',
  'overwrite.cli.url' => 'xxx',
  'dbtype' => 'mysql',
  'version' => '12.0.4.3',
  'dbname' => 'xxx',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'xxx',
  'dbpassword' => 'xxx',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'mail_from_address' => 'admin',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => 'xxx',
  'mail_smtphost' => 'xxx',
  'mail_smtpport' => 'xxx',
  'mail_smtpauth' => 1,
  'mail_smtpsecure' => 'ssl',
  'mail_smtpname' => 'xxx',
  'mail_smtppassword' => 'xxx',

The original bug report was here:

The first fix didn’t work (or not for everybody), so there was recently a new fix:

which will be part of NC 12.0.5, the release candidate is already out for testing:

If there are no serious problem, 12.0.5 should be released quickly (next week). If that’s not fast enough, you can either test the release candidate (don’t forget to make backups) or apply the fix manually.

I will wait for the update. Thanks.

Upgraded to 12.0.5 today, and so far no errors.

1 Like