TypeError: Argument 3 passed to OC\Activity\Event::setObject() must be of the type string, null given, called in /config/www/nextcloud/apps/files_antivirus/lib/Item.php

Nextcloud version: 24.0.2
PHP version: 7.4.26
Operating system and version: linuxserver-docker (Alpine 3.12)
ClamAV: Cisco Talos ClamAV Docker

[core] Fehler: TypeError: Argument 3 passed to OC\Activity\Event::setObject() must be of the type string, null given, called in /config/www/nextcloud/apps/files_antivirus/lib/Item.php on line 115 at <>

  1. /config/www/nextcloud/apps/files_antivirus/lib/Item.php line 115
    OC\Activity\Event->setObject()
  2. /config/www/nextcloud/apps/files_antivirus/lib/Status.php line 168
    OCA\Files_Antivirus\Item->processInfected()
  3. /config/www/nextcloud/apps/files_antivirus/lib/BackgroundJob/BackgroundScanner.php line 327
    OCA\Files_Antivirus\Status->dispatch()
  4. /config/www/nextcloud/apps/files_antivirus/lib/BackgroundJob/BackgroundScanner.php line 123
    OCA\Files_Antivirus\BackgroundJob\BackgroundScanner->scanOneFile()
  5. /config/www/nextcloud/lib/private/BackgroundJob/Job.php line 54
    OCA\Files_Antivirus\BackgroundJob\BackgroundScanner->run()
  6. /config/www/nextcloud/lib/private/BackgroundJob/TimedJob.php line 60
    OC\BackgroundJob\Job->execute()
  7. /config/www/nextcloud/cron.php line 151
    OC\BackgroundJob\TimedJob->execute()

at 2022-07-20T10:00:15+00:00

I am new to Nextcloud and use it first since version 24. Since the installation i got this error. Unfortunately, despite research I have not found a solution so far. Maybe someone has a hint to fix it.

I also have this issue. Related? ==> TypeError Activity\Event::setObject(), null given, called in lib/Item.php on line 111 - Nextcloud/Files_antivirus