View Single Post
07-20-18, 06:52 PM   #1
eoblaed
A Murloc Raider
 
eoblaed's Avatar
Join Date: Jul 2018
Posts: 7
WorldMapFrame.UIElementsFrame ... nil?

I'm generally unfamiliar with the global structs/assets that are available. Attempting to do a local fix of PetTracker just to get it working again. I've fixed the map related API things, but I'm not sure where to look to fix the following ... google has been of no help, nor has searches through the various forums
Code:
Date: 2018-07-20 18:38:00
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\PetTracker\Features\WorldMap.lua line 22:
   attempt to index field 'UIElementsFrame' (a nil value)
Debug:
   PetTracker\Features\WorldMap.lua:22: in main chunk

The line in question:
Code:
local FilterButton = WorldMapFrame.UIElementsFrame.TrackingOptionsButton.Button
Looking through the rest of the code, that FilterButton is important, but I'm not sure how to instantiate it now.

Any ideas? Thanks in advance!
  Reply With Quote