An error occurred

Creation of MARCXML Record failed: Field 305 must have at least one subfield at /usr/share/perl5/MARC/Field.pm line 107. MARC::Field::new("MARC::Field", 305, " ", " ", "a") called at /usr/local/share/perl/5.22.1/MARC/File/XML.pm line 483 MARC::File::XML::decode("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\x{a}<record\x{a} xmlns:xsi="..., "MARC-8", "MARC21") called at /usr/local/share/perl/5.22.1/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 /KEEPS/koha/lib/C4/Record.pm line 212 eval {...} called at /KEEPS/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 /KEEPS/koha/lib/C4/Record.pm line 699 C4::Record::changeEncoding(MARC::Record=HASH(0xfe65db8), "MARC", "MARC21", "MARC-8") called at /KEEPS/koha/opac/cgi-bin/opac/opac-export.pl line 84 eval {...} called at /KEEPS/koha/opac/cgi-bin/opac/opac-export.pl line 2 CGI::Compile::ROOT::KEEPS_koha_opac_cgi_2dbin_opac_opac_2dexport_2epl::__ANON__(CGI::Compile=HASH(0xd7e00f8), "", "/KEEPS/koha/opac/cgi-bin/opac/opac-export.pl", "/KEEPS/koha/opac/cgi-bin/opac", ARRAY(0xe5b5f28)) called at /usr/share/perl5/CGI/Compile.pm line 139 CGI::Compile::__ANON__() called at /usr/share/perl5/CGI/Emulate/PSGI.pm line 30 CGI::Emulate::PSGI::__ANON__(HASH(0xe5b60a8)) called at /usr/share/perl5/Plack/App/WrapCGI.pm line 90 Plack::App::WrapCGI::call(Plack::App::WrapCGI=HASH(0xdca4918), HASH(0xe5b60a8)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xe5b60a8)) called at /usr/share/perl5/Plack/App/CGIBin.pm line 50 Plack::App::CGIBin::serve_path(Plack::App::CGIBin=HASH(0x8c0f8d0), HASH(0xe5b60a8), "/KEEPS/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(0x8c0f8d0), HASH(0xe5b60a8)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xe5b60a8)) called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call(Plack::App::URLMap=HASH(0x8d51fc0), HASH(0xe5b60a8)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xe5b60a8)) called at /KEEPS/koha/lib/Koha/Middleware/SetEnv.pm line 104 Koha::Middleware::SetEnv::call(Koha::Middleware::SetEnv=HASH(0x8d6a478), HASH(0xf20e860)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xf20e860)) called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call(Plack::Middleware::Static=HASH(0x8d6aa90), HASH(0xf20e860)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xf20e860)) called at /usr/local/share/perl/5.22.1/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call(Plack::Middleware::ReverseProxy=HASH(0x8d73548), HASH(0xf20e860)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xf20e860)) called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call(Plack::Middleware::AccessLog=HASH(0x1baf1f0), HASH(0xf20e860)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xf20e860)) called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} called at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app(CODE(0x1baf208), HASH(0xf20e860)) called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request(Starman::Server=HASH(0x15905d8), HASH(0xf20e860)) called at /usr/share/perl5/Starman/Server.pm line 298 Starman::Server::process_request(Starman::Server=HASH(0x15905d8), Net::Server::Proto::UNIX=GLOB(0xf19bf50)) called at /usr/share/perl5/Net/Server.pm line 74 Net::Server::run_client_connection(Starman::Server=HASH(0x15905d8)) 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(0x15905d8)) called at /usr/share/perl5/Net/Server/PreFork.pm line 187 Net::Server::PreFork::run_n_children(Starman::Server=HASH(0x15905d8), 1) called at /usr/share/perl5/Net/Server/PreFork.pm line 375 Net::Server::PreFork::coordinate_children(Starman::Server=HASH(0x15905d8)) called at /usr/share/perl5/Net/Server/PreFork.pm line 331 Net::Server::PreFork::run_parent(Starman::Server=HASH(0x15905d8)) called at /usr/share/perl5/Starman/Server.pm line 164 Starman::Server::run_parent(Starman::Server=HASH(0x15905d8)) called at /usr/share/perl5/Net/Server/PreFork.pm line 113 Net::Server::PreFork::loop(Starman::Server=HASH(0x15905d8)) called at /usr/share/perl5/Net/Server.pm line 60 Net::Server::run(Starman::Server=HASH(0x15905d8), "port", ARRAY(0x19c5560), "host", "*", "proto", "tcp", "serialize", ...) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run(Starman::Server=HASH(0x15905d8), CODE(0x158c660), HASH(0x158c390)) called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run(Plack::Handler::Starman=HASH(0x158c648), CODE(0x158c660)) called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run(Plack::Loader::Delayed=HASH(0x13a35b0), Plack::Handler::Starman=HASH(0x158c648)) called at /usr/share/perl5/Plack/Runner.pm line 277 Plack::Runner::run(Plack::Runner=HASH(0x1350828)) called at /usr/bin/starman line 38 at /KEEPS/koha/intranet/cgi-bin/circ/returns.pl line 34. CGI::Compile::ROOT::KEEPS_koha_intranet_cgi_2dbin_circ_returns_2epl::__ANON__("Field 305 must have at least one subfield at /usr/share/perl5"...) called at /usr/local/share/perl/5.22.1/Carp.pm line 291 Carp::croak("Field 305 must have at least one subfield") called at /usr/share/perl5/MARC/Field.pm line 107 MARC::Field::new("MARC::Field", 305, " ", " ", "a") called at /usr/local/share/perl/5.22.1/MARC/File/XML.pm line 483 MARC::File::XML::decode("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\x{a}<record\x{a} xmlns:xsi="..., "MARC-8", "MARC21") called at /usr/local/share/perl/5.22.1/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 /KEEPS/koha/lib/C4/Record.pm line 212 eval {...} called at /KEEPS/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 /KEEPS/koha/lib/C4/Record.pm line 699 C4::Record::changeEncoding(MARC::Record=HASH(0xfe65db8), "MARC", "MARC21", "MARC-8") called at /KEEPS/koha/opac/cgi-bin/opac/opac-export.pl line 84 eval {...} called at /KEEPS/koha/opac/cgi-bin/opac/opac-export.pl line 2 CGI::Compile::ROOT::KEEPS_koha_opac_cgi_2dbin_opac_opac_2dexport_2epl::__ANON__(CGI::Compile=HASH(0xd7e00f8), "", "/KEEPS/koha/opac/cgi-bin/opac/opac-export.pl", "/KEEPS/koha/opac/cgi-bin/opac", ARRAY(0xe5b5f28)) called at /usr/share/perl5/CGI/Compile.pm line 139 CGI::Compile::__ANON__() called at /usr/share/perl5/CGI/Emulate/PSGI.pm line 30 CGI::Emulate::PSGI::__ANON__(HASH(0xe5b60a8)) called at /usr/share/perl5/Plack/App/WrapCGI.pm line 90 Plack::App::WrapCGI::call(Plack::App::WrapCGI=HASH(0xdca4918), HASH(0xe5b60a8)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xe5b60a8)) called at /usr/share/perl5/Plack/App/CGIBin.pm line 50 Plack::App::CGIBin::serve_path(Plack::App::CGIBin=HASH(0x8c0f8d0), HASH(0xe5b60a8), "/KEEPS/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(0x8c0f8d0), HASH(0xe5b60a8)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xe5b60a8)) called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call(Plack::App::URLMap=HASH(0x8d51fc0), HASH(0xe5b60a8)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xe5b60a8)) called at /KEEPS/koha/lib/Koha/Middleware/SetEnv.pm line 104 Koha::Middleware::SetEnv::call(Koha::Middleware::SetEnv=HASH(0x8d6a478), HASH(0xf20e860)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xf20e860)) called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call(Plack::Middleware::Static=HASH(0x8d6aa90), HASH(0xf20e860)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xf20e860)) called at /usr/local/share/perl/5.22.1/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call(Plack::Middleware::ReverseProxy=HASH(0x8d73548), HASH(0xf20e860)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xf20e860)) called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call(Plack::Middleware::AccessLog=HASH(0x1baf1f0), HASH(0xf20e860)) called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__(HASH(0xf20e860)) called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} called at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app(CODE(0x1baf208), HASH(0xf20e860)) called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request(Starman::Server=HASH(0x15905d8), HASH(0xf20e860)) called at /usr/share/perl5/Starman/Server.pm line 298 Starman::Server::process_request(Starman::Server=HASH(0x15905d8), Net::Server::Proto::UNIX=GLOB(0xf19bf50)) called at /usr/share/perl5/Net/Server.pm line 74 Net::Server::run_client_connection(Starman::Server=HASH(0x15905d8)) 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(0x15905d8)) called at /usr/share/perl5/Net/Server/PreFork.pm line 187 Net::Server::PreFork::run_n_children(Starman::Server=HASH(0x15905d8), 1) called at /usr/share/perl5/Net/Server/PreFork.pm line 375 Net::Server::PreFork::coordinate_children(Starman::Server=HASH(0x15905d8)) called at /usr/share/perl5/Net/Server/PreFork.pm line 331 Net::Server::PreFork::run_parent(Starman::Server=HASH(0x15905d8)) called at /usr/share/perl5/Starman/Server.pm line 164 Starman::Server::run_parent(Starman::Server=HASH(0x15905d8)) called at /usr/share/perl5/Net/Server/PreFork.pm line 113 Net::Server::PreFork::loop(Starman::Server=HASH(0x15905d8)) called at /usr/share/perl5/Net/Server.pm line 60 Net::Server::run(Starman::Server=HASH(0x15905d8), "port", ARRAY(0x19c5560), "host", "*", "proto", "tcp", "serialize", ...) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run(Starman::Server=HASH(0x15905d8), CODE(0x158c660), HASH(0x158c390)) called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run(Plack::Handler::Starman=HASH(0x158c648), CODE(0x158c660)) called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run(Plack::Loader::Delayed=HASH(0x13a35b0), Plack::Handler::Starman=HASH(0x158c648)) called at /usr/share/perl5/Plack/Runner.pm line 277 Plack::Runner::run(Plack::Runner=HASH(0x1350828)) called at /usr/bin/starman line 38