An error occurred

Creation of MARCXML Record failed: Field 500 must have at least one subfield at /usr/share/perl5/MARC/Field.pm line 107. MARC::Field::new("MARC::Field", 500, " ", " ", "a") called at /usr/share/perl5/MARC/File/XML.pm line 481 MARC::File::XML::decode("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\x{a}<record\x{a} xmlns:xsi="..., "MARC-8", "MARC21") called at /usr/share/perl5/MARC/File/XML.pm line 163 MARC::Record::new_from_xml("MARC::Record", "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\x{a}<record\x{a} xmlns:xsi="..., "MARC-8", "MARC21") called at /usr/share/koha/lib/C4/Record.pm line 212 eval {...} called at /usr/share/koha/lib/C4/Record.pm line 212 C4::Record::marcxml2marc("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\x{a}<record\x{a} xmlns:xsi="..., "MARC-8", "MARC21") called at /usr/share/koha/lib/C4/Record.pm line 699 C4::Record::changeEncoding(MARC::Record=HASH(0xdd6d4e8), "MARC", "MARC21", "MARC-8") called at /usr/share/koha/opac/cgi-bin/opac/opac-export.pl line 84 eval {...} called at /usr/share/koha/opac/cgi-bin/opac/opac-export.pl line 2 CGI::Compile::ROOT::usr_share_koha_opac_cgi_2dbin_opac_opac_2dexport_2epl::__ANON__(CGI::Compile=HASH(0x8e04750), undef, "/usr/share/koha/opac/cgi-bin/opac/opac-export.pl", "/usr/share/koha/opac/cgi-bin/opac", ARRAY(0xcf5ad00)) called at /usr/share/perl5/CGI/Compile.pm line 139 CGI::Compile::__ANON__() called at /usr/share/perl5/CGI/Emulate/PSGI.pm line 29 CGI::Emulate::PSGI::__ANON__(HASH(0xd1fa3f0)) called at /usr/share/perl5/Plack/App/WrapCGI.pm line 87 Plack::App::WrapCGI::call(Plack::App::WrapCGI=HASH(0xa1998d8), HASH(0xd1fa3f0)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xd1fa3f0)) called at /usr/share/perl5/Plack/App/CGIBin.pm line 50 Plack::App::CGIBin::serve_path(Plack::App::CGIBin=HASH(0x2711fc0), HASH(0xd1fa3f0), "/usr/share/koha/opac/cgi-bin/opac/opac-export.pl") called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call(Plack::App::CGIBin=HASH(0x2711fc0), HASH(0xd1fa3f0)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xd1fa3f0)) called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call(Plack::App::URLMap=HASH(0x4688e68), HASH(0xd1fa3f0)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xd1fa3f0)) called at /usr/share/koha/lib/Koha/Middleware/SetEnv.pm line 103 Koha::Middleware::SetEnv::call(Koha::Middleware::SetEnv=HASH(0xa14b088), HASH(0xde678b8)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xde678b8)) called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call(Plack::Middleware::Static=HASH(0xa171488), HASH(0xde678b8)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xde678b8)) called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call(Plack::Middleware::ReverseProxy=HASH(0xa171650), HASH(0xde678b8)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xde678b8)) called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 24 Plack::Middleware::AccessLog::call(Plack::Middleware::AccessLog=HASH(0x254bf60), HASH(0xde678b8)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xde678b8)) called at /usr/share/perl5/Plack/Util.pm line 142 eval {...} called at /usr/share/perl5/Plack/Util.pm line 142 Plack::Util::run_app(CODE(0x1e7ed50), HASH(0xde678b8)) called at /usr/share/perl5/Starman/Server.pm line 281 Starman::Server::process_request(Starman::Server=HASH(0x214bc58), Net::Server::Proto::UNIX=GLOB(0xd0c0448)) called at /usr/share/perl5/Net/Server.pm line 74 Net::Server::run_client_connection(Starman::Server=HASH(0x214bc58)) called at /usr/share/perl5/Net/Server/PreFork.pm line 229 eval {...} called at /usr/share/perl5/Net/Server/PreFork.pm line 229 Net::Server::PreFork::run_child(Starman::Server=HASH(0x214bc58)) called at /usr/share/perl5/Net/Server/PreFork.pm line 187 Net::Server::PreFork::run_n_children(Starman::Server=HASH(0x214bc58), 1) called at /usr/share/perl5/Net/Server/PreFork.pm line 375 Net::Server::PreFork::coordinate_children(Starman::Server=HASH(0x214bc58)) called at /usr/share/perl5/Net/Server/PreFork.pm line 331 Net::Server::PreFork::run_parent(Starman::Server=HASH(0x214bc58)) called at /usr/share/perl5/Starman/Server.pm line 159 Starman::Server::run_parent(Starman::Server=HASH(0x214bc58)) called at /usr/share/perl5/Net/Server/PreFork.pm line 113 Net::Server::PreFork::loop(Starman::Server=HASH(0x214bc58)) called at /usr/share/perl5/Net/Server.pm line 60 Net::Server::run(Starman::Server=HASH(0x214bc58), "port", ARRAY(0x24827c8), "host", "*", "proto", "tcp", "serialize", "none", ...) called at /usr/share/perl5/Starman/Server.pm line 89 Starman::Server::run(Starman::Server=HASH(0x214bc58), CODE(0x214bb20), HASH(0x214b8b0)) called at /usr/share/perl5/Plack/Handler/Starman.pm line 18 Plack::Handler::Starman::run(Plack::Handler::Starman=HASH(0x214bb38), CODE(0x214bb20)) called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run(Plack::Loader::Delayed=HASH(0x1f57ef0), Plack::Handler::Starman=HASH(0x214bb38)) called at /usr/share/perl5/Plack/Runner.pm line 277 Plack::Runner::run(Plack::Runner=HASH(0x1f05c58)) called at /usr/bin/starman line 38 at /usr/share/koha/intranet/cgi-bin/circ/returns.pl line 34. CGI::Compile::ROOT::usr_share_koha_intranet_cgi_2dbin_circ_returns_2epl::__ANON__("Field 500 must have at least one subfield at /usr/share/perl5"...) called at /usr/share/perl/5.20/Carp.pm line 166 Carp::croak("Field 500 must have at least one subfield") called at /usr/share/perl5/MARC/Field.pm line 107 MARC::Field::new("MARC::Field", 500, " ", " ", "a") called at /usr/share/perl5/MARC/File/XML.pm line 481 MARC::File::XML::decode("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\x{a}<record\x{a} xmlns:xsi="..., "MARC-8", "MARC21") called at /usr/share/perl5/MARC/File/XML.pm line 163 MARC::Record::new_from_xml("MARC::Record", "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\x{a}<record\x{a} xmlns:xsi="..., "MARC-8", "MARC21") called at /usr/share/koha/lib/C4/Record.pm line 212 eval {...} called at /usr/share/koha/lib/C4/Record.pm line 212 C4::Record::marcxml2marc("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\x{a}<record\x{a} xmlns:xsi="..., "MARC-8", "MARC21") called at /usr/share/koha/lib/C4/Record.pm line 699 C4::Record::changeEncoding(MARC::Record=HASH(0xdd6d4e8), "MARC", "MARC21", "MARC-8") called at /usr/share/koha/opac/cgi-bin/opac/opac-export.pl line 84 eval {...} called at /usr/share/koha/opac/cgi-bin/opac/opac-export.pl line 2 CGI::Compile::ROOT::usr_share_koha_opac_cgi_2dbin_opac_opac_2dexport_2epl::__ANON__(CGI::Compile=HASH(0x8e04750), undef, "/usr/share/koha/opac/cgi-bin/opac/opac-export.pl", "/usr/share/koha/opac/cgi-bin/opac", ARRAY(0xcf5ad00)) called at /usr/share/perl5/CGI/Compile.pm line 139 CGI::Compile::__ANON__() called at /usr/share/perl5/CGI/Emulate/PSGI.pm line 29 CGI::Emulate::PSGI::__ANON__(HASH(0xd1fa3f0)) called at /usr/share/perl5/Plack/App/WrapCGI.pm line 87 Plack::App::WrapCGI::call(Plack::App::WrapCGI=HASH(0xa1998d8), HASH(0xd1fa3f0)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xd1fa3f0)) called at /usr/share/perl5/Plack/App/CGIBin.pm line 50 Plack::App::CGIBin::serve_path(Plack::App::CGIBin=HASH(0x2711fc0), HASH(0xd1fa3f0), "/usr/share/koha/opac/cgi-bin/opac/opac-export.pl") called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call(Plack::App::CGIBin=HASH(0x2711fc0), HASH(0xd1fa3f0)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xd1fa3f0)) called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call(Plack::App::URLMap=HASH(0x4688e68), HASH(0xd1fa3f0)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xd1fa3f0)) called at /usr/share/koha/lib/Koha/Middleware/SetEnv.pm line 103 Koha::Middleware::SetEnv::call(Koha::Middleware::SetEnv=HASH(0xa14b088), HASH(0xde678b8)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xde678b8)) called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call(Plack::Middleware::Static=HASH(0xa171488), HASH(0xde678b8)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xde678b8)) called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call(Plack::Middleware::ReverseProxy=HASH(0xa171650), HASH(0xde678b8)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xde678b8)) called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 24 Plack::Middleware::AccessLog::call(Plack::Middleware::AccessLog=HASH(0x254bf60), HASH(0xde678b8)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xde678b8)) called at /usr/share/perl5/Plack/Util.pm line 142 eval {...} called at /usr/share/perl5/Plack/Util.pm line 142 Plack::Util::run_app(CODE(0x1e7ed50), HASH(0xde678b8)) called at /usr/share/perl5/Starman/Server.pm line 281 Starman::Server::process_request(Starman::Server=HASH(0x214bc58), Net::Server::Proto::UNIX=GLOB(0xd0c0448)) called at /usr/share/perl5/Net/Server.pm line 74 Net::Server::run_client_connection(Starman::Server=HASH(0x214bc58)) called at /usr/share/perl5/Net/Server/PreFork.pm line 229 eval {...} called at /usr/share/perl5/Net/Server/PreFork.pm line 229 Net::Server::PreFork::run_child(Starman::Server=HASH(0x214bc58)) called at /usr/share/perl5/Net/Server/PreFork.pm line 187 Net::Server::PreFork::run_n_children(Starman::Server=HASH(0x214bc58), 1) called at /usr/share/perl5/Net/Server/PreFork.pm line 375 Net::Server::PreFork::coordinate_children(Starman::Server=HASH(0x214bc58)) called at /usr/share/perl5/Net/Server/PreFork.pm line 331 Net::Server::PreFork::run_parent(Starman::Server=HASH(0x214bc58)) called at /usr/share/perl5/Starman/Server.pm line 159 Starman::Server::run_parent(Starman::Server=HASH(0x214bc58)) called at /usr/share/perl5/Net/Server/PreFork.pm line 113 Net::Server::PreFork::loop(Starman::Server=HASH(0x214bc58)) called at /usr/share/perl5/Net/Server.pm line 60 Net::Server::run(Starman::Server=HASH(0x214bc58), "port", ARRAY(0x24827c8), "host", "*", "proto", "tcp", "serialize", "none", ...) called at /usr/share/perl5/Starman/Server.pm line 89 Starman::Server::run(Starman::Server=HASH(0x214bc58), CODE(0x214bb20), HASH(0x214b8b0)) called at /usr/share/perl5/Plack/Handler/Starman.pm line 18 Plack::Handler::Starman::run(Plack::Handler::Starman=HASH(0x214bb38), CODE(0x214bb20)) called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run(Plack::Loader::Delayed=HASH(0x1f57ef0), Plack::Handler::Starman=HASH(0x214bb38)) called at /usr/share/perl5/Plack/Runner.pm line 277 Plack::Runner::run(Plack::Runner=HASH(0x1f05c58)) called at /usr/bin/starman line 38