<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi all,</p>
<p>  our RT system has been suffering from this annoying problem for months where, only sometimes, when you go to the "People" tab of a ticket it displays the error "<span>An internal RT error has occurred". In the system logs I see:</span></p>
<p>Sep 8 09:30:16 rt RT: [22413] Can't call method "head" on an undefined value at /usr/local/lib/perl5/site_perl/RT/Action/SendEmail.pm line 261. Stack: [/usr/local/lib/perl5/site_perl/RT/Action/SendEmail.pm:261] [/usr/local/lib/perl5/site_perl/RT/Action/SendEmail.pm:232] [/usr/local/share/rt44/html/Ticket/ModifyPeople.html:122] [/usr/local/share/rt44/html/Ticket/autohandler:66] [/usr/local/lib/perl5/site_perl/RT/Interface/Web.pm:696] [/usr/local/lib/perl5/site_perl/RT/Interface/Web.pm:375] [/usr/local/share/rt44/html/autohandler:53]</p>
<p> </p>
<p>Every time I think I've fixed this by removing/modifying a Scrip a week or so later it comes back. As of today I've finally realised why I keep thinking I've fixed it, because without modifying anything in the config a simple restart of Apache makes the error go away, which seems really weird :(.</p>
<p>Which I've investigated a little but I really don't understand the error and haven't found any similar issues reported.</p>
<p>Now I'm prepared to imagine this could all be due to something I've done wrong, ie config, custom Scrip etc. Other than the problem itself my main concerns are, firstly the error doesn't give me sufficient information to identify the root cause (maybe to someone more expert in RT it does!) and secondly by restarting Apache the error goes away temporarily.</p>
<p> </p>
<p>For now I've scheduled a nightly restart of Apache. If anyone has any clue as to whats going on or can suggest any further trouble shooting steps what would be great!</p>
<p> </p>
<p>OS FreeBSD 10.1</p>
<p>RT 4.4.1 (previously had exactly the same issue with 4.2.12)</p>
<p>Perl v5.20.3</p>
<p>Apache 2.4.23</p>
<p> </p>
<p>thanks in advance, Andy.</p>
<div> </div>
</body></html>