https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43852 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #4 from David Nind <david@davidnind.com> --- I attempted to test, but still get the error after applying the patches. Note: I needed to also set the finesMode system preference to "Calculate and charge" for the fines to appear after running the cron job. Testing notes (using KTD): 1. System preferences (as per the test plan): - ClaimReturnedLostValue: Missing - ClaimReturnedChargeFee: don't charge a lost fee - MarkLostItemsAsReturned: All selected (by default "When marking an item as a return claim" was the only one not selected, I added that one as well = All selected) - RenewAccruingItemWhenPaid: renew 2. Circulation and fine rules - for the All All rule (I've used the column headings here): - Fine amount: 1.00 - Fine charging interval: 1 - Overdue fines cap (amount): 5.00 3. Checked out 39999000011418 to 23529001000463 (Edna Acosta): - Today's date: 21 October 2026 - Specified due date: 1 October 2026 4. Shows for Edna as: "Overdues: Patron has ITEMS OVERDUE See highlighted items below" 5. Run the fines cron job: misc/cronjobs/fines.pl -v Fines assessment -- 2026-10-20T18:14:22 Number of Overdue Items: counted 1 reported 1 updated 0 6. Needed to set finesMode to "Calculate and charge" so that a fine was added, then the output was Fines assessment -- 2026-10-20T18:31:39 Number of Overdue Items: counted 1 reported 1 updated 1 7. Clicking on "Claim returned" works as expected, item for record now shows as Missing (Claimed returned) 8. When I go to write off the fines (5.00) using any of the options I get the error: {UNKNOWN}: Can't call method "item" on an undefined value at /kohadevbox/koha/C4/Circulation.pm line 3377. at /kohadevbox/koha/Koha/Account/Line.pm line 695 at /usr/share/perl5/DBIx/Class/Exception.pm line 77 ... 9. After applying the patches and restarting everything, I still get the error (I also cleared browser cache, as well as a yarn build and restart_all). -- You are receiving this mail because: You are watching all bug changes.