@@ -, +, @@ - Check the error log: tail /var/log/koha/kohadev/plack-intranet-error.log - Before the patch you would see a warning, "Use of uninitialized value $interface in concatenation (.) or string at /kohadevbox/koha/C4/Languages.pm line 121." - After the patch there should be no new warnings. --- C4/Languages.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/C4/Languages.pm +++ a/C4/Languages.pm @@ -112,13 +112,16 @@ Returns a reference to an array of hashes: sub getTranslatedLanguages { my ($interface, $theme, $current_language, $which) = @_; my @languages; + my $cache_key = ""; my @enabled_languages = ( $interface && $interface eq 'intranet' ) ? split ",", C4::Context->preference('language') : split ",", C4::Context->preference('OPACLanguages'); my $cache = Koha::Caches->get_instance; - my $cache_key = "languages_${interface}_${theme}"; + if( defined $interface && defined $theme ){ + $cache_key = "languages_${interface}_${theme}"; + } if ($interface && $interface eq 'opac' ) { my $htdocs = C4::Context->config('opachtdocs'); my $cached = $cache->get_from_cache($cache_key); --