[Koha] add member

Mason James mtj at kohaaloha.com
Tue Dec 11 20:11:41 NZDT 2012


On 2012-11-16, at 7:08 AM, MJ Ray wrote:

> Samuel Desseaux <samuel.desseaux at ecp.fr>
>> I've the following message when i search a member
>> 
>> Can't use an undefined value as a HASH reference at /usr/share/koha/intranet/cgi-bin/members/member.pl line 139, <DATA> line 577.
>> 
>> What does it mean? How can i solve it? I think to a problem on my database but i'm not sure.
> 
> I don't know what version you are using, but member.pl line 139 for me is
> 	%{$categories_dislay{$$borrower{categorycode}}},
> so I think you maybe have a borrower without a categorycode - as with
> the problem I saw yesterday, that shouldn't happen, so I doubt it can
> be repaired from in Koha.  So I'd connect to mysql and find and fix the
> borrowers table.
> 


hi All

i just experienced this problem today :)
i realized the problem for me, was i had some borrower records that had a 'borrowers.categorycode' value that did not match any 'categories.categorycode' value 

this gave me the same error as Samuel's

so… be careful! :)


More information about the Koha mailing list