Re: [Koha] Error while accessing patron homepage
Yes.. that is the case. But the query retrieved all the records correctly. There is no item number without reference to items. So I just given a null checking to item.biblio in member.pm file before the error line , then it worked. But I am not sure about the error. Regards Liny On Dec 22, 2017 6:37 PM, "Jonathan Druart" < jonathan.dru...@bugs.koha-community.org> wrote: > Reading the code it is related to 17.11. > > The code says that you have a fine that is link to an item that does not > exist. But we have a constraint at DB level that enforce it, so I am not > sure how it can happen. > > Could you tell use what returns the following SQL query: > select itemnumber from accountlines acc where borrowernumber=XX > > You need to replace XX with the borrowernumber you get the error. > You should also see if all these itemnumbers exist. > > Regards, > Jonathan > > On Fri, 22 Dec 2017 at 08:04 Katrin Fischer> wrote: > > > Hi Liny, > > > > please always give the complete version - we have 2 major releases every > > year that are named Year.MonthOfRelease. Are you using 17.05 or 17.11? > > > > Katrin > > > > > > On 22.12.2017 12:01, Liny Varghese wrote: > > > Dear all, > > > > > > I am getting this error message while accessing one patron. > > > > > > Can't call method "biblio" on an undefined value at > > > /usr/share/koha/lib/C4/Members.pm line 768. > > > > > > But this error is not coming for all users and this error came only > > > after upgrading koha from version 3.20 to 17. > > > > > > Kindly help > > > > > > Liny Varghese > > > Information Scientist > > > University Library > > > Cochin University of Science and Technology > > > Kochi-22, Kerala > > > ___ > > > Koha mailing list http://koha-community.org > > > Koha@lists.katipo.co.nz > > > https://lists.katipo.co.nz/mailman/listinfo/koha > > > > ___ > > Koha mailing list http://koha-community.org > > Koha@lists.katipo.co.nz > > https://lists.katipo.co.nz/mailman/listinfo/koha > > > ___ > Koha mailing list http://koha-community.org > Koha@lists.katipo.co.nz > https://lists.katipo.co.nz/mailman/listinfo/koha > ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] Error while accessing patron homepage
Reading the code it is related to 17.11. The code says that you have a fine that is link to an item that does not exist. But we have a constraint at DB level that enforce it, so I am not sure how it can happen. Could you tell use what returns the following SQL query: select itemnumber from accountlines acc where borrowernumber=XX You need to replace XX with the borrowernumber you get the error. You should also see if all these itemnumbers exist. Regards, Jonathan On Fri, 22 Dec 2017 at 08:04 Katrin Fischerwrote: > Hi Liny, > > please always give the complete version - we have 2 major releases every > year that are named Year.MonthOfRelease. Are you using 17.05 or 17.11? > > Katrin > > > On 22.12.2017 12:01, Liny Varghese wrote: > > Dear all, > > > > I am getting this error message while accessing one patron. > > > > Can't call method "biblio" on an undefined value at > > /usr/share/koha/lib/C4/Members.pm line 768. > > > > But this error is not coming for all users and this error came only > > after upgrading koha from version 3.20 to 17. > > > > Kindly help > > > > Liny Varghese > > Information Scientist > > University Library > > Cochin University of Science and Technology > > Kochi-22, Kerala > > ___ > > Koha mailing list http://koha-community.org > > Koha@lists.katipo.co.nz > > https://lists.katipo.co.nz/mailman/listinfo/koha > > ___ > Koha mailing list http://koha-community.org > Koha@lists.katipo.co.nz > https://lists.katipo.co.nz/mailman/listinfo/koha > ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] Error while accessing patron homepage
Hi Liny, please always give the complete version - we have 2 major releases every year that are named Year.MonthOfRelease. Are you using 17.05 or 17.11? Katrin On 22.12.2017 12:01, Liny Varghese wrote: Dear all, I am getting this error message while accessing one patron. Can't call method "biblio" on an undefined value at /usr/share/koha/lib/C4/Members.pm line 768. But this error is not coming for all users and this error came only after upgrading koha from version 3.20 to 17. Kindly help Liny Varghese Information Scientist University Library Cochin University of Science and Technology Kochi-22, Kerala ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha