Spacedeck Error: in_array() expects at least 2 parameters

Spacedeck App/Nextcloud21 verursacht folgende Log-Errors:

Error: in_array() expects at least 2 parameters, 1 given at /var/www/html/nextcloud/apps/integration_whiteboard/lib/Service/SpacedeckAPIService.php#398

Grundsätzlich funktioniert die App aber.

{“reqId”:“4QtwQU1UWN4JkTtBnmjJ”,“level”:3,“time”:“2021-03-05T07:00:45+00:00”,“remoteAddr”:"",“user”:"–",“app”:“PHP”,“method”:"",“url”:"–",“message”:{“Exception”:“Error”,“Message”:“in_array() expects at least 2 parameters, 1 given at /var/www/html/nextcloud/apps/integration_whiteboard/lib/Service/SpacedeckAPIService.php#398”,“Code”:0,“Trace”:[{“function”:“onError”,“class”:“OC\Log\ErrorHandler”,“type”:"::",“args”:[2,“in_array() expects at least 2 parameters, 1 given”,"/var/www/html/nextcloud/apps/integration_whiteboard/lib/Service/SpacedeckAPIService.php",398,{“user”:"*** sensitive parameter replaced ",“fileIds”:[3563208],“userFolder”:{“class”:“OC\Files\Node\Folder”},“wbFiles”:[{“class”:“OC\Files\Node\File”},{“class”:“OC\Files\Node\File”},{“class”:“OC\Files\Node\File”}],“wbFile”:{“class”:“OC\Files\Node\File”}}]},{“file”:"/var/www/html/nextcloud/apps/integration_whiteboard/lib/Service/SpacedeckAPIService.php",“line”:398,“function”:“in_array”,“args”:[3563366]},{“file”:"/var/www/html/nextcloud/lib/private/User/Manager.php",“line”:610,“function”:“OCA\Spacedeck\Service\{closure}”,“class”:“OCA\Spacedeck\Service\SpacedeckAPIService”,“type”:"->",“args”:[" sensitive parameters replaced ***"]},{“file”:"/var/www/html/nextcloud/apps/integration_whiteboard/lib/Service/SpacedeckAPIService.php",“line”:402,“function”:“callForSeenUsers”,“class”:“OC\User\Manager”,“type”:"->",“args”:[{“class”:“Closure”}]},{“file”:"/var/www/html/nextcloud/apps/integration_whiteboard/lib/BackgroundJob/CleanupSpacedeck.php",“line”:72,“function”:“cleanupSpacedeckStorage”,“class”:“OCA\Spacedeck\Service\SpacedeckAPIService”,“type”:"->",“args”:[“http://localhost:9666”,“super_secret_token”]},{“file”:"/var/www/html/nextcloud/lib/public/BackgroundJob/Job.php",“line”:80,“function”:“run”,“class”:“OCA\Spacedeck\BackgroundJob\CleanupSpacedeck”,“type”:"->",“args”:[null]},{“file”:"/var/www/html/nextcloud/lib/public/BackgroundJob/TimedJob.php",“line”:61,“function”:“execute”,“class”:“OCP\BackgroundJob\Job”,“type”:"->",“args”:[{“class”:“OC\BackgroundJob\JobList”},{“class”:“OC\Log”}]},{“file”:"/var/www/html/nextcloud/cron.php",“line”:128,“function”:“execute”,“class”:“OCP\BackgroundJob\TimedJob”,“type”:"->",“args”:[{“class”:“OC\BackgroundJob\JobList”},{“class”:“OC\Log”}]}],“File”:"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php",“Line”:92,“CustomMessage”:"–"},“userAgent”:"–",“version”:“21.0.0.18”,“id”:“6041e065c5f1a”}

auch wenn es nervig erscheint: zu jeder Meldung gehören Infos über die betroffene Instanz.

und - ich sag dir das jetzt zum zweiten Mal… bitte poste Fragen auf deutsch ins deutsche Subforum.

Report on GitHub: in_array() expects at least 2 parameters, 1 given · Issue #14 · nextcloud/integration_whiteboard · GitHub