I am getting this error. Can you help me solve this problem?
|Error|no app in context|ExceptionOCA\Talk\Chat\Parser\SystemMessage::parseMissedCall(): Argument #3 ($currentActorId) must be of type string, null given, called in /var/www/html/custom_apps/spreed/lib/Chat/Parser/SystemMessage.php on line 200 in file ‘/var/www/html/custom_apps/spreed/lib/Chat/Parser/SystemMessage.php’ line 944
Exception thrown: Exception|
| — | — |
ExceptionOCA\Talk\Chat\Parser\SystemMessage::parseMissedCall(): Argument #3 ($currentActorId) must be of type string, null given, called in /var/www/html/custom_apps/spreed/lib/Chat/Parser/SystemMessage.php on line 200 in file ‘/var/www/html/custom_apps/spreed/lib/Chat/Parser/SystemMessage.php’ line 944
- /var/www/html/lib/private/AppFramework/App.phpline 184
OC\AppFramework\Http\Dispatcher->dispatch
(
[
"OCA\\Talk\\Controller\\CallController"
],
"leaveCall"
)
- /var/www/html/lib/private/Route/Router.phpline 315
OC\AppFramework\App::main
(
"OCA\\Talk\\Controller\\CallController",
"leaveCall",
[
"OC\\AppFramework\\DependencyInjection\\DIContainer"
],
[
"v4",
"28tudkaq",
"ocs.spreed.Call.leaveCall"
]
)
- /var/www/html/ocs/v1.phpline 65
OC\Route\Router->match
(
"/ocsapp/apps/spreed/api/v4/call/28tudkaq"
)
- /var/www/html/ocs/v2.phpline 23
undefinedundefinedrequire_once
(
"/var/www/html/ocs/v1.php"
)
Caused by TypeErrorOCA\Talk\Chat\Parser\SystemMessage::parseMissedCall(): Argument #3 ($currentActorId) must be of type string, null given, called in /var/www/html/custom_apps/spreed/lib/Chat/Parser/SystemMessage.php on line 200
Raw log entry
{
"reqId": "P03OoAqY8eFauobDJEuW",
"level": 3,
"time": "2024-02-22T07:22:14+00:00",
"remoteAddr": "172.19.0.1",
"user": "admin",
"app": "no app in context",
"method": "DELETE",
"url": "/ocs/v2.php/apps/spreed/api/v4/call/28tudkaq",
"message": "Exception thrown: Exception",
"userAgent": "Mozilla/5.0 (Android) Nextcloud-Talk v18.0.1",
"version": "28.0.2.5",
"exception": {
"Exception": "Exception",
"Message": "OCA\\Talk\\Chat\\Parser\\SystemMessage::parseMissedCall(): Argument #3 ($currentActorId) must be of type string, null given, called in /var/www/html/custom_apps/spreed/lib/Chat/Parser/SystemMessage.php on line 200 in file '/var/www/html/custom_apps/spreed/lib/Chat/Parser/SystemMessage.php' line 944",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/lib/private/AppFramework/App.php",
"line": 184,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
[
"OCA\\Talk\\Controller\\CallController"
],
"leaveCall"
]
},
{
"file": "/var/www/html/lib/private/Route/Router.php",
"line": 315,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": [
"OCA\\Talk\\Controller\\CallController",
"leaveCall",
[
"OC\\AppFramework\\DependencyInjection\\DIContainer"
],
[
"v4",
"28tudkaq",
"ocs.spreed.Call.leaveCall"
]
]
},
{
"file": "/var/www/html/ocs/v1.php",
"line": 65,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": [
"/ocsapp/apps/spreed/api/v4/call/28tudkaq"
]
},
{
"file": "/var/www/html/ocs/v2.php",
"line": 23,
"args": [
"/var/www/html/ocs/v1.php"
],
"function": "require_once"
}
],
"File": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"Line": 169,
"Previous": {
"Exception": "TypeError",
"Message": "OCA\\Talk\\Chat\\Parser\\SystemMessage::parseMissedCall(): Argument #3 ($currentActorId) must be of type string, null given, called in /var/www/html/custom_apps/spreed/lib/Chat/Parser/SystemMessage.php on line 200",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/custom_apps/spreed/lib/Chat/Parser/SystemMessage.php",
"line": 200,
"function": "parseMissedCall",
"class": "OCA\\Talk\\Chat\\Parser\\SystemMessage",
"type": "->",
"args": [
[
"OCA\\Talk\\Room"
],
[
[
"admin"
],
0,
46
],
null
]
},
{
"file": "/var/www/html/custom_apps/spreed/lib/Chat/Parser/SystemMessage.php",
"line": 101,
"function": "parseMessage",
"class": "OCA\\Talk\\Chat\\Parser\\SystemMessage",
"type": "->",
"args": [
[
"OCA\\Talk\\Model\\Message"
]
]
},
{
"file": "/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php",
"line": 86,
"function": "handle",
"class": "OCA\\Talk\\Chat\\Parser\\SystemMessage",
"type": "->",
"args": [
[
"OCA\\Talk\\Events\\MessageParseEvent"
]
]
},
{
"file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
"line": 230,
"function": "__invoke",
"class": "OC\\EventDispatcher\\ServiceEventListener",
"type": "->",
"args": [
[
"OCA\\Talk\\Events\\MessageParseEvent"
],
"OCA\\Talk\\Events\\MessageParseEvent",
[
"Symfony\\Component\\EventDispatcher\\EventDispatcher"
]
]
},
{
"file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
"line": 59,
"function": "callListeners",
"class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
[
[
"Closure"
],
[
"Closure"
],
[
"Closure"
],
[
"Closure"
],
[
"Closure"
],
"And 1 more entries, set log level to debug to see all entries"
],
"OCA\\Talk\\Events\\MessageParseEvent",
[
"OCA\\Talk\\Events\\MessageParseEvent"
]
]
},
{
"file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
"line": 94,
"function": "dispatch",
"class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
[
"OCA\\Talk\\Events\\MessageParseEvent"
],
"OCA\\Talk\\Events\\MessageParseEvent"
]
},
{
"file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
"line": 106,
"function": "dispatch",
"class": "OC\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
"OCA\\Talk\\Events\\MessageParseEvent",
[
"OCA\\Talk\\Events\\MessageParseEvent"
]
]
},
{
"file": "/var/www/html/custom_apps/spreed/lib/Chat/MessageParser.php",
"line": 78,
"function": "dispatchTyped",
"class": "OC\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
[
"OCA\\Talk\\Events\\MessageParseEvent"
]
]
},
{
"file": "/var/www/html/custom_apps/spreed/lib/Service/BotService.php",
"line": 125,
"function": "parseMessage",
"class": "OCA\\Talk\\Chat\\MessageParser",
"type": "->",
"args": [
[
"OCA\\Talk\\Model\\Message"
]
]
},
{
"file": "/var/www/html/custom_apps/spreed/lib/Listener/BotListener.php",
"line": 77,
"function": "afterSystemMessageSent",
"class": "OCA\\Talk\\Service\\BotService",
"type": "->",
"args": [
[
"OCA\\Talk\\Events\\SystemMessageSentEvent"
],
[
"OCA\\Talk\\Chat\\MessageParser"
]
]
},
{
"file": "/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php",
"line": 86,
"function": "handle",
"class": "OCA\\Talk\\Listener\\BotListener",
"type": "->",
"args": [
[
"OCA\\Talk\\Events\\SystemMessageSentEvent"
]
]
},
{
"file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
"line": 230,
"function": "__invoke",
"class": "OC\\EventDispatcher\\ServiceEventListener",
"type": "->",
"args": [
[
"OCA\\Talk\\Events\\SystemMessageSentEvent"
],
"OCA\\Talk\\Events\\SystemMessageSentEvent",
[
"Symfony\\Component\\EventDispatcher\\EventDispatcher"
]
]
},
{
"file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
"line": 59,
"function": "callListeners",
"class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
[
[
"Closure"
],
[
"Closure"
]
],
"OCA\\Talk\\Events\\SystemMessageSentEvent",
[
"OCA\\Talk\\Events\\SystemMessageSentEvent"
]
]
},
{
"file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
"line": 94,
"function": "dispatch",
"class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
[
"OCA\\Talk\\Events\\SystemMessageSentEvent"
],
"OCA\\Talk\\Events\\SystemMessageSentEvent"
]
},
{
"file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
"line": 106,
"function": "dispatch",
"class": "OC\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
"OCA\\Talk\\Events\\SystemMessageSentEvent",
[
"OCA\\Talk\\Events\\SystemMessageSentEvent"
]
]
},
{
"file": "/var/www/html/custom_apps/spreed/lib/Chat/ChatManager.php",
"line": 226,
"function": "dispatchTyped",
"class": "OC\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
[
"OCA\\Talk\\Events\\SystemMessageSentEvent"
]
]
},
{
"file": "/var/www/html/custom_apps/spreed/lib/Activity/Listener.php",
"line": 162,
"function": "addSystemMessage",
"class": "OCA\\Talk\\Chat\\ChatManager",
"type": "->",
"args": [
[
"OCA\\Talk\\Room"
],
"users",
"admin",
"{\"message\":\"call_missed\",\"parameters\":{\"users\":[\"admin\"],\"guests\":0,\"duration\":46}}",
[
"DateTime"
],
false
]
},
{
"file": "/var/www/html/custom_apps/spreed/lib/Activity/Listener.php",
"line": 112,
"function": "generateCallActivity",
"class": "OCA\\Talk\\Activity\\Listener",
"type": "->",
"args": [
[
"OCA\\Talk\\Room"
]
]
},
{
"file": "/var/www/html/custom_apps/spreed/lib/Activity/Listener.php",
"line": 71,
"function": "handleParticipantModified",
"class": "OCA\\Talk\\Activity\\Listener",
"type": "->",
"args": [
[
"OCA\\Talk\\Events\\ParticipantModifiedEvent"
]
]
},
{
"file": "/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php",
"line": 86,
"function": "handle",
"class": "OCA\\Talk\\Activity\\Listener",
"type": "->",
"args": [
[
"OCA\\Talk\\Events\\ParticipantModifiedEvent"
]
]
},
{
"file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
"line": 230,
"function": "__invoke",
"class": "OC\\EventDispatcher\\ServiceEventListener",
"type": "->",
"args": [
[
"OCA\\Talk\\Events\\ParticipantModifiedEvent"
],
"OCA\\Talk\\Events\\ParticipantModifiedEvent",
[
"Symfony\\Component\\EventDispatcher\\EventDispatcher"
]
]
},
{
"file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
"line": 59,
"function": "callListeners",
"class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
[
[
"Closure"
],
[
"Closure"
],
[
"Closure"
],
[
"Closure"
]
],
"OCA\\Talk\\Events\\ParticipantModifiedEvent",
[
"OCA\\Talk\\Events\\ParticipantModifiedEvent"
]
]
},
{
"file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
"line": 94,
"function": "dispatch",
"class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
[
"OCA\\Talk\\Events\\ParticipantModifiedEvent"
],
"OCA\\Talk\\Events\\ParticipantModifiedEvent"
]
},
{
"file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
"line": 106,
"function": "dispatch",
"class": "OC\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
"OCA\\Talk\\Events\\ParticipantModifiedEvent",
[
"OCA\\Talk\\Events\\ParticipantModifiedEvent"
]
]
},
{
"file": "/var/www/html/custom_apps/spreed/lib/Service/ParticipantService.php",
"line": 1221,
"function": "dispatchTyped",
"class": "OC\\EventDispatcher\\EventDispatcher",
"type": "->",
"args": [
[
"OCA\\Talk\\Events\\ParticipantModifiedEvent"
]
]
},
{
"file": "/var/www/html/custom_apps/spreed/lib/Controller/CallController.php",
"line": 303,
"function": "changeInCall",
"class": "OCA\\Talk\\Service\\ParticipantService",
"type": "->",
"args": [
[
"OCA\\Talk\\Room"
],
[
"OCA\\Talk\\Participant"
],
0
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"line": 230,
"function": "leaveCall",
"class": "OCA\\Talk\\Controller\\CallController",
"type": "->",
"args": [
false
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"line": 137,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
[
"OCA\\Talk\\Controller\\CallController"
],
"leaveCall"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/App.php",
"line": 184,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
[
"OCA\\Talk\\Controller\\CallController"
],
"leaveCall"
]
},
{
"file": "/var/www/html/lib/private/Route/Router.php",
"line": 315,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": [
"OCA\\Talk\\Controller\\CallController",
"leaveCall",
[
"OC\\AppFramework\\DependencyInjection\\DIContainer"
],
[
"v4",
"28tudkaq",
"ocs.spreed.Call.leaveCall"
]
]
},
{
"file": "/var/www/html/ocs/v1.php",
"line": 65,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": [
"/ocsapp/apps/spreed/api/v4/call/28tudkaq"
]
},
{
"file": "/var/www/html/ocs/v2.php",
"line": 23,
"args": [
"/var/www/html/ocs/v1.php"
],
"function": "require_once"
}
],
"File": "/var/www/html/custom_apps/spreed/lib/Chat/Parser/SystemMessage.php",
"Line": 944
},
"CustomMessage": "Exception thrown: Exception"
},
"id": "65d79a62096cf"
}