When I'm calling export.pl script from command line, I'm receiving this error message and nothing is exported: Can't use an undefined value as a HASH reference at /usr/share/koha/intranet/cgi-bin/tools/export.pl line 149.
There is new export_records.pl CLI script added by bug 14722, closing *** This bug has been marked as a duplicate of bug 14722 ***