Re: [Koha-devel] Can't call method "biblioitemnumber" on an undefined value

2025-03-05 Thread Michael Hafen via Koha-devel
I won't comment on how it happened, but it does in fact seem that there is a biblio record (at least one) that doesn't have a biblioitems table row to go along with it. I just checked my database for this, and was astonished to find there were many such records. What I found in my case was that th

Re: [Koha-devel] Can't call method "biblioitemnumber" on an undefined value

2025-03-05 Thread David Schmidt via Koha-devel
https://github.com/Koha-Community/Koha/blob/24.05.x/misc/maintenance/search_for_data_inconsistencies.pl#L152 probably that the biblio in question doesnt have a biblioitem associated. if thats the cause an extra step could be introduced that prevents calling biblio->biblioitem->biblioitemnumber i

Re: [Koha-devel] Can't call method "biblioitemnumber" on an undefined value

2025-03-05 Thread Michael Kuhn via Koha-devel
Hi David Thanks for your e-mail! You wrote: > https://github.com/Koha-Community/Koha/blob/24.05.x/misc/maintenance/search_for_data_inconsistencies.pl#L152 > > probably that the biblio in question doesnt have a biblioitem > associated. But that's the problem: Which one is the biblio in questio

[Koha-devel] Can't call method "biblioitemnumber" on an undefined value

2025-03-05 Thread Michael Kuhn via Koha-devel
Hi We are using Debian GNU/Linux 12 with Koha 24.05.05. When running script "search_for_data_inconsistencies.pl" it shows only the following message: Can't call method "biblioitemnumber" on an undefined value at /usr/share/koha/bin/maintenance/search_for_data_inconsistencies.pl line 152. W