I got this error when creating new user on nextcloud 29.0.4
I determined the cause was that when I created an add user to a group, this error appeared.
And here is the log when I make the error
{“reqId”:“bfjgEatg7WCHcCGWhCfv”,“level”:3,“time”:“2025-03-19 01:08:08”,“remoteAddr”:“101.96.120.42”,“user”:“admin”,“app”:“PHP”,“method”:“GET”,“url”:“/ocs/v2.php/search/providers/settings_apps/search?term=iway3&from=%2Fsettings%2Fusers”,“message”:“Undefined array key "name" at /mnt/nextcloud/apps/settings/lib/Search/AppSearch.php#67”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36”,“version”:“29.0.4.1”,“data”:{“app”:“PHP”}}
{“reqId”:“bfjgEatg7WCHcCGWhCfv”,“level”:3,“time”:“2025-03-19 01:08:08”,“remoteAddr”:“101.96.120.42”,“user”:“admin”,“app”:“no app in context”,“method”:“GET”,“url”:“/ocs/v2.php/search/providers/settings_apps/search?term=iway3&from=%2Fsettings%2Fusers”,“message”:“stripos(): Argument #1 ($haystack) must be of type string, null given in file ‘/mnt/nextcloud/apps/settings/lib/Search/AppSearch.php’ line 67”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36”,“version”:“29.0.4.1”,“exception”:{“Exception”:“Exception”,“Message”:“stripos(): Argument #1 ($haystack) must be of type string, null given in file ‘/mnt/nextcloud/apps/settings/lib/Search/AppSearch.php’ line 67”,“Code”:0,“Trace”:[{“file”:“/mnt/nextcloud/lib/private/AppFramework/App.php”,“line”:184,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/mnt/nextcloud/lib/private/Route/Router.php”,“line”:338,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/mnt/nextcloud/ocs/v1.php”,“line”:66,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/mnt/nextcloud/ocs/v2.php”,“line”:23,“args”:[“/mnt/nextcloud/ocs/v1.php”],“function”:“require_once”}],“File”:“/mnt/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“Line”:170,“Previous”:{“Exception”:“TypeError”,“Message”:“stripos(): Argument #1 ($haystack) must be of type string, null given”,“Code”:0,“Trace”:[{“file”:“/mnt/nextcloud/apps/settings/lib/Search/AppSearch.php”,“line”:67,“function”:“stripos”},{“file”:“/mnt/nextcloud/lib/private/Search/SearchComposer.php”,“line”:345,“function”:“search”,“class”:“OCA\Settings\Search\AppSearch”,“type”:“->”},{“file”:“/mnt/nextcloud/core/Controller/UnifiedSearchController.php”,“line”:125,“function”:“search”,“class”:“OC\Search\SearchComposer”,“type”:“->”},{“file”:“/mnt/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:232,“function”:“search”,“class”:“OC\Core\Controller\UnifiedSearchController”,“type”:“->”},{“file”:“/mnt/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:138,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/mnt/nextcloud/lib/private/AppFramework/App.php”,“line”:184,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/mnt/nextcloud/lib/private/Route/Router.php”,“line”:338,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/mnt/nextcloud/ocs/v1.php”,“line”:66,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/mnt/nextcloud/ocs/v2.php”,“line”:23,“args”:[“/mnt/nextcloud/ocs/v1.php”],“function”:“require_once”}],“File”:“/mnt/nextcloud/apps/settings/lib/Search/AppSearch.php”,“Line”:67},“message”:“stripos(): Argument #1 ($haystack) must be of type string, null given in file ‘/mnt/nextcloud/apps/settings/lib/Search/AppSearch.php’ line 67”,“exception”:{},“CustomMessage”:“stripos(): Argument #1 ($haystack) must be of type string, null given in file ‘/mnt/nextcloud/apps/settings/lib/Search/AppSearch.php’ line 67”}}
Is there any way to determine the cause?