Hi Eric. I don't think I can offer any help for this one, hopefully someone else can 8-)
If you know the exact Koha version you have (More > About Koha > Server information tab > Koha version), I could send you a list of the defaults for all the system preferences. Alternatively, if it is a relatively recent version, you could use one of the demos to identify what is missing https://koha-community.org/demo/ It would be a bit tedious though! (And might not resolve the cause of the issue.) Another thing to check in the database is the number of system preferences: select * from systempreferences; (for the current main there are 897 system preferences). Depending on badly your Koha is 'borked', another alternative may be to export your record data and import it into a fresh instance (depending on how much you have customised the frameworks and other administration options). David On Tue, 13 Jan 2026 at 15:00, Eric Lease Morgan <[email protected]> wrote: > > > How do I resolve the following two errors when > additional-contents.pl?category=news is called: > > Use of uninitialized value $interface in concatenation (.) or > string at /usr/share/koha/lib/C4/Languages.pm line 122. > > Use of uninitialized value $theme in concatenation (.) or > string at /usr/share/koha/lib/C4/Languages.pm line 122. > > A long time ago I submitted the wrong CLI command at the wrong time, and I > believe I blew away many of Koha's preferences. Since then I have been able > to re-create a new super librarian, and thus I have regained access to the > administrative backend. Whew! > > Now I want to use the Tools functions to create news. Apparently the > command to do this is: > > <address>/cgi-bin/koha/tools/additional-contents.pl?category=news > > Unfortunately, when submitted, the adminstrative interface returns HTTP > error 500, and the error log includes the following two diagnostics: > > Use of uninitialized value $interface in concatenation (.) or > string at /usr/share/koha/lib/C4/Languages.pm line 122. > > Use of uninitialized value $theme in concatenation (.) or > string at /usr/share/koha/lib/C4/Languages.pm line 122. > > Languages.pm seems to be called from additional-contents.pl and the error > seems to stem from the getTranslatedLanguages method. > > Where do the values for $interface and $theme get initialized? Maybe > something in my database needs to be reset? I'm stumped, and any help would > be appreciated. > > -- > Eric Morgan > Infomotions, LLC > > _______________________________________________ > > Koha mailing list http://koha-community.org > [email protected] > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha > _______________________________________________ Koha mailing list http://koha-community.org [email protected] Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

