Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

added null as return parameter

Ronak Patel requested to merge dev/return-param-issue into main
{"reqId":"mpY3Y7dRAvW2ReczHvVd","level":3,"time":"2024-03-11T09:17:21+00:00","remoteAddr":"103.161.98.227","user":"--","app":"index","method":"POST","url":"/apps/ecloud-accounts/accounts/create","message":"OCA\\EcloudAccounts\\Service\\UserService::getUser(): Return value must be of type ?OCP\\IUser, none returned in file '/var/www/html/custom_apps/ecloud-accounts/lib/Service/UserService.php' line 99","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36","version":"26.0.8.9","exception":{"Exception":"Exception","Message":"OCA\\EcloudAccounts\\Service\\UserService::getUser(): Return value must be of type ?OCP\\IUser, none returned in file '/var/www/html/custom_apps/ecloud-accounts/lib/Service/UserService.php' line 99","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\EcloudAccounts\\Controller\\AccountController"],"create"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\EcloudAccounts\\Controller\\AccountController","create",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["ecloud-accounts.account.create"]]},{"file":"/var/www/html/lib/base.php","line":1062,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/ecloud-accounts/accounts/create"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","Line":169,"Previous":{"Exception":"TypeError","Message":"OCA\\EcloudAccounts\\Service\\UserService::getUser(): Return value must be of type ?OCP\\IUser, none returned","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/ecloud-accounts/lib/Service/UserService.php","line":444,"function":"getUser","class":"OCA\\EcloudAccounts\\Service\\UserService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/ecloud-accounts/lib/Controller/AccountController.php","line":142,"function":"setAccountDataLocally","class":"OCA\\EcloudAccounts\\Service\\UserService","type":"->","args":["*** sensitive parameters replaced ***","03012w@murenatest.io","1024"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"create","class":"OCA\\EcloudAccounts\\Controller\\AccountController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\EcloudAccounts\\Controller\\AccountController"],"create"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\EcloudAccounts\\Controller\\AccountController"],"create"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\EcloudAccounts\\Controller\\AccountController","create",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["ecloud-accounts.account.create"]]},{"file":"/var/www/html/lib/base.php","line":1062,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/ecloud-accounts/accounts/create"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/ecloud-accounts/lib/Service/UserService.php","Line":99},"CustomMessage":"--"}}

Merge request reports

Loading