mod_zeropush 无法使用 ejabberd 16.03

mod_zeropush not working with ejabberd 16.03

我正在使用 mod_zeropush,在我切换到 ejabberd 版本 16.03 之前,我在 15.07 上工作得很好。

我正在使用 Ubuntu OS 14.04 再次将所有光束文件复制到 ebin 目录

这是最后一个错误

===
2016-05-12 15:40:08.706 [error] <0.499.0>@ejabberd_hooks:run1:332 
{undef,[{xml,get_tag_attr_s,[<<"type">>,{xmlel,<<"message">>,[{<<"type">>,
<<"chat">>},{<<"image">>,<<"http://example.com/web-services/user_images
/personal_image/support_team_01.03.2016.png">>},{<<"id">>,
<<"183872511984980">>},{<<"name">>,<<"Support Team">>}2016-05-12 15:40:08.706 
[error] <0.499.0>@ejabberd_hooks:run1:332 {undef,[{xml,get_tag_attr_s,
[<<"type">>,{xmlel,<<"message">>,[{<<"type">>,<<"chat">>},{<<"image">>,
<<"http://example.com/web-services/user_images/personal_image
/support_team_01.03.2016.png">>},{<<"id">>,<<"183872511984980">>},{<<"name">>,
<<"Support Team">>},{<<"to">>,<<"994150860669617@example.com">>}],[{xmlel,
<<"body">>,[],[{xmlcdata,<<"444">>}]}]}],[]},{mod_zeropush,send_notice,3,
[{file,"src/mod_zeropush.erl"},{line,63}]},{ejabberd_hooks,safe_apply,3,
[{file,"src/ejabberd_hooks.erl"},{line,382}]},{ejabberd_hooks,run1,3,
[{file,"src/ejabberd_hooks.erl"},{line,329}]},{ejabberd_sm,route,3,[{file,"src
/ejabberd_sm.erl"},{line,114}]},{ejabberd_local,route,3,[{file,"src
/ejabberd_local.erl"},{line,112}]},{ejabberd_router,route,3,[{file,"src
/ejabberd_router.erl"},{line,77}]},{ejabberd_c2s,check_privacy_route,5,
[{file,"src/ejabberd_c2s.erl"},{line,2110}]}]},{<<"to">>,
<<"994150860669617@example.com">>}],[{xmlel,<<"body">>,[],[{xmlcdata,
<<"444">>}]}]}],[]},{mod_zeropush,send_notice,3,
[{file,"src/mod_zeropush.erl"},{line,63}]},{ejabberd_hooks,safe_apply,3,
[{file,"src/ejabberd_hooks.erl"},{line,382}]},{ejabberd_hooks,run1,3,
[{file,"src/ejabberd_hooks.erl"},{line,329}]},{ejabberd_sm,route,3,[{file,"src
/ejabberd_sm.erl"},{line,114}]},{ejabberd_local,route,3,[{file,"src
/ejabberd_local.erl"},{line,112}]},{ejabberd_router,route,3,[{file,"src
/ejabberd_router.erl"},{line,77}]},{ejabberd_c2s,check_privacy_route,5,
[{file,"src/ejabberd_c2s.erl"},{line,2110}]}]}

需要各位高手的帮助

帮助会节省我很多时间。

谢谢

ejabberd 的最新版本使用 Fast XML 模块而不是 p1_xml。该模块需要为新 API 更新。 (fxml:可能还有其他一些东西)。