Discussion:
[Koha] Search error: Can't call method "data" on an undefined value at /usr/share/koha/lib/C4/Search.pm line 1915.
Italo Brasileiro
2018-07-31 21:14:40 UTC
Permalink
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
***@lists.katipo.co.nz
https://lists.katipo.
Italo Brasileiro
2018-08-07 17:49:22 UTC
Permalink
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 <
Hello Ítalo,
Which version of Koha are you using?
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 <
Post by Italo Brasileiro
Hi guys!
"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
https://lists.katipo.co.nz/mailman/listinfo/koha
--
Ítalo Barbosa Brasileiro
Loading...