Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken on PTR #970

Open
Buddylee007 opened this issue May 6, 2023 · 1 comment
Open

Broken on PTR #970

Buddylee007 opened this issue May 6, 2023 · 1 comment

Comments

@Buddylee007
Copy link

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

@cswelin
Copy link

cswelin commented May 7, 2023

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')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants