Discussion:
[Koha] Error in "Libraries and groups"
Italo Brasileiro
2018-11-12 13:52:30 UTC
Permalink
Hi everyone.
I'm using Koha version 18.05.04.000. I'm having a problem when accessing
the "Libraries and groups" topic on the Koha settings page. The following
error message is displayed:





















*Software error:Template process failed: undef error - The method
Koha::Library->get_categories is not covered by tests!Trace begun at
/usr/share/koha/lib/Koha/Object.pm line
401Koha::Object::AUTOLOAD('Koha::Library=HASH(0x85e9380)') called at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/branches.tt
<http://branches.tt> line 270eval {...} at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/branches.tt
<http://branches.tt> line 270eval {...} at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/branches.tt
<http://branches.tt> line 290eval {...} at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/branches.tt
<http://branches.tt> line
7Template::Document::__ANON__('Template::Context=HASH(0x814b270)') called
at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Document.pm line 163eval
{...} at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Document.pm line
161Template::Document::process('Template::Document=HASH(0x84ae5b0)',
'Template::Context=HASH(0x814b270)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Context.pm line 351eval {...}
at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Context.pm line
321Template::Context::process('Template::Context=HASH(0x814b270)',
'Template::Document=HASH(0x84ae5b0)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Service.pm line 94eval {...}
at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Service.pm line
91Template::Service::process('Template::Service=HASH(0x8113020)',
'/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/branches.tt
<http://branches.tt>', 'HASH(0x8387638)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.20/Template.pm line
66Template::process('Template=HASH(0x8113188)',
'/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/branches.tt
<http://branches.tt>', 'HASH(0x8387638)', 'SCALAR(0x43e20a0)') called at
/usr/share/koha/lib/C4/Templates.pm line
122C4::Templates::output('C4::Templates=HASH(0x8113620)') called at
/usr/share/koha/intranet/cgi-bin/admin/branches.pl <http://branches.pl>
line 159For 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 had this problem? Any suggestions to fix it?
Thanks!

Ítalo Brasileiro
--
Ítalo Barbosa Brasileiro
Renvoize, Martin
2018-11-12 15:53:52 UTC
Permalink
The `get_categories` accessor was removed with bug 16735 which was released
with 18.05.00. I'm unable to replicate it on my testing environment at your
version. Do you have some customisation perhaps?


*Martin Renvoize*

<https://www.ptfs-europe.com>

Development Team Manager





*Phone:* +44 (0) 1483 378728

*Mobile:* +44 (0) 7725 985 636

*Email:* ***@ptfs-europe.com

*Fax:* +44 (0) 800 756 6384


www.ptfs-europe.com







Registered in the United Kingdom No. 06416372 VAT Reg No. 925 7211 30

The information contained in this email message may be privileged,
confidential and protected from disclosure. If you are not the intended
recipient, any dissemination, distribution or copying is strictly
prohibited. If you think that you have received this email message in
error, please email the sender at ***@ptfs-europe.com



On Mon, 12 Nov 2018 at 13:52, Italo Brasileiro <
Post by Italo Brasileiro
Hi everyone.
I'm using Koha version 18.05.04.000. I'm having a problem when accessing
the "Libraries and groups" topic on the Koha settings page. The following
*Software error:Template process failed: undef error - The method
Koha::Library->get_categories is not covered by tests!Trace begun at
/usr/share/koha/lib/Koha/Object.pm line
401Koha::Object::AUTOLOAD('Koha::Library=HASH(0x85e9380)') called at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt> line 270eval {...} at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt> line 270eval {...} at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt> line 290eval {...} at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt> line
7Template::Document::__ANON__('Template::Context=HASH(0x814b270)') called
at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Document.pm line 163eval
{...} at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Document.pm line
161Template::Document::process('Template::Document=HASH(0x84ae5b0)',
'Template::Context=HASH(0x814b270)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Context.pm line 351eval {...}
at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Context.pm line
321Template::Context::process('Template::Context=HASH(0x814b270)',
'Template::Document=HASH(0x84ae5b0)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Service.pm line 94eval {...}
at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Service.pm line
91Template::Service::process('Template::Service=HASH(0x8113020)',
'/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt>', 'HASH(0x8387638)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.20/Template.pm line
66Template::process('Template=HASH(0x8113188)',
'/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt>', 'HASH(0x8387638)', 'SCALAR(0x43e20a0)') called at
/usr/share/koha/lib/C4/Templates.pm line
122C4::Templates::output('C4::Templates=HASH(0x8113620)') called at
/usr/share/koha/intranet/cgi-bin/admin/branches.pl <http://branches.pl>
line 159For 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 had this problem? Any suggestions to fix it?
Thanks!
Ítalo Brasileiro
--
Ítalo Barbosa Brasileiro
_______________________________________________
Koha mailing list http://koha-community.org
https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________
Koha mailing list http://koha-community.org
***@lists.katipo.
Italo Brasileiro
2018-11-12 16:36:41 UTC
Permalink
True, the problem disappeared after I disabled a language setting
(pt-BR). Thank
you!

Ítalo Brasileiro

Em seg, 12 de nov de 2018 às 13:54, Renvoize, Martin <
Post by Renvoize, Martin
The `get_categories` accessor was removed with bug 16735 which was
released with 18.05.00. I'm unable to replicate it on my testing
environment at your version. Do you have some customisation perhaps?
*Martin Renvoize*
<https://www.ptfs-europe.com>
Development Team Manager
*Phone:* +44 (0) 1483 378728
*Mobile:* +44 (0) 7725 985 636
*Fax:* +44 (0) 800 756 6384
www.ptfs-europe.com
Registered in the United Kingdom No. 06416372 VAT Reg No. 925 7211 30
The information contained in this email message may be privileged,
confidential and protected from disclosure. If you are not the intended
recipient, any dissemination, distribution or copying is strictly
prohibited. If you think that you have received this email message in
On Mon, 12 Nov 2018 at 13:52, Italo Brasileiro <
Post by Italo Brasileiro
Hi everyone.
I'm using Koha version 18.05.04.000. I'm having a problem when accessing
the "Libraries and groups" topic on the Koha settings page. The following
*Software error:Template process failed: undef error - The method
Koha::Library->get_categories is not covered by tests!Trace begun at
/usr/share/koha/lib/Koha/Object.pm line
401Koha::Object::AUTOLOAD('Koha::Library=HASH(0x85e9380)') called at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt> line 270eval {...} at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt> line 270eval {...} at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt> line 290eval {...} at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt> line
7Template::Document::__ANON__('Template::Context=HASH(0x814b270)') called
at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Document.pm line 163eval
{...} at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Document.pm line
161Template::Document::process('Template::Document=HASH(0x84ae5b0)',
'Template::Context=HASH(0x814b270)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Context.pm line 351eval {...}
at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Context.pm line
321Template::Context::process('Template::Context=HASH(0x814b270)',
'Template::Document=HASH(0x84ae5b0)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Service.pm line 94eval {...}
at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Service.pm line
91Template::Service::process('Template::Service=HASH(0x8113020)',
'/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt>', 'HASH(0x8387638)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.20/Template.pm line
66Template::process('Template=HASH(0x8113188)',
'/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt>', 'HASH(0x8387638)', 'SCALAR(0x43e20a0)') called at
/usr/share/koha/lib/C4/Templates.pm line
122C4::Templates::output('C4::Templates=HASH(0x8113620)') called at
/usr/share/koha/intranet/cgi-bin/admin/branches.pl <http://branches.pl>
line 159For 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 had this problem? Any suggestions to fix it?
Thanks!
Ítalo Brasileiro
--
Ítalo Barbosa Brasileiro
_______________________________________________
Koha mailing list http://koha-community.org
https://lists.katipo.co.nz/mailman/listinfo/koha
--
Ítalo Barbosa Brasileiro
_______________________________________________
Koha mailing list http://koha-community.org
***@lists.katipo.co.nz
https:/
Tomas Cohen Arazi
2018-11-12 17:27:54 UTC
Permalink
You need to regenerate the translated templates.

sudo koha-translate --update pt-BR

El lun., 12 nov. 2018 a las 13:36, Italo Brasileiro (<
Post by Italo Brasileiro
True, the problem disappeared after I disabled a language setting
(pt-BR). Thank
you!
Ítalo Brasileiro
Em seg, 12 de nov de 2018 às 13:54, Renvoize, Martin <
Post by Renvoize, Martin
The `get_categories` accessor was removed with bug 16735 which was
released with 18.05.00. I'm unable to replicate it on my testing
environment at your version. Do you have some customisation perhaps?
*Martin Renvoize*
<https://www.ptfs-europe.com>
Development Team Manager
*Phone:* +44 (0) 1483 378728
*Mobile:* +44 (0) 7725 985 636
*Fax:* +44 (0) 800 756 6384
www.ptfs-europe.com
Registered in the United Kingdom No. 06416372 VAT Reg No. 925 7211 30
The information contained in this email message may be privileged,
confidential and protected from disclosure. If you are not the intended
recipient, any dissemination, distribution or copying is strictly
prohibited. If you think that you have received this email message in
On Mon, 12 Nov 2018 at 13:52, Italo Brasileiro <
Post by Italo Brasileiro
Hi everyone.
I'm using Koha version 18.05.04.000. I'm having a problem when accessing
the "Libraries and groups" topic on the Koha settings page. The
following
Post by Renvoize, Martin
Post by Italo Brasileiro
*Software error:Template process failed: undef error - The method
Koha::Library->get_categories is not covered by tests!Trace begun at
/usr/share/koha/lib/Koha/Object.pm line
401Koha::Object::AUTOLOAD('Koha::Library=HASH(0x85e9380)') called at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt> line 270eval {...} at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt> line 270eval {...} at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt> line 290eval {...} at
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt> line
7Template::Document::__ANON__('Template::Context=HASH(0x814b270)')
called
Post by Renvoize, Martin
Post by Italo Brasileiro
at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Document.pm line
163eval
Post by Renvoize, Martin
Post by Italo Brasileiro
{...} at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Document.pm line
161Template::Document::process('Template::Document=HASH(0x84ae5b0)',
'Template::Context=HASH(0x814b270)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Context.pm line 351eval {...}
at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Context.pm line
321Template::Context::process('Template::Context=HASH(0x814b270)',
'Template::Document=HASH(0x84ae5b0)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Service.pm line 94eval
{...}
Post by Renvoize, Martin
Post by Italo Brasileiro
at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Service.pm line
91Template::Service::process('Template::Service=HASH(0x8113020)',
'/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt>', 'HASH(0x8387638)') called at
/usr/lib/x86_64-linux-gnu/perl5/5.20/Template.pm line
66Template::process('Template=HASH(0x8113188)',
'/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/modules/admin/
branches.tt
<http://branches.tt>', 'HASH(0x8387638)', 'SCALAR(0x43e20a0)') called
at
Post by Renvoize, Martin
Post by Italo Brasileiro
/usr/share/koha/lib/C4/Templates.pm line
122C4::Templates::output('C4::Templates=HASH(0x8113620)') called at
/usr/share/koha/intranet/cgi-bin/admin/branches.pl <http://branches.pl>
line 159For help, please send mail to the webmaster ([no address
given]),
Post by Renvoize, Martin
Post by Italo Brasileiro
giving this error message and the time and date of the error. *
Has anyone ever had this problem? Any suggestions to fix it?
Thanks!
Ítalo Brasileiro
--
Ítalo Barbosa Brasileiro
_______________________________________________
Koha mailing list http://koha-community.org
https://lists.katipo.co.nz/mailman/listinfo/koha
--
Ítalo Barbosa Brasileiro
_______________________________________________
Koha mailing list http://koha-community.org
https://lists.katipo.co.nz/mailman/listinfo/koha
--
Tomás Cohen Arazi
Theke Solutions (http://theke.io)
✆ +54 9351 3513384
GPG: B2F3C15F
_______________________________________________
Koha mailing list http://koha-community.org
***@lists.katipo.co.nz
htt
Continue reading on narkive:
Loading...