[Koha-bugs] [Bug 17123] Can't call method "raw" on an undefined value at C4/Search.pm line 806

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 27 21:45:18 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17123

Pablo AB <pablo.bianchi at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pablo.bianchi at gmail.com

--- Comment #14 from Pablo AB <pablo.bianchi at gmail.com> ---
On v17.11.07. I have the same issue but just with small keywords on the query,
like opac-search.pl?q=a and q=aa
No changes with koha-rebuild-zebra -f -a -b -v instance, restarting services
apache2 koha-common or rebooting.

The referenced line (Search.pm line 813):
# get the facet record from result set
my $facet = $rs->record( 0 )->raw;

Maybe is a timeout error/issue (2GB RAM, 1 vCPU). Happen after ~35 seconds of
waiting. When searching zebrasrv (or starman worker) consume high percentages
of CPU and then on plack-error.log (without any timestamp, but tested several
times with tail -f):
Use of uninitialized value $error in concatenation (.) or string at
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 615
$template->param(query_error => $error.$@);
https://github.com/Koha-Community/Koha/blob/master/opac/opac-search.pl#L615

zebra-output.log just have the eternal classic log:
  zebrasrv(42) [warn] ir_session (exception)
zebra-error.log probably because the restarts/reboots
  killed by signal 15, stopping

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list