[Koha] Search error: Can't call method "data" on an undefined value at /usr/share/koha/lib/C4/Search.pm line 1915.

Italo Brasileiro italo.barbosa.brasileiro at gmail.com
Wed Aug 8 05:49:22 NZST 2018


Hi Jonathan,
the problem was a record without the field mapped, as you said.

Thank you!!!


Em qua, 1 de ago de 2018 às 09:04, Jonathan Druart <
jonathan.druart at bugs.koha-community.org> escreveu:

> Hello Ítalo,
>
> Which version of Koha are you using?
> Is the C4/Search.pm line 1915:
>         my $fw = $scan
>              ? undef
>              : $bibliotag < 10
>                ? GetFrameworkCode($marcrecord->field($bibliotag)->data)
>                :
> GetFrameworkCode($marcrecord->subfield($bibliotag,$bibliosubf));
>
> My guess would be that you have a record without the field mapped with
> biblio.biblionumber.
>
> Regards,
> Jonathan
>
> On Tue, 31 Jul 2018 at 18:14 Italo Brasileiro <
> italo.barbosa.brasileiro at gmail.com> wrote:
>
>> Hi guys!
>>
>> I'm getting the following error message when I search the catalog:
>> "Can't call method "data" on an undefined value at
>> /usr/share/koha/lib/C4/Search.pm line 1915.
>> For help, please send mail to the webmaster ([no address given]), giving
>> this error message and the time and date of the error."
>>
>> Has anyone ever experienced this?
>> Thanks!
>>
>> --
>> Ítalo Barbosa Brasileiro
>> _______________________________________________
>> Koha mailing list  http://koha-community.org
>> Koha at lists.katipo.co.nz
>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>
>

-- 
Ítalo Barbosa Brasileiro


More information about the Koha mailing list