View Single Post
12/20/20, 12:17 PM   #16
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
You did not initialize GuildBankLedger.LibHistoireListener as a table isn't it?

Lua Code:
  1. function GuildBankLedger:Initialize()
  2. self.LibHistoireListener = {}
  3. ...
  4. end

That's why it says nil error on that line. You want to add [guilID] to the table GuildBankLedger.LibHistoireListener but it is not a table.

And next time please post the whole lua errors (instead of only saying there is a nil error) so we are able to easily see where the nil happens. It tells you in that messages if you read it correctly :-) It also shows you the contents of variables and tables in that error message if you expand it.
And if you use sirinsdiators browser plugin for LibDebugLogger it even generates you an even better overview here adirectly inside the browser at www.esoui.com -> e.g. via the Greasemonkey or Tampermonkey browser plugins/addons.

https://www.esoui.com/forums/showthread.php?t=9113

Last edited by Baertram : 12/20/20 at 12:20 PM.
  Reply With Quote