Я получаю эту ошибку в своей системе OTRS и не могу понять, что происходит.
Ошибка в системном журнале:
Произошла ошибка при выполнении Execute() в Kernel::System::Console::Command::Maint::Ticket::PendingCheck: найдена ссылка, где ожидается список четного размера в /opt/otrs/Kernel/System/GenericAgent.pm строка 988.
Неверная часть кода:
# add note if wanted
if ( $Param{Config}->{New}->{Note}->{Body} || $Param{Config}->{New}->{NoteBody} ) {
if ( $Self->{NoticeSTDOUT} ) {
print " - Add note to Ticket $Ticket\n";
}
my %Ticket = $TicketObject->TicketGet(
TicketID => $Param{TicketID},
DynamicFields => 0,
);
if ( IsHashRefWithData( \%Ticket ) ) {
my %CustomerUserData = {}; # heres the line 988
if ( IsStringWithData( $Ticket{CustomerUserID} ) ) {
%CustomerUserData = $Kernel::OM->Get('Kernel::System::CustomerUser')->CustomerUserDataGet(
User => $Ticket{CustomerUserID},
);
}