Lua Code:
function MasterMerchant:SetupListener(guildID)
-- listener
MasterMerchant.LibHistoireListener[guildID] = LGH:CreateGuildHistoryListener(guildID, GUILD_HISTORY_STORE)
If you remove the [guildID] from there you will have issues. I don't understand what you mean by with it there you have errors. You could have issues other places due to other things. Although I didn't test that code I don't believe.