I did a fresh install of Koha and uploaded biographic data and am testing the program. I was able to check out an item but .. when I check in the item using the right barcode I get a general error message. In the intranet-error.log it si reported: [Mon Feb 07 19:19:57.552543 2022] [cgi:error] [pid 7561] [client ::1:57816] AH01215: Use of uninitialized value $returnbranch in string ne at /usr/share/koha/lib/C4/Circulation.pm line 2289.: /usr/share/koha/intranet/cgi-bin/circ/returns.pl, referer: http://localhost:8080/cgi-bin/koha/mainpage.pl [Mon Feb 07 19:19:57.560086 2022] [cgi:error] [pid 7561] [client ::1:57816] AH01215: The to parameter is mandatory: /usr/share/koha/intranet/cgi-bin/circ/returns.pl, referer: http://localhost:8080/cgi-bin/koha/mainpage.pl [Mon Feb 07 19:19:57.621340 2022] [cgi:error] [pid 7561] [client ::1:57816] End of script output before headers: returns.pl, referer: http://localhost:8080/cgi-bin/koha/mainpage.pl so it looks like the problem is in a uninitialized value of $returnbranch I looked for a solution from the koha markmail forum but without result.
Hi Paolo, this sounds more like a support request/configuration issue that should go on the mailing list or IRC. Bugzilla should only be used to report bugs and enhancement requests. For a start: check that in your item you have homebranch and holding branch set to a valid branch of your Koha instance.