I having a problem with HelloWorld example from documentation.

I get a following message in a browser when I go to HelloWorld page:

Can't call method "FatalError" on an undefined value at ../..//Kernel/Modules/AgentHelloWorld.pm line 31.

And the code that make problem is (in a AgentHelloWorld.pm)

# check needed objects
for (qw(ParamObject DBObject TicketObject LayoutObject LogObject QueueObject ConfigObject EncodeObject MainObject)) {
    if ( !$Self->{$_} ) {
$Self->{LayoutObject}->FatalError( Message => "Got no $_!" ); # LINE 31
    }
}



Best regards
--
Stevan Bogdanović
---------------------------------------------------------------------
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to