[otrs] Can't call method Header ...

Kiffin Gish kiffin.gish at planet.nl
Wed Dec 9 19:03:42 GMT 2009


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 <Kiffin.Gish at planet.nl>
Gouda, The Netherlands




More information about the otrs mailing list