Closed nblock closed 8 months ago
A working RSS feed with recent activities
HTTP/500 server error with OC\Group\Manager::getUserIdGroupIds(): Argument #1 ($uid) must be of type string, null given
OC\Group\Manager::getUserIdGroupIds(): Argument #1 ($uid) must be of type string, null given
Operating system: Ubuntu 22.04 Web server: Apache/2.4.52 Database: 8.0.35-0ubuntu0.22.04.1 PHP version: 8.1+92 Nextcloud version: 28.0.1.1 Where did you install Nextcloud from: tar.gz
List of activated apps:
Are you using an external user-backend, if yes which one: no
Browser: curl
{ "reqId": "9sefX8LMpcI9ZwHVfJKo", "level": 3, "time": "2024-01-24T06:36:33+00:00", "remoteAddr": "11.22.33.444", "user": "--", "app": "index", "method": "GET", "url": "/index.php/apps/activity/rss.php?token=RANDOM_TOKEN", "message": "OC\\Group\\Manager::getUserIdGroupIds(): Argument #1 ($uid) must be of type string, null given, called in /srv/nextcloud/nextcloud-28.0.1/lib/private/Group/Manager.php on line 374 in file '/srv/nextcloud/nextcloud-28.0.1/lib/private/Group/Manager.php' line 391", "userAgent": "A feed reader", "version": "28.0.1.1", "exception": { "Exception": "Exception", "Message": "OC\\Group\\Manager::getUserIdGroupIds(): Argument #1 ($uid) must be of type string, null given, called in /srv/nextcloud/nextcloud-28.0.1/lib/private/Group/Manager.php on line 374 in file '/srv/nextcloud/nextcloud-28.0.1/lib/private/Group/Manager.php' line 391", "Code": 0, "Trace": [ { "file": "/srv/nextcloud/nextcloud-28.0.1/lib/private/AppFramework/App.php", "line": 184, "function": "dispatch", "class": "OC\\AppFramework\\Http\\Dispatcher", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/lib/private/Route/Router.php", "line": 315, "function": "main", "class": "OC\\AppFramework\\App", "type": "::" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/lib/base.php", "line": 1069, "function": "match", "class": "OC\\Route\\Router", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/index.php", "line": 39, "function": "handleRequest", "class": "OC", "type": "::" } ], "File": "/srv/nextcloud/nextcloud-28.0.1/lib/private/AppFramework/Http/Dispatcher.php", "Line": 169, "Previous": { "Exception": "TypeError", "Message": "OC\\Group\\Manager::getUserIdGroupIds(): Argument #1 ($uid) must be of type string, null given, called in /srv/nextcloud/nextcloud-28.0.1/lib/private/Group/Manager.php on line 374", "Code": 0, "Trace": [ { "file": "/srv/nextcloud/nextcloud-28.0.1/lib/private/Group/Manager.php", "line": 374, "function": "getUserIdGroupIds", "class": "OC\\Group\\Manager", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/apps_custom/deck/lib/Service/PermissionService.php", "line": 234, "function": "isInGroup", "class": "OC\\Group\\Manager", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/apps_custom/deck/lib/Service/PermissionService.php", "line": 115, "function": "userCan", "class": "OCA\\Deck\\Service\\PermissionService", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/apps_custom/deck/lib/Service/PermissionService.php", "line": 160, "function": "getPermissions", "class": "OCA\\Deck\\Service\\PermissionService", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/apps_custom/deck/lib/Activity/ActivityManager.php", "line": 571, "function": "checkPermission", "class": "OCA\\Deck\\Service\\PermissionService", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/apps_custom/deck/lib/Activity/DeckProvider.php", "line": 131, "function": "canSeeCardActivity", "class": "OCA\\Deck\\Activity\\ActivityManager", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/apps/activity/lib/GroupHelper.php", "line": 72, "function": "parse", "class": "OCA\\Deck\\Activity\\DeckProvider", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/apps/activity/lib/Data.php", "line": 248, "function": "addActivity", "class": "OCA\\Activity\\GroupHelper", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/apps/activity/lib/Controller/FeedController.php", "line": 75, "function": "get", "class": "OCA\\Activity\\Data", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/lib/private/AppFramework/Http/Dispatcher.php", "line": 230, "function": "show", "class": "OCA\\Activity\\Controller\\FeedController", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/lib/private/AppFramework/Http/Dispatcher.php", "line": 137, "function": "executeController", "class": "OC\\AppFramework\\Http\\Dispatcher", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/lib/private/AppFramework/App.php", "line": 184, "function": "dispatch", "class": "OC\\AppFramework\\Http\\Dispatcher", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/lib/private/Route/Router.php", "line": 315, "function": "main", "class": "OC\\AppFramework\\App", "type": "::" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/lib/base.php", "line": 1069, "function": "match", "class": "OC\\Route\\Router", "type": "->" }, { "file": "/srv/nextcloud/nextcloud-28.0.1/index.php", "line": 39, "function": "handleRequest", "class": "OC", "type": "::" } ], "File": "/srv/nextcloud/nextcloud-28.0.1/lib/private/Group/Manager.php", "Line": 391 }, "message": "OC\\Group\\Manager::getUserIdGroupIds(): Argument #1 ($uid) must be of type string, null given, called in /srv/nextcloud/nextcloud-28.0.1/lib/private/Group/Manager.php on line 374 in file '/srv/nextcloud/nextcloud-28.0.1/lib/private/Group/Manager.php' line 391", "exception": {}, "CustomMessage": "OC\\Group\\Manager::getUserIdGroupIds(): Argument #1 ($uid) must be of type string, null given, called in /srv/nextcloud/nextcloud-28.0.1/lib/private/Group/Manager.php on line 374 in file '/srv/nextcloud/nextcloud-28.0.1/lib/private/Group/Manager.php' line 391" } }
Duplicate of nextcloud/deck#5499 (and fixed in latest Deck)
Steps to reproduce
Expected behaviour
A working RSS feed with recent activities
Actual behaviour
HTTP/500 server error with
OC\Group\Manager::getUserIdGroupIds(): Argument #1 ($uid) must be of type string, null given
Server configuration
Operating system: Ubuntu 22.04 Web server: Apache/2.4.52 Database: 8.0.35-0ubuntu0.22.04.1 PHP version: 8.1+92 Nextcloud version: 28.0.1.1 Where did you install Nextcloud from: tar.gz
List of activated apps:
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: curl
Logs
Nextcloud log (data/nextcloud.log)