User Management Error: Es ist ein Fehler bei der Anfrage aufgetreten. Es kann nicht fortgefahren werden

[details=“Support intro”]

Error: by scrooling in users or open groups stop the system and brings an error massage “Es ist ein Fehler bei der Anfrage aufgetreten. Es kann nicht fortgefahren werden.”

Nextcloud version: 24.0.3.2
Operating system and version: Ubuntu 20.04.4 LTS
nginx version: 1.21.6
PHP version: 8.1.8

The output of your Nextcloud log in Admin > Logging:

Raw:
{“reqId”:“1eA8lTxf2vA9SY6Ksh5D”,“level”:3,“time”:“2022-08-08T16:00:40+02:00”,“remoteAddr”:“217.7.196.167”,“user”:“Admin”,“app”:“no app in context”,“method”:“GET”,“url”:“/ocs/v2.php/cloud/users/details?offset=25&limit=25&search=”,“message”:“array_merge(): Argument #1 must be of type array, null given in file ‘/var/www/nextcloud/lib/private/Accounts/AccountManager.php’ line 593”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36”,“version”:“24.0.3.2”,“exception”:{“Exception”:“Exception”,“Message”:“array_merge(): Argument #1 must be of type array, null given in file ‘/var/www/nextcloud/lib/private/Accounts/AccountManager.php’ line 593”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:172,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Route/Router.php”,“line”:298,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/var/www/nextcloud/ocs/v1.php”,“line”:62,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/var/www/nextcloud/ocs/v2.php”,“line”:23,“args”:[“/var/www/nextcloud/ocs/v1.php”],“function”:“require_once”}],“File”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“Line”:165,“Previous”:{“Exception”:“TypeError”,“Message”:“array_merge(): Argument #1 must be of type array, null given”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/Accounts/AccountManager.php”,“line”:593,“function”:“array_merge”},{“file”:“/var/www/nextcloud/lib/private/Accounts/AccountManager.php”,“line”:343,“function”:“importFromJson”,“class”:“OC\Accounts\AccountManager”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Accounts/AccountManager.php”,“line”:772,“function”:“getUser”,“class”:“OC\Accounts\AccountManager”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/provisioning_api/lib/Controller/AUserData.php”,“line”:128,“function”:“getAccount”,“class”:“OC\Accounts\AccountManager”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/provisioning_api/lib/Controller/UsersController.php”,“line”:205,“function”:“getUserData”,“class”:“OCA\Provisioning_API\Controller\AUserData”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:225,“function”:“getUsersDetails”,“class”:“OCA\Provisioning_API\Controller\UsersController”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:133,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:172,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Route/Router.php”,“line”:298,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/var/www/nextcloud/ocs/v1.php”,“line”:62,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/var/www/nextcloud/ocs/v2.php”,“line”:23,“args”:[“/var/www/nextcloud/ocs/v1.php”],“function”:“require_once”}],“File”:“/var/www/nextcloud/lib/private/Accounts/AccountManager.php”,“Line”:593},“CustomMessage”:“–”},“id”:“62f1171394350”}


Problem is fixed!

There were problems in the database. Some users were not saved correctly.