https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29684 --- Comment #37 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Saw this in 21.11: [WARN] Preventing $template->lang='-undef-' to be overwritten by template->{VARS}{lang}='-undef-' at /usr/share/koha/C4/Templates.pm line 118. It comes from the 'honeypot'. Undef overwritten by undef does not make me much wiser. Am I mistaken that this code looks like a bug itself? if(exists $self->{VARS}{lang}) { warn "Preventing \$template->lang='" . ($self->{vars}{lang}//'-undef-') . "' to be overwritten by template->{VARS}{lang}='" . ($self->{VARS}{lang}//'-undef-') . "'"; delete $self->{VARS}{lang}; } Should we replace $self->{vars}{lang} here by $vars->{lang}, which comes from $self->lang ?? -- You are receiving this mail because: You are watching all bug changes.