Error 500 & Can't use an undefined value as a HASH reference

English! place to talk about development, programming and coding
Post Reply
luppolo
Znuny newbie
Posts: 3
Joined: 16 Jan 2014, 16:59
Znuny Version: 3.2.6
Real Name: Veronica
Company: Policicchio

Error 500 & Can't use an undefined value as a HASH reference

Post by luppolo »

Hi All,
I have a problem similar to this viewtopic.php?f=62&t=22325 .
I’ve tried to implement my own module for OTRS 3.2.6 starting from AgentPhoneTicket.
I can build and install it and in the interface a new tab is shown, but I get a 500 error when clicking on it.
The APACHE log file contains the following:
[error] Can't use an undefined value as a HASH reference at /opt/otrs//Kernel/System/Ticket.pm line 3890.

I tried to delete OTRS Cache but the problem still remains. Could you give me any hint?
Thank you.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Error 500 & Can't use an undefined value as a HASH refer

Post by reneeb »

Did you install an add-on? Can you have a look at the SysConfig options in Group "Ticket", Subgroup "Frontend::Agent::Ticket::ViewPhoneNew"? Are those options activated?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
luppolo
Znuny newbie
Posts: 3
Joined: 16 Jan 2014, 16:59
Znuny Version: 3.2.6
Real Name: Veronica
Company: Policicchio

Re: Error 500 & Can't use an undefined value as a HASH refer

Post by luppolo »

Hi reneeb, thanks for your reply.
All the options are actived. Do you think that is missing any configuration file?
I've implemented
Kernel/Modules/AgentTicketPhoneClone.pm
Kernel/System/TicketPhoneClone.pm
Kernel/Output/HTML/Standard/AgentTicketPhoneClone.dtl
Kernel/Config/Files/AgentTicketPhoneCone.xml.

Thank you for you help.
Post Reply