Problem with changing user group

[no app in context] Error: Exception: Argument 2 passed to OCA\Provisioning_API\Controller\UsersController::removeFromGroup() must be of the type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 169 at <>

  1. /var/www/nextcloud/lib/private/AppFramework/App.php line 152
    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Provisioning … {}, “removeFromGroup”)
  2. /var/www/nextcloud/lib/private/Route/Router.php line 308
    OC\AppFramework\App::main(“OCA\Provisioni … r”, “removeFromGroup”, OC\AppFramework\ … {}, {action: null,us … "})
  3. /var/www/nextcloud/ocs/v1.php line 88
    OC\Route\Router->match("/ocsapp/cloud/users/omtest3/groups")
  4. /var/www/nextcloud/ocs/v2.php line 24
    require_once("/var/www/nextcloud/ocs/v1.php")

DELETE /ocs/v2.php/cloud/users/omtest3/groups
from 185.144.40.215 by a.alawa at 2020-10-26T11:33:45+00:00

Unfortunately your report is missing essential information about your environment, used software versions, information how to reproduced etc., etc. Without that information it won’t be possible to provide a solution to you.

Additionally I have the impression that you haven’t used the fantastic search function of this forum, which you find in the upper right corner of this forum, otherwise you would have found out that other users have already posted similar issues:

https://help.nextcloud.com/search?q=UsersController%3A%3AremoveFromGroup()%20must%20be%20of%20the%20type%20string%2C%20null%20given

If you’re currently using NC v20.0.0, upgrade your system to v20.0.1 and try to replicate the problem :wink:

sorry i am using
Debia GNU /Linux 10 buster
install on top of it
Nextcloud 20.0.1

… and are you still able to replicated the problem with the new version, because it is listed as “fixed” in the change notes of v20.0.1: