[Koha] Argument "0, 00" isn't numeric in numeric gt (>) at /usr/share/koha/lib/C4/Overdues.pm line 292.

Magnus Enger magnus at libriotech.no
Mon Jan 8 20:14:11 NZDT 2024


Hi!
Den 06.01.2024 11:33, skrev Michael Kuhn:
> Hi
> 
> Our library is working with Koha 22.05.17.
> 
> Since some days the anacron job "cron.daily" sends us an e-mail with 
> hundreds of lines like the following every day:
> 
>   Argument "0,00" isn't numeric in numeric gt (>) at 
> /usr/share/koha/lib/C4/Overdues.pm line 292.
> 
> I see in the circulation and fine rules the "Overdue fines cap (amount)" 
> shows as "0,00" instead of "0.00" as usual. However, this can't be 
> changed at this place.
> 
> Changing lines in script "Overdues.pm" according to 
> https://gomezcardozo.com/error-en-fines-koha/ didn't help.
> 
> How can this output be prevented?

I have run into a similar problem when upgrading to 23.05, and solved it 
by running queries like this directly in the database:

mysql> update circulation_rules set rule_value = '0.00' where rule_value 
= '0,00';

If you have this problem with other numbers, repeat the query but 
replace 0,00/0.00 with the other relevant numbers.

Best regards,
Magnus
Libriotech


More information about the Koha mailing list