I get an error when creating new users. The user is created, however.
{
"reqId": "XMvK1l0oXJmJ41QLNnXl",
"level": 3,
"time": "2023-11-09T13:13:44+00:00",
"remoteAddr": "2001:871:220:9c31:4bac:ce95:6c51:1e0a",
"user": "admin",
"app": "no app in context",
"method": "POST",
"url": "/ocs/v2.php/cloud/users",
"message": "OCA\\WorkflowEngine\\Entity\\File::getNode(): Return value must be of type OCP\\Files\\Node, array returned in file '/var/www/nextcloud/apps/workflowengine/lib/Entity/File.php' line 181",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0",
"version": "28.0.0.3",
"exception": {
"Exception": "Exception",
"Message": "OCA\\WorkflowEngine\\Entity\\File::getNode(): Return value must be of type OCP\\Files\\Node, array returned in file '/var/www/nextcloud/apps/workflowengine/lib/Entity/File.php' line 181",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
"line": 184,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Route/Router.php",
"line": 315,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
},
{
"file": "/var/www/nextcloud/ocs/v1.php",
"line": 64,
"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": 169,
"Previous": {
"Exception": "TypeError",
"Message": "OCA\\WorkflowEngine\\Entity\\File::getNode(): Return value must be of type OCP\\Files\\Node, array returned",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/apps/workflowengine/lib/Entity/File.php",
"line": 130,
"function": "getNode",
"class": "OCA\\WorkflowEngine\\Entity\\File",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/workflowengine/lib/AppInfo/Application.php",
"line": 101,
"function": "prepareRuleMatcher",
"class": "OCA\\WorkflowEngine\\Entity\\File",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
"line": 230,
"function": "OCA\\WorkflowEngine\\AppInfo\\{closure}",
"class": "OCA\\WorkflowEngine\\AppInfo\\Application",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
"line": 59,
"function": "callListeners",
"class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
"line": 94,
"function": "dispatch",
"class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Files/Node/Node.php",
"line": 134,
"function": "dispatch",
"class": "OC\\EventDispatcher\\EventDispatcher",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Files/Node/Folder.php",
"line": 166,
"function": "sendHooks",
"class": "OC\\Files\\Node\\Node",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Files/AppData/AppData.php",
"line": 147,
"function": "newFolder",
"class": "OC\\Files\\Node\\Folder",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Avatar/AvatarManager.php",
"line": 91,
"function": "newFolder",
"class": "OC\\Files\\AppData\\AppData",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/User/User.php",
"line": 582,
"function": "getAvatar",
"class": "OC\\Avatar\\AvatarManager",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/dav/lib/CardDAV/Converter.php",
"line": 185,
"function": "getAvatarImage",
"class": "OC\\User\\User",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/dav/lib/CardDAV/Converter.php",
"line": 58,
"function": "getAvatarImage",
"class": "OCA\\DAV\\CardDAV\\Converter",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/dav/lib/CardDAV/SyncService.php",
"line": 232,
"function": "createCardFromUser",
"class": "OCA\\DAV\\CardDAV\\Converter",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/public/AppFramework/Db/TTransactional.php",
"line": 63,
"function": "OCA\\DAV\\CardDAV\\{closure}",
"class": "OCA\\DAV\\CardDAV\\SyncService",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/apps/dav/lib/CardDAV/SyncService.php",
"line": 244,
"function": "atomic",
"class": "OCA\\DAV\\CardDAV\\SyncService",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/dav/lib/HookManager.php",
"line": 108,
"function": "updateUser",
"class": "OCA\\DAV\\CardDAV\\SyncService",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/legacy/OC_Hook.php",
"line": 105,
"function": "postCreateUser",
"class": "OCA\\DAV\\HookManager",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Server.php",
"line": 549,
"function": "emit",
"class": "OC_Hook",
"type": "::"
},
{
"function": "OC\\{closure}",
"class": "OC\\Server",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/Hooks/EmitterTrait.php",
"line": 105,
"function": "call_user_func_array"
},
{
"file": "/var/www/nextcloud/lib/private/Hooks/PublicEmitter.php",
"line": 40,
"function": "emit",
"class": "OC\\Hooks\\BasicEmitter",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/User/Manager.php",
"line": 472,
"function": "emit",
"class": "OC\\Hooks\\PublicEmitter",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/User/Manager.php",
"line": 433,
"function": "createUserFromBackend",
"class": "OC\\User\\Manager",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/apps/provisioning_api/lib/Controller/UsersController.php",
"line": 507,
"function": "createUser",
"class": "OC\\User\\Manager",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 230,
"function": "addUser",
"class": "OCA\\Provisioning_API\\Controller\\UsersController",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 137,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
"line": 184,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Route/Router.php",
"line": 315,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
},
{
"file": "/var/www/nextcloud/ocs/v1.php",
"line": 64,
"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/apps/workflowengine/lib/Entity/File.php",
"Line": 181
},
"CustomMessage": "--"
}
}
Bug description
I get an error when creating new users. The user is created, however.
Steps to reproduce
Expected behavior
No error
Installation method
None
Nextcloud Server version
28
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
{ "reqId": "XMvK1l0oXJmJ41QLNnXl", "level": 3, "time": "2023-11-09T13:13:44+00:00", "remoteAddr": "2001:871:220:9c31:4bac:ce95:6c51:1e0a", "user": "admin", "app": "no app in context", "method": "POST", "url": "/ocs/v2.php/cloud/users", "message": "OCA\\WorkflowEngine\\Entity\\File::getNode(): Return value must be of type OCP\\Files\\Node, array returned in file '/var/www/nextcloud/apps/workflowengine/lib/Entity/File.php' line 181", "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0", "version": "28.0.0.3", "exception": { "Exception": "Exception", "Message": "OCA\\WorkflowEngine\\Entity\\File::getNode(): Return value must be of type OCP\\Files\\Node, array returned in file '/var/www/nextcloud/apps/workflowengine/lib/Entity/File.php' line 181", "Code": 0, "Trace": [ { "file": "/var/www/nextcloud/lib/private/AppFramework/App.php", "line": 184, "function": "dispatch", "class": "OC\\AppFramework\\Http\\Dispatcher", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/Route/Router.php", "line": 315, "function": "main", "class": "OC\\AppFramework\\App", "type": "::" }, { "file": "/var/www/nextcloud/ocs/v1.php", "line": 64, "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": 169, "Previous": { "Exception": "TypeError", "Message": "OCA\\WorkflowEngine\\Entity\\File::getNode(): Return value must be of type OCP\\Files\\Node, array returned", "Code": 0, "Trace": [ { "file": "/var/www/nextcloud/apps/workflowengine/lib/Entity/File.php", "line": 130, "function": "getNode", "class": "OCA\\WorkflowEngine\\Entity\\File", "type": "->" }, { "file": "/var/www/nextcloud/apps/workflowengine/lib/AppInfo/Application.php", "line": 101, "function": "prepareRuleMatcher", "class": "OCA\\WorkflowEngine\\Entity\\File", "type": "->" }, { "file": "/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php", "line": 230, "function": "OCA\\WorkflowEngine\\AppInfo\\{closure}", "class": "OCA\\WorkflowEngine\\AppInfo\\Application", "type": "->", "args": [ "*** sensitive parameters replaced ***" ] }, { "file": "/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php", "line": 59, "function": "callListeners", "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php", "line": 94, "function": "dispatch", "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/Files/Node/Node.php", "line": 134, "function": "dispatch", "class": "OC\\EventDispatcher\\EventDispatcher", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/Files/Node/Folder.php", "line": 166, "function": "sendHooks", "class": "OC\\Files\\Node\\Node", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/Files/AppData/AppData.php", "line": 147, "function": "newFolder", "class": "OC\\Files\\Node\\Folder", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/Avatar/AvatarManager.php", "line": 91, "function": "newFolder", "class": "OC\\Files\\AppData\\AppData", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/User/User.php", "line": 582, "function": "getAvatar", "class": "OC\\Avatar\\AvatarManager", "type": "->" }, { "file": "/var/www/nextcloud/apps/dav/lib/CardDAV/Converter.php", "line": 185, "function": "getAvatarImage", "class": "OC\\User\\User", "type": "->" }, { "file": "/var/www/nextcloud/apps/dav/lib/CardDAV/Converter.php", "line": 58, "function": "getAvatarImage", "class": "OCA\\DAV\\CardDAV\\Converter", "type": "->" }, { "file": "/var/www/nextcloud/apps/dav/lib/CardDAV/SyncService.php", "line": 232, "function": "createCardFromUser", "class": "OCA\\DAV\\CardDAV\\Converter", "type": "->", "args": [ "*** sensitive parameters replaced ***" ] }, { "file": "/var/www/nextcloud/lib/public/AppFramework/Db/TTransactional.php", "line": 63, "function": "OCA\\DAV\\CardDAV\\{closure}", "class": "OCA\\DAV\\CardDAV\\SyncService", "type": "->", "args": [ "*** sensitive parameters replaced ***" ] }, { "file": "/var/www/nextcloud/apps/dav/lib/CardDAV/SyncService.php", "line": 244, "function": "atomic", "class": "OCA\\DAV\\CardDAV\\SyncService", "type": "->" }, { "file": "/var/www/nextcloud/apps/dav/lib/HookManager.php", "line": 108, "function": "updateUser", "class": "OCA\\DAV\\CardDAV\\SyncService", "type": "->", "args": [ "*** sensitive parameters replaced ***" ] }, { "file": "/var/www/nextcloud/lib/private/legacy/OC_Hook.php", "line": 105, "function": "postCreateUser", "class": "OCA\\DAV\\HookManager", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/Server.php", "line": 549, "function": "emit", "class": "OC_Hook", "type": "::" }, { "function": "OC\\{closure}", "class": "OC\\Server", "type": "->", "args": [ "*** sensitive parameters replaced ***" ] }, { "file": "/var/www/nextcloud/lib/private/Hooks/EmitterTrait.php", "line": 105, "function": "call_user_func_array" }, { "file": "/var/www/nextcloud/lib/private/Hooks/PublicEmitter.php", "line": 40, "function": "emit", "class": "OC\\Hooks\\BasicEmitter", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/User/Manager.php", "line": 472, "function": "emit", "class": "OC\\Hooks\\PublicEmitter", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/User/Manager.php", "line": 433, "function": "createUserFromBackend", "class": "OC\\User\\Manager", "type": "->", "args": [ "*** sensitive parameters replaced ***" ] }, { "file": "/var/www/nextcloud/apps/provisioning_api/lib/Controller/UsersController.php", "line": 507, "function": "createUser", "class": "OC\\User\\Manager", "type": "->", "args": [ "*** sensitive parameters replaced ***" ] }, { "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php", "line": 230, "function": "addUser", "class": "OCA\\Provisioning_API\\Controller\\UsersController", "type": "->", "args": [ "*** sensitive parameters replaced ***" ] }, { "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php", "line": 137, "function": "executeController", "class": "OC\\AppFramework\\Http\\Dispatcher", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/AppFramework/App.php", "line": 184, "function": "dispatch", "class": "OC\\AppFramework\\Http\\Dispatcher", "type": "->" }, { "file": "/var/www/nextcloud/lib/private/Route/Router.php", "line": 315, "function": "main", "class": "OC\\AppFramework\\App", "type": "::" }, { "file": "/var/www/nextcloud/ocs/v1.php", "line": 64, "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/apps/workflowengine/lib/Entity/File.php", "Line": 181 }, "CustomMessage": "--" } }Additional info
No response