It looks like a patch was missed when bug 14390 was added to 3.22: https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54824&action=diff Without this the calls to C4::Overdues::UpdateFine will fail
My mistake - was a problem on a local branch only