https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27049

--- Comment #5 from Lucas Gass <[email protected]> ---
Martin,

When I run the script I get the following error and no debts are written off:

Can't locate object method "search" via package "Koha::Account::Lines" (perhaps
you forgot to load "Koha::Account::Lines"?) at
/kohadevbox/koha/misc/cronjobs/writeoff_debts.pl line 49.


If I add 'use Koha::Account::Lines;' to the script and restart_all I can make
it work. Is this missing or am I doing something wrong?

I am running this in my Koha testing docker like so:


perl /kohadevbox/koha/misc/cronjobs/writeoff_debts.pl --confirm

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to