debugging mod_muc_log_http.lua: - get_room_list() does not seem to return a table - which can happen when component or muc is not set - component is of type "table" - muc is of type "nil" - so this is the problem debugging output via:: module:log("info", type(muc)); module:log("info", muc); instead of restarting prosody, connect via telnet to mod_admin_telnet console and reload the module. it reloads the whole module code:: module:reload('muc_log_http') Problem source: mod_muc_log_http was loaded in globals modules_enabled section.