-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Description
Exemple (here $uid is 6151):
{
"reqId": "qvDiiMQ3rImSaIOahPem",
"level": 3,
"app": "index",
"method": "POST",
"url": "/displaynames",
"message": "strpos(): Argument nextcloud/guests#1 ($haystack) must be of type string, int given in file '/var/www/nextcloud/apps/guests/lib/UserBackend.php' line 299",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36",
"version": "30.0.14.1",
"exception": {
"Exception": "Exception",
"Message": "strpos(): Argument nextcloud/guests#1 ($haystack) must be of type string, int given in file '/var/www/nextcloud/apps/guests/lib/UserBackend.php' line 299",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
"line": 161,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{
"__class__": "OC\\Core\\Controller\\UserController"
},
"getDisplayNames"
]
},
{
"file": "/var/www/nextcloud/lib/private/Route/Router.php",
"line": 303,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": [
"OC\\Core\\Controller\\UserController",
"getDisplayNames",
{
"__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
},
{
"_route": "core.user.getdisplaynames"
}
]
},
{
"file": "/var/www/nextcloud/lib/base.php",
"line": 1031,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": [
"/displaynames"
]
},
{
"file": "/var/www/nextcloud/index.php",
"line": 24,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}
],
"File": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"Line": 146,
"Previous": {
"Exception": "TypeError",
"Message": "strpos(): Argument nextcloud/guests#1 ($haystack) must be of type string, int given",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/apps/guests/lib/UserBackend.php",
"line": 299,
"function": "strpos",
"args": [
6151,
"@"
]
},
{
"file": "/var/www/nextcloud/apps/guests/lib/UserBackend.php",
"line": 356,
"function": "loadUser",
"class": "OCA\\Guests\\UserBackend",
"type": "->",
"args": [
6151
]
},
{
"file": "/var/www/nextcloud/apps/user_saml/lib/UserBackend.php",
"line": 421,
"function": "userExists",
"class": "OCA\\Guests\\UserBackend",
"type": "->",
"args": [
6151
]
},
{
"file": "/var/www/nextcloud/apps/user_saml/lib/UserBackend.php",
"line": 188,
"function": "getActualUserBackend",
"class": "OCA\\User_SAML\\UserBackend",
"type": "->",
"args": [
6151
]
},
{
"file": "/var/www/nextcloud/lib/private/User/Manager.php",
"line": 136,
"function": "userExists",
"class": "OCA\\User_SAML\\UserBackend",
"type": "->",
"args": [
6151
]
},
{
"file": "/var/www/nextcloud/core/Controller/UserController.php",
"line": 39,
"function": "get",
"class": "OC\\User\\Manager",
"type": "->",
"args": [
6151
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 208,
"function": "getDisplayNames",
"class": "OC\\Core\\Controller\\UserController",
"type": "->",
"args": [
[
6151
]
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 114,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{
"__class__": "OC\\Core\\Controller\\UserController"
},
"getDisplayNames"
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
"line": 161,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{
"__class__": "OC\\Core\\Controller\\UserController"
},
"getDisplayNames"
]
},
{
"file": "/var/www/nextcloud/lib/private/Route/Router.php",
"line": 303,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": [
"OC\\Core\\Controller\\UserController",
"getDisplayNames",
{
"__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
},
{
"_route": "core.user.getdisplaynames"
}
]
},
{
"file": "/var/www/nextcloud/lib/base.php",
"line": 1031,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": [
"/displaynames"
]
},
{
"file": "/var/www/nextcloud/index.php",
"line": 24,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}
],
"File": "/var/www/nextcloud/apps/guests/lib/UserBackend.php",
"Line": 299
},
"message": "strpos(): Argument nextcloud/guests#1 ($haystack) must be of type string, int given in file '/var/www/nextcloud/apps/guests/lib/UserBackend.php' line 299",
"exception": [],
"CustomMessage": "strpos(): Argument nextcloud/guests#1 ($haystack) must be of type string, int given in file '/var/www/nextcloud/apps/guests/lib/UserBackend.php' line 299"
},
"id": "68b15914bd9ff"
}