activity
activity copied to clipboard
array_keys(): Argument #1 ($array) must be of type array, null given
I don't know how to reproduce this, but i can observe several log lines like these (on Nextcloud 22.2.3).
{
"reqId": "ffWQ7v5JslLGcCP7q6d0",
"level": 4,
"time": "2021-12-27T08:47:02+00:00",
"user": "[email protected]",
"app": "webdav",
"method": "COPY",
"url": "/remote.php/dav/files/[email protected]/Partage%20Nic%20FUE/Cloud%20%C3%A0%20faire/Cloud%20Locaux/Sud-Ouest%20(Occitanie)/Registre%20de%20s%C3%A9curit%C3%A9",
"message": "array_keys(): Argument #1 ($array) must be of type array, null given",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36",
"version": "22.2.3.0",
"exception": {
"Exception": "TypeError",
"Message": "array_keys(): Argument #1 ($array) must be of type array, null given",
"Code": 0,
"Trace": [
{
"file": "/apps/activity/lib/FilesHooks.php",
"line": 249,
"function": "array_keys",
"args": [
null
]
},
{
"file": "/apps/activity/lib/FilesHooks.php",
"line": 160,
"function": "addNotificationsForFileAction",
"class": "OCA\\Activity\\FilesHooks",
"type": "->",
"args": [
"/Partage Nic FUE/Cloud à faire/Cloud Locaux/Hauts de France (+Picardie)/Registre de sécurité",
"file_created",
"created_self",
"created_by"
]
},
{
"file": "/apps/activity/lib/FilesHooksStatic.php",
"line": 47,
"function": "fileCreate",
"class": "OCA\\Activity\\FilesHooks",
"type": "->",
"args": [
"/Partage Nic FUE/Cloud à faire/Cloud Locaux/Hauts de France (+Picardie)/Registre de sécurité"
]
},
{
"file": "/lib/private/legacy/OC_Hook.php",
"line": 106,
"function": "fileCreate",
"class": "OCA\\Activity\\FilesHooksStatic",
"type": "::",
"args": [
{
"path": "/Partage Nic FUE/Cloud à faire/Cloud Locaux/Hauts de France (+Picardie)/Registre de sécurité"
}
]
},
{
"file": "/lib/private/Files/View.php",
"line": 634,
"function": "emit",
"class": "OC_Hook",
"type": "::",
"args": [
"OC_Filesystem",
"post_create",
{
"path": "/Partage Nic FUE/Cloud à faire/Cloud Locaux/Hauts de France (+Picardie)/Registre de sécurité"
}
]
},
{
"file": "/lib/private/Files/View.php",
"line": 957,
"function": "emit_file_hooks_post",
"class": "OC\\Files\\View",
"type": "->",
"args": [
false,
"/Partage Nic FUE/Cloud à faire/Cloud Locaux/Hauts de France (+Picardie)/Registre de sécurité"
]
},
{
"file": "/apps/dav/lib/Connector/Sabre/Directory.php",
"line": 473,
"function": "copy",
"class": "OC\\Files\\View",
"type": "->",
"args": [
"/Partage Nic FUE/Cloud à faire/Cloud Locaux/Sud-Ouest (Occitanie)/Registre de sécurité",
"/Partage Nic FUE/Cloud à faire/Cloud Locaux/Hauts de France (+Picardie)/Registre de sécurité"
]
},
{
"file": "/3rdparty/sabre/dav/lib/DAV/Tree.php",
"line": 132,
"function": "copyInto",
"class": "OCA\\DAV\\Connector\\Sabre\\Directory",
"type": "->",
"args": [
"Registre de sécurité",
"/Partage Nic FUE/Cloud à faire/Cloud Locaux/Sud-Ouest (Occitanie)/Registre de sécurité",
{
"__class__": "OCA\\DAV\\Connector\\Sabre\\Directory"
}
]
},
{
"file": "/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
"line": 655,
"function": "copy",
"class": "Sabre\\DAV\\Tree",
"type": "->",
"args": [
"files/[email protected]/Partage Nic FUE/Cloud à faire/Cloud Locaux/Sud-Ouest (Occitanie)/Registre de sécurité",
"files/[email protected]/Partage Nic FUE/Cloud à faire/Cloud Locaux/Hauts de France (+Picardie)/Registre de sécurité"
]
},
{
"file": "/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
"line": 89,
"function": "httpCopy",
"class": "Sabre\\DAV\\CorePlugin",
"type": "->",
"args": [
{
"__class__": "Sabre\\HTTP\\Request"
},
{
"__class__": "Sabre\\HTTP\\Response"
}
]
},
{
"file": "/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 472,
"function": "emit",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": [
"method:COPY",
[
{
"__class__": "Sabre\\HTTP\\Request"
},
{
"__class__": "Sabre\\HTTP\\Response"
}
]
]
},
{
"file": "/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 253,
"function": "invokeMethod",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": [
{
"__class__": "Sabre\\HTTP\\Request"
},
{
"__class__": "Sabre\\HTTP\\Response"
}
]
},
{
"file": "/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 321,
"function": "start",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": []
},
{
"file": "/apps/dav/lib/Server.php",
"line": 333,
"function": "exec",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": []
},
{
"file": "/apps/dav/appinfo/v2/remote.php",
"line": 35,
"function": "exec",
"class": "OCA\\DAV\\Server",
"type": "->",
"args": []
},
{
"file": "/remote.php",
"line": 166,
"args": [
"/apps/dav/appinfo/v2/remote.php"
],
"function": "require_once"
}
],
"File": "/apps/activity/lib/FilesHooks.php",
"Line": 249,
"CustomMessage": "--"
},
"id": "61ca047ce7ac8"
}