Acitivty app outputs errors

Nextcloud version 18.0.6
Operating system and version: not sure, its webhosted.
Apache or nginx version: Apache, no clue of the version
PHP version 7.2.31

The issue you are facing:

Is this the first time you’ve seen this error? Yes

Steps to replicate it:

  1. I updated the instance to 18.0.6
  2. after few times trying, the activity app did show something in the webinterface. In the beginning it just didn’t load anything at all.
  3. Now it still outputs this error when open the activity page in a browser or iphone app.

Maybe someone around who could help me out in this?

The output of your Nextcloud log in Admin > Logging:

[PHP] Error: Undefined index: FN at /var/www/vhosts/hosting.domain.com/cloud.domain.com/apps/files_sharing/lib/Activity/Providers/Base.php#221

GET /ocs/v2.php/apps/activity/api/v2/activity/all?format=json&limit=200&previews=true&since=0
from xx.xx.xxx.xxx by user at 2020-06-24T14:29:18+00:00


[PHP] Error: Undefined index: FN at /var/www/vhosts/hosting.domain.com/cloud.domain.com/apps/files/lib/Activity/Provider.php#537

GET /ocs/v2.php/apps/activity/api/v2/activity/all?format=json&limit=200&previews=true&since=0
from xx.xx.xxx.xxx by user at 2020-06-24T14:29:18+00:00

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

<?php
$CONFIG = array (
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' => 
  array (
    0 => 'cloud.domain.com',
  ),
  'datadirectory' => '/var/www/vhosts/hosting.domain.com/cloud.domain.com/data',
  'dbtype' => 'mysql',
  'version' => '18.0.6.0',
  'overwrite.cli.url' => 'https://cloud.domain.com',
  'dbname' => 'dbname',
  'dbhost' => 'host',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '',
  'dbpassword' => '...',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'cloud',
  'mail_domain' => '',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => '',
  'mail_smtpauth' => 1,
  'mail_smtpname' => '',
  'mail_smtppassword' => '',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'updater.secret' => '',
);

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

