WQAchievements

WQAchievements

250k Downloads

A Lua error with newest version

NLZ opened this issue ยท 1 comments

commented

Lua error on load, using v8.0.1-12release

1x WQAchievements\WQAchievements-v8.0.1-12release.lua:879: attempt to index field 'customReward' (a nil value)
WQAchievements\WQAchievements-v8.0.1-12release.lua:879: in function `Reward'
WQAchievements\WQAchievements-v8.0.1-12release.lua:93: in function <WQAchievements\WQAchievements.lua:78>

Locals:
self = <table> {
 watched = <table> {
 }
 UpdateCustomRewards = <function> defined @WQAchievements\Options.lua:666
 EnableModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:332
 modules = <table> {
 }
 GetRewardForID = <function> defined @WQAchievements\WQAchievements.lua:486
 IterateEmbeds = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:442
 ToggleGet = <function> defined @WQAchievements\Options.lua:549
 CreateCustomQuest = <function> defined @WQAchievements\Options.lua:586
 p = <function> defined @WQAchievements\WQAchievements.lua:614
 debug = false
 slash = <function> defined @WQAchievements\WQAchievements.lua:103
 SetDefaultModulePrototype = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:409
 Show = <function> defined @WQAchievements\WQAchievements.lua:371
 defaultModuleState = true
 AnnouncePopUp = <function> defined @WQAchievements\WQAchievements.lua:618
 IsEnabled = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:451
 CreateGroup = <function> defined @WQAchievements\Options.lua:552
 ScheduleTimer = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:94
 DisableModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:350
 GetArgs = <function> defined @Ace3\AceConsole-3.0\AceConsole-3.0.lua:144
 data = <table> {
 }
 questList = <table> {
 }
 ZoneIDList = <table> {
 }
 db = <table> {
 }
 CreateCustomReward = <function> defined @WQAchievements\Options.lua:660
 SetEnabledState = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:424
 enabledState = true
 link = <function> defined @WQAchievements\WQAchievements.lua:453
 rewards = false
 links = <table> {
 }
 IterateModules = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:437
 Reward = <function> defined @WQAchievements\WQAchievements.lua:718
 AddAchievement = <function> defined @WQAchievements\WQAchievements.lua:252
 AddToys = <function> defined @WQAchievements\WQAchievements.lua:342
 AddMounts = <function> defined @WQAchievements\WQAchievements.lua:299
 OnInitialize = <function> defined @WQAchievements\WQAchievements.lua:39
 NewModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:235
 AddPets = <function> defined @WQAchievements\WQAchievements.lua:320
 GetModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:210
 defaultModuleLibraries = <table> {
 }
 TimeLeft = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:172
 UnregisterChatCommand = <function> defined @Ace3\AceConsole-3.0\AceConsole-3.0.lua:111
 ScheduleRepeatingTimer = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:129
 CancelAllTimers = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:160
 first = true
 GetName = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:279
 AddCustom = <function> defined @WQAchievements\WQAchievements.lua:358
 name = "WQAchievements"
 UpdateCustomQuests = <function> defined @WQAchievements\Options.lua:592
 timer = <table> {
 }
 orderedModules = <table> {
 }
 AnnounceChat = <function> defined @WQAchievements\WQAchievements.lua:528
 checkWQ = <function> defined @WQAchievements\WQAchievements.lua:415
 Print = <function> defined @Ace3\AceConsole-3.0\AceConsole-3.0.lua:54
 CreatePopUp = <function> defined @WQAchievements\WQAchievements.lua:552
 IsModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:468
 L = <table> {
 }
 start = 163541.616
 event = <unnamed> {
 }
 optionsFrame = <unnamed> {
 }
 options = <ta
commented

fixed. Thanks for the report.