Re: [Koha] OPAC Search Error in KOHA 1711.0001

2018-01-16 Thread Jonathan Druart
Good catch Colin, See bug 19978 On Thu, 28 Dec 2017 at 13:03 Campbell, Colin wrote: > Found another scenario causing this bug. GetItemTypesCategorized returns > itemtypes and searchcategories. (previously only itemtypes were returned by > the now replaced

[Koha] OPAC Search Error in KOHA 1711.0001

2018-01-16 Thread Mubassir Ahsan
I had added the script but won't work. So I have commented out the whole block and the problem is solved. # add translated_description to itemtypes #foreach my $itemtype ( keys %{$itemtypes} ) { ## Itemtypes search categories don't have (yet) translated descriptions, they are auth values (and

Re: [Koha] OPAC Search Error in KOHA 1711.0001

2017-12-28 Thread Campbell, Colin
Found another scenario causing this bug. GetItemTypesCategorized returns itemtypes and searchcategories. (previously only itemtypes were returned by the now replaced routine). If a searchcategory is used and there is not an itemtype with the samename the find returns no object, triggering the

Re: [Koha] OPAC Search Error in KOHA 1711.0001

2017-12-26 Thread Jonathan Druart
If you have technical skills you can try to add this line: @ opac-search.pl:229 @ my $itemtypes = GetItemTypesCategorized; # add translated_description to itemtypes foreach my $itemtype ( keys %{$itemtypes} ) { # Itemtypes search categories don't have (yet) translated descriptions, they

Re: [Koha] OPAC Search Error in KOHA 1711.0001

2017-12-26 Thread Jonathan Druart
Hello, Yes, it's a bug and a configuration issue. It means you have item types that are used in your catalogue but not defined in Koha. There was a discussion on koha-devel in July: http://lists.koha-community.org/pipermail/koha-devel/2017-July/043841.html To know the item types that are not

[Koha] OPAC Search Error in KOHA 1711.0001

2017-12-26 Thread Mubassir Ahsan
I have got a serious problem after upgrading to the latest version today. The problem is when I search in OPAC search interface it is returning "Can't call method "translated_description" on an undefined value at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 229." I have cleaned the