In C4/Templates::new() there is a call to $self->activethemes(), which I presume is to initialize a class variable. There is a sub in that packaged named activethemes though, which gets called instead, and results in a few lines in the web server error log because of incorrect parameters.
Created attachment 120723 [details] [review] Proposed fix
Created attachment 121113 [details] [review] Bug 28304: Quiet a warning from C4/Templates Change the code in C4/Templates::new() which I presume initialized an instance variable for caching. This call ends up calling a package method instead. Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Duplicate of bug 26734? *** This bug has been marked as a duplicate of bug 26734 ***
(In reply to Jonathan Druart from comment #3) > Duplicate of bug 26734? > > *** This bug has been marked as a duplicate of bug 26734 *** Sorry, caused by bug 26734, but a recent follow-up has been pushed to fix this problem: commit e66d69fa3eaa42f484d47f1fffbf7a91156c3223 Bug 26734: Rename activethemes with availablethemes