PhanxFont

PhanxFont

6.5k Downloads

Temp fix for addon options not showing 11.0

bubfeeld opened this issue · 2 comments

commented

I was getting an error ‘InterfaceOptions_AddCategory’ (a nil value),

I did some digging, found a post about another addon with the same issue

https://us.forums.blizzard.com/en/wow/t/zelda-loot-addon-wont-show/1900489/4

and thanks to the guys there i was able to cobble together changes that seems to have fixed the issue:

I added this line to line #13 in the Options.lua file:

13--local category, layout

and then I remarked out the following at line #266, or you could just delete it

--InterfaceOptions_AddCategory(Options)

and then right under that i added this code block:

category, layout = Settings.RegisterCanvasLayoutCategory(Options, Options.name, Options.name);
category.ID = Options.name
Settings.RegisterAddOnCategory(category);

commented

course now, a new problem, it somehow stopped working on the quest objective tracker window

commented

Thank you., I'm using the basic PhanxFont addon, not the github one, and yes, quest tab is small, I am getting this lua error for 13, what am I doing wrong please?

`Message: Interface/AddOns/PhanxFont/Options.lua:14: unexpected symbol near '13'
Time: Wed Aug 14 12:34:34 2024
Count: 1
Stack: Interface/AddOns/PhanxFont/Options.lua:14: unexpected symbol near '13'

Message: Interface/AddOns/PhanxFont/Options.lua:1 Interface/AddOns/PhanxFont/Options.lua:14: unexpected symbol near '13'
Time: Wed Aug 14 12:38:23 2024`

"local ADDON, Addon = ...

13--local category, layout

local L = setmetatable({}, {"