
9 Dec
2009
9 Dec
'09
7:03 p.m.
I'm trying to write my own OTRS module based on chapter 13 of the
Developer Manual. However, although I feel I've followed the
instructions exactly, I still get the following error message:
Can't call method "Header" on an undefined value
at ../..//Kernel/Modules/AgentHelloWorld.pm line 38.
This corresponds with the following line:
sub Run {
...
line 38: my $Output = $Self->{LayoutObject}->Header(Title =>
"HelloWorld");
Any ideas what I might be doing wrong? Could it be that the layout
object isn't being initialized properly?
--
Kiffin Gish