Skip to content

Argument 1 passed to OC\Group\MetaData::generateGroupMetaData() must implement interface OCP\IGroup, null given #5636

Description

@MorrisJobke
  • opening the users page and getting following error:
Argument 1 passed to OC\Group\MetaData::generateGroupMetaData() must implement interface OCP\IGroup, null given, called in lib/private/Group/MetaData.php on line 92

#0 lib/private/Group/MetaData.php(92): OC\Group\MetaData->generateGroupMetaData(NULL, '')
#1 settings/users.php(69): OC\Group\MetaData->get()
#2 lib/private/Route/Route.php(155) : runtime-created function(1): require_once('...')
#3 [internal function]: __lambda_func()
#4 lib/private/Route/Router.php(299): call_user_func('\x00lambda_1280', Array)
#5 lib/base.php(1010): OC\Route\\Router->match('/settings/users')
#6 index.php(40): OC::handleRequest()
#7 {main}

"File":"lib/private/Group/MetaData.php",
"Line":160

@icewind1991 @blizzz @nickvergessen I can't find any code trace that would return a null group. Do you have any idea or should we just skip this case for now and then log something there?

https://support.nextcloud.com/#ticket/zoom/618

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions