[Koha] Error while accessing patron homepage

Liny Varghese liny at cusat.ac.in
Sat Dec 23 03:50:50 NZDT 2017


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.druart at 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 <katrin.fischer.83 at web.de>
> 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 at lists.katipo.co.nz
> > > https://lists.katipo.co.nz/mailman/listinfo/koha
> >
> > _______________________________________________
> > Koha mailing list  http://koha-community.org
> > Koha at lists.katipo.co.nz
> > https://lists.katipo.co.nz/mailman/listinfo/koha
> >
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>


More information about the Koha mailing list