Hi,
We have been using OTRS for a few weeks now without any
major problems. However, every so often we get an email from cron because of
some warning messages produced by the PostMasterMailbox script. This is what we
get:
$HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null
Prototype mismatch: sub Encode::Unicode::UTF7::decode
($$;$) vs none at /usr/lib/perl5/5.8.8/Encode/Unicode/UTF7.pm line 77.
Use of uninitialized value in numeric lt (<) at
/usr/lib/perl5/5.8.8/Encode/Unicode/UTF7.pm line 58.
Use of uninitialized value in numeric lt (<) at
/usr/lib/perl5/5.8.8/Encode/Unicode/UTF7.pm line 58.
Use of uninitialized value in numeric lt (<) at
/usr/lib/perl5/5.8.8/Encode/Unicode/UTF7.pm line 58.
Use of uninitialized value in numeric lt (<) at
/usr/lib/perl5/5.8.8/Encode/Unicode/UTF7.pm line 58.
Use of uninitialized value in numeric lt (<) at
/usr/lib/perl5/5.8.8/Encode/Unicode/UTF7.pm line 58.
Use of uninitialized value in numeric lt (<) at
/usr/lib/perl5/5.8.8/Encode/Unicode/UTF7.pm line 58.
The first warning message I was able to get rid of by
editing the UTF7.pm file and changing “decode{“ to “decode
($$;$) {“. However we still get the “Use of uninitialized value”
message. Line 58 contains: “while (pos($bytes) < $len) {“,
so I am guessing that when $bytes is blank when the sub is called by OTRS.
Anyone any idea how we can resolve this so we don’t
get random emails containing these warnings? We are using OTRS 3.0.10 on RHEL5,
with Perl 5.8.8 and DB2 as the database.
Thanks,
Pierce