When calling the script "search_for_data_inconsistencies.pl" the only output is the following: $ sudo koha-shell -c "perl /usr/share/koha/bin/maintenance/search_for_data_inconsistencies.pl" instancename Can't call method "get_column" on an undefined value at /usr/share/koha/bin/maintenance/search_for_data_inconsistencies.pl line 157. This happens when using Koha 20.11.02 with MariaDB 10.3.39, running on Debian GNU/Linux 10. According to Jonathan Druart (3 October 2023) this can be considered as a bug for this script, and it seems (looking at the code) that the bug still exists in master.