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

Jonathan Druart jonathan.druart at bugs.koha-community.org
Thu Aug 2 00:04:17 NZST 2018


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
>


More information about the Koha mailing list