Moodle Plugins directory: Report Orphaned files | Moodle.org

Report Orphaned files
This plugin is a report to show files that are stored in moodle but are not in use.
Example:
A teacher adds a material "label" into a moodlecourse and uploads an image to this label. Then the teacher recognize that this was the wrong image and selects the image and deletes the image. Now the teacher adds the correct image. The problem is, that the first uploades image ist still stored in this label. This can be seen by clicking at the "manage files" icon where unused files are indicated at the bottom of the shown dialog.
This report only shows orphaned files that are stored by a teacher in the intro-field of added moodle activity or moodle material. The files that are added by students are not checked.
How to access the report
In the course menu there is an additional node if the user has the capability to see the report.
Capabilitys

Settings

I would love to be able to use it with my other and bigger server Moodle 4.5, but it crashes at the installation process.
'Coding error detected, it must be fixed by a programmer: Unknown parameter type '1''
We´re using Moodle 4.4.3 installed on Apache and Maria DB.
The same problem was reported 1 month ago with Moodle 4.5 https://github.com/schulportalhessen/moodle-report_sphorphanedfiles/issues/11
The error message shows when:
- I try to save the plugin configuration .../admin/settings.php?section=reportsphorphanedfiles
- At Site administration > Notifications .../admin/index.php
Plugin configuration:
report_sphorphanedfiles | isactive = yes
all other parameters set to default values
report_sphorphanedfiles | isactiveforadmin
report_sphorphanedfiles | handleractivitiescore, report_sphorphanedfiles | handleractivitiesplugin, report_sphorphanedfiles | handlermaterialscore, report_sphorphanedfiles | handlermaterialsplugin