Disabling portraits breaks settings
Ellasana opened this issue ยท 1 comments
Description
Disabling unitframe portraits breaks settings, no way to open. Game menu reverts back to default skin and doesn't have KkthnxUI button to get to settings. Minimap button for settings disappears. Some skins also seem to revert to default, at least tooltip, looting window, nameplates. XP/Rep bar disappears. Fixed it by removing KkthnxUI's files in SavedVariables and not disabling portraits again.
Version Number
10.3.9
Steps to Reproduce
- Disable unitframe portraits
- Reload
Only KkthnxUI Enabled
Yes, happens with it only enabled.
Additional Information
Error Log
4x KkthnxUI/Modules/UnitFrames/Core.lua:268: attempt to index field 'Portrait' (a nil value)
[string "@KkthnxUI/Modules/UnitFrames/Core.lua"]:268: in function `CreateCastBar'
[string "@KkthnxUI/Modules/UnitFrames/Units/Boss.lua"]:168: in function `styleFunc'
[string "@KkthnxUI/Libraries/oUF/ouf.lua"]:330: in function <KkthnxUI/Libraries/oUF/ouf.lua:258>
[string "=(tail call)"]: ?
[string "@KkthnxUI/Libraries/oUF/ouf.lua"]:736: in function `Spawn'
[string "@KkthnxUI/Modules/UnitFrames/Core.lua"]:820: in function `CreateUnits'
[string "@KkthnxUI/Modules/UnitFrames/Core.lua"]:1109: in function `OnEnable'
[string "@KkthnxUI/Init.lua"]:279: in function `func'
[string "@KkthnxUI/Init.lua"]:172: in function <KkthnxUI/Init.lua:167>
Locals:
self = <table> {
UpdateRange = <function> defined @KkthnxUI/Modules/UnitFrames/Elements/Range.lua:69
TogglePlayerPlate = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:1259
CreateFocus = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Focus.lua:9
PostCreateButton = <function> defined @KkthnxUI/Modules/UnitFrames/Core.lua:389
AddTargetIndicator = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:406
UpdateColor = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:219
UpdateClickableSize = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:93
CreateRangeIndicator = <function> defined @KkthnxUI/Modules/UnitFrames/Elements/Range.lua:18
PostUpdateAddPower = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Player.lua:10
UpdatePlateSpacing = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:89
TogglePlatePower = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:1272
CreateAndUpdateStagePip = <function> defined @KkthnxUI/Modules/UnitFrames/Elements/Castbar.lua:190
UpdateUnitClassify = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:645
UpdateClassIcon = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:564
SpellInterruptor = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:772
RefreshPlateType = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:1122
CreatePet = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Pet.lua:8
PostUpdateButton = <function> defined @KkthnxUI/Modules/UnitFrames/Core.lua:433
CreateTarget = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Target.lua:9
CreateHeader = <function> defined @KkthnxUI/Modules/UnitFrames/Core.lua:156
SetupCVars = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:105
CreatePowerUnitTable = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:157
PLAYER_FOCUS_CHANGED = <function> defined @KkthnxUI/Modules/UnitFrames/Core.lua:1086
AddQuestIcon = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:529
UpdateQuestUnit = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:473
UpdateGroupRoles = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:197
UpdateSpellInterruptor = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:760
UpdateExplosives = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:667
CreatePlayer = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Player.lua:34
UpdateClassPortraits = <function> defined @KkthnxUI/Modules/UnitFrames/Core.lua:42
MajorSpells = <table> {
}
CreatePartyPet = <function> defined @KkthnxUI/Modules/UnitFrames/Groups/PartyPet.lua:9
OnUnitFactionChanged = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:1139
RefreshMajorSpells = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:1428
PostCastStart = <function> defined @KkthnxUI/Modules/UnitFrames/Elements/Castbar.lua:223
AurasPreUpdate = <function> defined @KkthnxUI/Modules/UnitFrames/Core.lua:492
OnEnable = <function> defined @KkthnxUI/Modules/UnitFrames/Core.lua:1107
CreateGCDTicker = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:1409
ResizeTargetPower = <function> defined @KkthnxUI/Modules/UnitFrames/Units/Nameplates.lua:1390
Cr