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); Problem source: mod_muc_log_http was loaded in globals modules_enabled section.