LiveHelperChat / xmpp-chat

This is repository for full XMPP chat support. Standalone and automated hosting environment is supported.
https://livehelperchat.com/full-xmpp-chat-support-for-ejabberd-423a.html
37 stars 18 forks source link

Error in mod_lhcping after upgrading to 19.09.1 #12

Open AnimeshKashyap opened 4 years ago

AnimeshKashyap commented 4 years ago

12:26:43.791 [error] CRASH REPORT Process <0.506.0> with 0 neighbours crashed with reason: call to undefined function gen_mod:get_opt(send_pings, #{ahenviroment => false,ahprotocol => "https://",basedomain => "sit3lhc.1atesting.in",iqdisc => no_queue,...}, #Fun, false) 12:26:43.791 [critical] Failed to start module mod_lhcping: {error,{{undef,[{gen_mod,get_opt, [send_pings,

{ahenviroment => false,ahprotocol => "https://",

                        basedomain => "sit3lhc.1atesting.in",
                        iqdisc => no_queue,
                        ping_address =>
                            "https://sit3lhc.1atesting.in/xmppservice/operatorstatus",
                        ping_interval => 5,send_pings => true,
                        timeout_action => kill},
                      #Fun<mod_lhcping.0.4469384>,false],
                     []},
            {mod_lhcping,init,1,[{file,"src/mod_lhcping.erl"},{line,120}]},
            {gen_server,init_it,2,[{file,"gen_server.erl"},{line,374}]},
            {gen_server,init_it,6,[{file,"gen_server.erl"},{line,342}]},
            {proc_lib,init_p_do_apply,3,
                      [{file,"proc_lib.erl"},{line,249}]}]},
    {child,undefined,'mod_lhcping_sitejabberd.1atesting.in',
           {mod_lhcping,start_link,
                        [<<"sitejabberd.1atesting.in">>,
                         #{ahenviroment => false,ahprotocol => "https://",
                           basedomain => "sit3lhc.1atesting.in",
                           iqdisc => no_queue,
                           ping_address =>
                               "https://sit3lhc.1atesting.in/xmppservice/operatorstatus",
                           ping_interval => 5,send_pings => true,
                           timeout_action => kill}]},
           transient,2000,worker,
           [mod_lhcping]}}}

12:26:43.792 [critical] ejabberd initialization was aborted because a module start failed.

Please help me in resolving this issue.