FilesHooks.php error

The original bug report was here:

The first fix didn’t work (or not for everybody), so there was recently a new fix:

which will be part of NC 12.0.5, the release candidate is already out for testing:

If there are no serious problem, 12.0.5 should be released quickly (next week). If that’s not fast enough, you can either test the release candidate (don’t forget to make backups) or apply the fix manually.