[Wed Jun 24 15:47:20.864332 2020] [core:crit] [pid 1361] (13)Permission denied: [client xx.xx.xxx.xxx:58658] AH00529: /var/www/vhosts/hosting.domain.com/cloud.domain.com/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/vhosts/hosting.domain.com/cloud.domain.com/data/' is executable
[Wed Jun 24 15:51:00.039172 2020] [proxy_fcgi:error] [pid 1361] [client xx.xx.xxx.xxx:35650] AH01068: Got bogus version 150
[Wed Jun 24 15:51:00.039243 2020] [proxy_fcgi:error] [pid 1361] (22)Invalid argument: [client xx.xx.xxx.xxx:35650] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 15:53:10.488307 2020] [proxy_fcgi:error] [pid 30117] [client xx.xx.xxx.xxx:39274] AH01068: Got bogus version 0
[Wed Jun 24 15:53:10.488509 2020] [proxy_fcgi:error] [pid 30117] (22)Invalid argument: [client xx.xx.xxx.xxx:39274] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 15:53:10.722826 2020] [proxy_fcgi:error] [pid 894] [client xx.xx.xxx.xxx:39272] AH01068: Got bogus version 20
[Wed Jun 24 15:53:10.722932 2020] [proxy_fcgi:error] [pid 894] (22)Invalid argument: [client xx.xx.xxx.xxx:39272] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 15:58:08.587380 2020] [proxy_fcgi:error] [pid 1363] [client xx.xx.xxx.xxx:47210] AH01068: Got bogus version 68
[Wed Jun 24 15:58:08.587433 2020] [proxy_fcgi:error] [pid 1363] (22)Invalid argument: [client xx.xx.xxx.xxx:47210] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 15:59:01.580324 2020] [proxy_fcgi:error] [pid 1286] [client xx.xx.xxx.xxx:48708] AH01068: Got bogus version 68
[Wed Jun 24 15:59:01.580373 2020] [proxy_fcgi:error] [pid 1286] (22)Invalid argument: [client xx.xx.xxx.xxx:48708] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:00:29.884298 2020] [proxy_fcgi:error] [pid 26280] [client xx.xx.xxx.xxx:51006] AH01068: Got bogus version 0
[Wed Jun 24 16:00:29.884369 2020] [proxy_fcgi:error] [pid 26280] (22)Invalid argument: [client xx.xx.xxx.xxx:51006] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:00:32.097081 2020] [proxy_fcgi:error] [pid 19128] [client xx.xx.xxx.xxx:51076] AH01068: Got bogus version 150
[Wed Jun 24 16:00:32.097178 2020] [proxy_fcgi:error] [pid 19128] (22)Invalid argument: [client xx.xx.xxx.xxx:51076] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:02:33.472117 2020] [proxy_fcgi:error] [pid 895] [client xx.xx.xxx.xxx:54420] AH01068: Got bogus version 49
[Wed Jun 24 16:02:33.472186 2020] [proxy_fcgi:error] [pid 895] (22)Invalid argument: [client xx.xx.xxx.xxx:54420] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:02:37.522556 2020] [proxy_fcgi:error] [pid 19659] [client xx.xx.xxx.xxx:54552] AH01068: Got bogus version 0
[Wed Jun 24 16:02:37.522608 2020] [proxy_fcgi:error] [pid 19659] (22)Invalid argument: [client xx.xx.xxx.xxx:54552] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:02:38.260181 2020] [proxy_fcgi:error] [pid 895] [client xx.xx.xxx.xxx:54550] AH01068: Got bogus version 20
[Wed Jun 24 16:02:38.260219 2020] [proxy_fcgi:error] [pid 895] (22)Invalid argument: [client xx.xx.xxx.xxx:54550] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:02:40.050593 2020] [core:crit] [pid 19150] (13)Permission denied: [client xx.xx.xxx.xxx:54862] AH00529: /var/www/vhosts/hosting.domain.com/cloud.domain.com/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/vhosts/hosting.domain.com/cloud.domain.com/data/' is executable
[Wed Jun 24 16:03:24.101552 2020] [core:crit] [pid 3411] (13)Permission denied: [client xx.xx.xxx.xxx:56186] AH00529: /var/www/vhosts/hosting.domain.com/cloud.domain.com/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/vhosts/hosting.domain.com/cloud.domain.com/data/' is executable
[Wed Jun 24 16:03:25.689900 2020] [proxy_fcgi:error] [pid 1299] [client xx.xx.xxx.xxx:56250] AH01068: Got bogus version 20
[Wed Jun 24 16:03:25.690015 2020] [proxy_fcgi:error] [pid 1299] (22)Invalid argument: [client xx.xx.xxx.xxx:56250] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:14:59.285277 2020] [proxy_fcgi:error] [pid 19661] [client xx.xx.xxx.xxx:45846] AH01068: Got bogus version 73
[Wed Jun 24 16:14:59.285318 2020] [proxy_fcgi:error] [pid 19661] (22)Invalid argument: [client xx.xx.xxx.xxx:45846] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:14:59.860842 2020] [proxy_fcgi:error] [pid 3031] [client xx.xx.xxx.xxx:45904] AH01068: Got bogus version 0
[Wed Jun 24 16:14:59.860881 2020] [proxy_fcgi:error] [pid 3031] (22)Invalid argument: [client xx.xx.xxx.xxx:45904] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:15:26.691129 2020] [proxy_fcgi:error] [pid 19659] [client xx.xx.xxx.xxx:47228] AH01068: Got bogus version 0
[Wed Jun 24 16:15:26.691201 2020] [proxy_fcgi:error] [pid 19659] (22)Invalid argument: [client xx.xx.xxx.xxx:47228] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:15:26.932327 2020] [proxy_fcgi:error] [pid 13876] [client xx.xx.xxx.xxx:47226] AH01068: Got bogus version 20
[Wed Jun 24 16:15:26.932392 2020] [proxy_fcgi:error] [pid 13876] (22)Invalid argument: [client xx.xx.xxx.xxx:47226] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:15:40.814392 2020] [proxy_fcgi:error] [pid 3031] [client xx.xx.xxx.xxx:47490] AH01068: Got bogus version 49
[Wed Jun 24 16:15:40.814438 2020] [proxy_fcgi:error] [pid 3031] (22)Invalid argument: [client xx.xx.xxx.xxx:47490] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:15:42.025869 2020] [proxy_fcgi:error] [pid 19146] [client xx.xx.xxx.xxx:47566] AH01068: Got bogus version 20
[Wed Jun 24 16:15:42.025927 2020] [proxy_fcgi:error] [pid 19146] (22)Invalid argument: [client xx.xx.xxx.xxx:47566] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:15:42.232106 2020] [proxy_fcgi:error] [pid 2471] [client xx.xx.xxx.xxx:47568] AH01068: Got bogus version 0
[Wed Jun 24 16:15:42.232164 2020] [proxy_fcgi:error] [pid 2471] (22)Invalid argument: [client xx.xx.xxx.xxx:47568] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:21:10.266139 2020] [proxy_fcgi:error] [pid 29393] [client xx.xx.xxx.xxx:56062] AH01068: Got bogus version 229
[Wed Jun 24 16:21:10.266214 2020] [proxy_fcgi:error] [pid 29393] (22)Invalid argument: [client xx.xx.xxx.xxx:56062] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:21:10.814358 2020] [proxy_fcgi:error] [pid 3031] [client xx.xx.xxx.xxx:56066] AH01068: Got bogus version 0
[Wed Jun 24 16:21:10.814409 2020] [proxy_fcgi:error] [pid 3031] (22)Invalid argument: [client xx.xx.xxx.xxx:56066] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:22:08.371747 2020] [proxy_fcgi:error] [pid 3035] [client xx.xx.xxx.xxx:57994] AH01068: Got bogus version 49
[Wed Jun 24 16:22:08.371815 2020] [proxy_fcgi:error] [pid 3035] (22)Invalid argument: [client xx.xx.xxx.xxx:57994] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:22:36.547750 2020] [proxy_fcgi:error] [pid 29397] [client xx.xx.xxx.xxx:58754] AH01068: Got bogus version 0
[Wed Jun 24 16:22:36.547839 2020] [proxy_fcgi:error] [pid 29397] (22)Invalid argument: [client xx.xx.xxx.xxx:58754] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:27:01.067760 2020] [proxy_fcgi:error] [pid 4943] [client xx.xx.xxx.xxx:44436] AH01068: Got bogus version 229
[Wed Jun 24 16:27:01.067809 2020] [proxy_fcgi:error] [pid 4943] (22)Invalid argument: [client xx.xx.xxx.xxx:44436] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:32:59.924299 2020] [proxy_fcgi:error] [pid 30614] [client xx.xx.xxx.xxx:38804] AH01068: Got bogus version 229
[Wed Jun 24 16:32:59.924361 2020] [proxy_fcgi:error] [pid 30614] (22)Invalid argument: [client xx.xx.xxx.xxx:38804] AH01075: Error dispatching request to : (passing brigade to output filters)
[Wed Jun 24 16:35:00.407157 2020] [core:crit] [pid 29397] (13)Permission denied: [client xx.xx.xxx.xxx:48220] AH00529: /var/www/vhosts/hosting.domain.com/cloud.domain.com/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/vhosts/hosting.domain.com/cloud.domain.com/data/' is executable
[Wed Jun 24 16:35:03.695195 2020] [core:crit] [pid 4909] (13)Permission denied: [client xx.xx.xxx.xxx:48616] AH00529: /var/www/vhosts/hosting.domain.com/cloud.domain.com/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/vhosts/hosting.domain.com/cloud.domain.com/data/' is executable