tukui-org / ElvUI

User Interface replacement AddOn for World of Warcraft.
https://tukui.org
Other
396 stars 136 forks source link

Cata Classic - Friends.lua attempted to index field '?' #1212

Closed mrvaghani closed 1 month ago

mrvaghani commented 1 month ago

Troubleshooting Steps

image

When loading into game, this is the error I am getting.

Describe the expected behavior and what actually happened?

I expect there to be no errors upon loading into the game.

Reproducing the issue.

Issues comes up as soon as I log into the game.

Lua Errors

Message: ...nterface/AddOns/ElvUI/Cata/Modules/Skins/Friends.lua:471: attempt to index field '?' (a nil value)
Time: Tue May 14 13:35:46 2024
Count: 1
Stack: ...nterface/AddOns/ElvUI/Cata/Modules/Skins/Friends.lua:471: attempt to index field '?' (a nil value)
[string "=(tail call)"]: ?
[string "@Interface/AddOns/ElvUI/Cata/Modules/Skins/Friends.lua"]:471: in function <...nterface/AddOns/ElvUI/Cata/Modules/Skins/Friends.lua:25>
[string "=[C]"]: ?
[string "@Interface/AddOns/ElvUI/Core/Modules/Skins/Skins.lua"]:2146: in function <Interface/AddOns/ElvUI/Core/Modules/Skins/Skins.lua:2141>
[string "=[C]"]: ?
[string "@Interface/AddOns/ElvUI/Core/General/Core.lua"]:1822: in function `CallLoadFunc'
[string "@Interface/AddOns/ElvUI/Core/General/Core.lua"]:1837: in function `CallLoadedModule'
[string "@Interface/AddOns/ElvUI/Core/General/Core.lua"]:1863: in function `InitializeModules'
[string "@Interface/AddOns/ElvUI/Core/General/Core.lua"]:1973: in function `Initialize'
[string "@Interface/AddOns/ElvUI/Core/init.lua"]:307: in function <Interface/AddOns/ElvUI/Core/init.lua:306>
[string "=[C]"]: ?
[string "@Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:66: in function <...UI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:626: in function <...UI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>

Locals: (*temporary) = <function> defined =[C]:-1

Verification Steps

linkx2252 commented 1 month ago

Getting same error.

1x ElvUI/Cata/Modules/Skins/Friends.lua:471: attempt to index field '?' (a nil value)
[string "@ElvUI/Cata/Modules/Skins/Friends.lua"]:471: in function <ElvUI/Cata/Modules/Skins/Friends.lua:25>
[string "=[C]"]: ?
[string "@ElvUI/Core/Modules/Skins/Skins.lua"]:2146: in function <ElvUI/Core/Modules/Skins/Skins.lua:2141>
[string "=[C]"]: ?
[string "@ElvUI/Core/General/Core.lua"]:1822: in function `CallLoadFunc'
[string "@ElvUI/Core/General/Core.lua"]:1837: in function `CallLoadedModule'
[string "@ElvUI/Core/General/Core.lua"]:1863: in function `InitializeModules'
[string "@ElvUI/Core/General/Core.lua"]:1973: in function `Initialize'
[string "@ElvUI/Core/init.lua"]:307: in function <ElvUI/Core/init.lua:306>
[string "=[C]"]: ?
[string "@ElvUI_Libraries/Core/Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...UI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@ElvUI_Libraries/Core/Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@ElvUI_Libraries/Core/Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <...UI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>

Locals:
self = nil
FriendsFrame = FriendsFrame {
 0 = <userdata>
 TitleText = FriendsFrameTitleText {
 }
 PortraitFrame = FriendsFramePortraitFrame {
 }
 LeftBorder = FriendsFrameLeftBorder {
 }
 Inset = FriendsFrameInset {
 }
 guildStatus = 0
 selectedIgnore = 1
 FriendsTabHeader = FriendsTabHeader {
 }
 selectedFriend = 1
 GetTitleText = <function> defined @Blizzard_SharedXML/Classic/SharedUIPanelTemplates.lua:856
 TopLeftCorner = FriendsFrameTopLeftCorner {
 }
 Bg = FriendsFrameBg {
 }
 playerStatusFrame = 1
 selectedTab = 1
 TopBorder = FriendsFrameTopBorder {
 }
 numTabs = 3
 TopTileStreaks = FriendsFrameTopTileStreaks {
 }
 TitleBg = FriendsFrameTitleBg {
 }
 BottomBorder = FriendsFrameBottomBorder {
 }
 backdrop = Frame {
 }
 CloseButton = FriendsFrameCloseButton {
 }
 RightBorder = FriendsFrameRightBorder {
 }
 BotRightCorner = FriendsFrameBotRightCorner {
 }
 SetTitleFormatted = <function> defined @Blizzard_SharedXML/Classic/SharedUIPanelTemplates.lua:864
 portrait = FriendsFramePortrait {
 }
 BotLeftCorner = FriendsFrameBotLeftCorner {
 }
 OnLoad = <function> defined @Blizzard_SharedXML/Classic/SharedUIPanelTemplates.lua:838
 SetTitle = <function> defined @Blizzard_SharedXML/Classic/SharedUIPanelTemplates.lua:860
 TopRightCorner = FriendsFrameTopRightCorner {
 }
}
FriendsFrameBattlenetFrame = FriendsFrameBattlenetFrame {
 0 = <userdata>
 UnavailableInfoFrame = Frame {
 }
 BroadcastButton = Button {
 }
 BroadcastFrame = Frame {
 }
 UnavailableInfoButton = Button {
 }
 UnavailableLabel = FontString {
 }
 Tag = FontString {
 }
}
FriendsFrameBroadcastInput = FriendsFrameBroadcastInput {
 0 = <userdata>
 backdrop = Frame {
 }
 icon = Texture {
 }
 clear = FriendsFrameBroadcastInputClearButton {
 }
}
InfoEventButton = GuildInfoGuildEventButton {
 0 = <userdata>
 Right = Texture {
 }
 OnBackdropLoaded = <function> defined @Blizzard_SharedXML/Backdrop.lua:152
 GetBackdropColor = <function> defined @Blizzard_SharedXML/Backdrop.lua:390
 SetBackdropBorderColor = <function> defined @Blizzard_SharedXML/Backdrop.lua:422
 Middle = Texture {
 }
 template = "Default"
 ApplyBackdrop = <function> defined @Blizzard_SharedXML/Backdrop.lua:294
 SetBackdrop = <function> defined @Blizzard_SharedXML/Backdrop.lua:329
 ClearBackdrop = <function> defined @Blizzard_SharedXML/Backdrop.lua:282
 GetBackdropBorderColor = <function> defined @Blizzard_SharedXML/Backdrop.lua:409
 FitToText = <function> defined @Blizzard_SharedXML/SecureUIPanelTemplates.lua:249
 glossTex = true
 SetBorderBlendMode = <function> defined @Blizzard_SharedXML/Backdrop.lua:266
 PixelSnapDisabled = true
 isSkinned = true
 SetupTextureCoordinates = <function> defined @Blizzard_SharedXML/Backdrop.lua:214
 OnBackdropSizeChanged = <function> defined @Blizzard_SharedXML/Backdrop.lua:182
 HasBackdropInfo = <function> defined @Blizzard_SharedXML/Backdrop.lua:278
 Center = Texture {
 }
 RightEdge = Texture {
 }
 GetBackdrop = <function> defined @Blizzard_SharedXML/Backdrop.lua:347
 SetTextToFit = <function> defined @Blizzard_SharedXML/SecureUIPanelTemplates.lua:244
 GetEdgeSize = <function> defined @Blizzard_SharedXML/Backdrop.lua:188
 BottomEdge = Texture {
 }
 BottomRightCorner = Texture {
 }
 TopEdge = Texture {
 }
 Text = GuildInfoGuildEventButtonText {
 }
 BottomLeftCorner = Texture {
 }
 TopRightCorner = Texture {
 }
 Left = Texture {
 }
 fitTextWidthPadding = 40
 TopLeftCorner = Texture {
 }
 backdropInfo = <table> {
 }
 SetupPieceVisuals = <function> defined @Blizzard_SharedXML/Backdrop.lua:246
 SetBackdropColor = <function> defined @Blizzard_SharedXML/Backdrop.lua:399
 LeftEdge = Texture {
 }
 fitTextCanWidthDecrease = true
}
(for index) = 7
(for limit) = 8
(for step) = 1
i = 7
(*temporary) = nil
(*temporary) = nil
(*temporary
1Botanica1 commented 1 month ago

This has been fixed in dev which you can download and install, or wait until next release

https://api.tukui.org/v1/download/dev/elvui/main

When manually installing delete ElvUI ElvUI_Options ElvUI_Libraries From your addons folder first. Don’t copy over.

mrvaghani commented 1 month ago

fixed in dev w

Ty for the prompt response. I will wait for next release.