LunaUnitFrames

LunaUnitFrames

268k Downloads

Broken on PTR

Buddylee007 opened this issue ยท 1 comments

commented

Addon broken in PTR

image
image
image
image

Several more but redundant for different functions.

Message: Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:1473: attempt to call method 'RegisterStyle' (a nil value)
Time: Sat May 6 16:19:58 2023
Count: 1
Stack: Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:1473: attempt to call method 'RegisterStyle' (a nil value)
[string "@Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua"]:1473: in function SpawnUnits' [string "@Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua"]:290: in function OnLoad'
[string "@Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua"]:1824: in function <Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:1822>

Locals: self =

{
SetupAllHeaders = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:1757
stateMonitor = Frame {
}
MediaForced = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:322
ReloadSingleUnit = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:1781
HideBlizzardFrames = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:470
InitializeUnit = defined @Interface/AddOns/LunaUnitFrames/modules/layout.lua:621
AutoswitchProfileSetup = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:1874
frameIndex =
{
}
ReloadHeaderUnits = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:1765
PlaceAllFrames = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:1433
unitList =
{
}
version = 4346
LoadMedia = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:304
LoadDefaults = defined @Interface/AddOns/LunaUnitFrames/modules/defaults.lua:17
ResetColors = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:260
CorrectPosition = defined @Interface/AddOns/LunaUnitFrames/modules/movers.lua:154
ReloadAll = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:1809
Print = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:191
OnProfileDeleted = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:358
defaults =
{
}
SetupHeader = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:1732
db =
{
}
L =
{
}
IndicatorData =
{
}
UpdateMovers = defined @Interface/AddOns/LunaUnitFrames/modules/movers.lua:145
ApplySettings = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:787
OnLoad = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:273
fakeUnits =
{
}
LoadoUFSettings = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:195
HeaderFrames =
{
}
PlaceFrame = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:1417
oUF =
{
}
Reload = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:1801
CreateConfig = defined @Interface/AddOns/LunaUnitFrames/modules/options.lua:147
MediaRegistered = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:314
overrides =
{
}
AutoswitchProfile = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:376
ProfilesChanged = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:326
SpawnUnits = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:1472
PlaceModules = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:1090
ProfileReset = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:345
}
(*temporary) = nil
(*temporary) =
{
DisableBlizzard = defined @Interface/AddOns/LunaUnitFrames/LunaUnitFrames.lua:12
RGBColorGradient = defined @Interface/AddOns/LunaUnitFrames/libs/oUF/colors.lua:226
HandleEventlessUnit = defined @Interface/AddOns/LunaUnitFrames/libs/oUF/units.lua:225
isRetail = false
HCYColorGradient = defined @Interface/AddOns/LunaUn

commented

this project is no longer maintained, however, this is an easy fix to do locally for now

in libs\oUF\ouf.lua at the top of the file

add
local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata

before
local global = GetAddOnMetadata(parent, 'X-oUF')