@KlemenDEV The issue I experienced was due to a change in the Drupal 10 ModuleHandler API.
That was fixed in issue 3324573 π D10: Call to undefined method Drupal\Core\Extension\ModuleHandler::getImplementations() Fixed , which was then included in ClamAV release 2.0.2 β
I would expect upgrading to 2.0.2 to resolve this for you (unless your root cause is due to some other issue).
@mcdruid tyvm! I've successfully tested & updated to 2.0.2
uazpbarabe β created an issue.
I'm seeing similar behavior using version 2.0.1 with Drupal 10. This is happening both on an instance hosted on Pantheon as well as in a development stack running on Lando. Uploads fail regardless of scan mechanism (I've tested Executable and both Daemon mode options. The site logs error messages like: Error: Call to undefined method Drupal\Core\Extension\ModuleHandler::getImplementations() in Drupal\clamav\Scanner->isScannable() (line 120 of /app/web/modules/contrib/clamav/src/Scanner.php).