i am tired of this error popping up nonstop…
i can’t seem to figure out what’s happening… i get into a fight and then this pops and i can’t press any button… happens once every 10 minutes… i have to literally /reload every time it pops…
can’t press anything during the bug, no button works…
YES i’ve deleted most of my weakauras, and even went ahead and deleted cache folder, and cache folder OLD in specific account, but doesn’t help…
can someone please help? i’ve been having this since expansion release
1 Like
Disable each of your weakauras in turn until it stops happening. Or disable them all and put them back one at a time.
There isn’t really another way that I know of. It is not the Weakauras addon itself, I run loads with no problem.
Message: Interface/FrameXML/EditModeUtil.lua:32: bad argument #1 to ‘abs’ (number expected, got nil)
Time: Mon Aug 7 17:01:37 2023
Count: 6
Stack: Interface/FrameXML/EditModeUtil.lua:32: bad argument #1 to ‘abs’ (number expected, got nil)
[string “=[C]”]: in function abs' [string "@Interface/FrameXML/EditModeUtil.lua"]:32: in function <Interface/FrameXML/EditModeUtil.lua:18> [string "=(tail call)"]: ? [string "@Interface/FrameXML/UIParent.lua"]:3170: in function
UIParentManageFramePositions’
[string “@Interface/FrameXML/UIParent.lua”]:2653: in function <Interface/FrameXML/UIParent.lua:2640>
[string “=[C]”]: in function SetAttribute' [string "@Interface/FrameXML/UIParent.lua"]:3200: in function
UIParent_ManageFramePositions’
[string “@Interface/FrameXML/EditModeManager.lua”]:714: in function UpdateBottomActionBarPositions' [string "@Interface/FrameXML/EditModeManager.lua"]:608: in function
UpdateActionBarLayout’
[string “@Interface/FrameXML/ActionBar.lua”]:342: in function UpdateVisibility' [string "@Interface/FrameXML/ActionBar.lua"]:302: in function
ShowOverride’
[string “@Interface/FrameXML/ActionBar.lua”]:292: in function SetShown' [string "@Interface/FrameXML/MultiActionBars.lua"]:64: in function <Interface/FrameXML/MultiActionBars.lua:62> [string "@Interface/FrameXML/MultiActionBars.lua"]:76: in function
MultiActionBar_Update’
[string “@Interface/FrameXML/ActionBarController.lua”]:223: in function ValidateActionBarTransition' [string "@Interface/FrameXML/ActionBarController.lua"]:167: in function
ActionBarController_UpdateAll’
[string “@Interface/FrameXML/ActionBarController.lua”]:66: in function <Interface/FrameXML/ActionBarController.lua:55>
Locals: (*temporary) = nil
(*temporary) = “number expected, got nil”
that error is what i got, i can’t seem to be able to fix
Why would it be WeakAura’s fault?
Try disabling all addons. If the error goes away when you disable all addons, then one of your addons is causing the error. You can try enabling your addons one at a time to find the addon that is causing the error.
Try downloading an addon called “Bugsack” it should stop the popup happening but it will also let you figure out which addon is causing it.
I’m no tech, was just looking at the rows of text and the word ‘Action bars’ is mentioned a few times - do you have an add on for your action bars like Bartender etc, could it be that add on type?
here is what ChatGPT4 Code Interpreter has picked out of your error message.
The error message you’ve provided is a Lua traceback from what appears to be a World of Warcraft addon or the game’s user interface (UI) code. The primary error is occurring due to a nil
value being passed as an argument to the abs
function, which expects a number.
From the traceback, we can deduce the following:
- The problem originates from
Interface/FrameXML/EditModeUtil.lua
on line 32.
- This issue has been triggered 6 times.
- The offending line of code in
EditModeUtil.lua
is making a call to the abs
function and passing it a value that is nil
.
- The exact line that triggers the error is in a function defined between lines 18 and 32 of
EditModeUtil.lua
.
- The error cascades through a series of function calls that are managing and updating the positions and visibility of action bars in the game’s UI.
To resolve the issue:
-
Check for the Source of the
nil
value: You need to identify why a nil
value is being passed to the abs
function. Examine the code on line 32 of EditModeUtil.lua
. What variable or value is being passed to abs
? Once you’ve identified it, trace back where that value is coming from. Is there a condition under which it isn’t being initialized or set?
-
Add Defensive Programming: Even after identifying the root cause, it’s a good practice to add checks before critical operations. Before calling the
abs
function, you can add a conditional check:
lua code
if value == nil then
-- handle the error or set a default value
else
result = abs(value)
end
-
Check for Addon Conflicts: If you’re using multiple addons, there might be a conflict between them. Try disabling other addons and see if the error persists. This can help narrow down whether the problem is with the specific addon or a conflict between multiple addons.
-
Update Addons: Ensure that all your addons are up-to-date. Sometimes, addon developers release updates to fix bugs and incompatibilities.
-
Contact the Addon Developer: If you can’t resolve the issue, consider reaching out to the addon’s developer with the error traceback you’ve provided. They might already be aware of the issue or will appreciate the feedback to fix the problem in a future update.
I would probably try repair the game from the option in the battlenet launcher or disable all addons and add them back one by one.
an addon might be trying to call a global value used by blizzard.
Good luck.
Chat GPT in a nutshell, sounding intelligent while saying nothing at all of use.
5 Likes
I’ve noticed there has been an increasing uptick in the UI doing complete and utter nonsense garbage for no reason. It’s no wonder addon developers are having problems.
For example, I’ve made an addon that overwrites GetUnitHealth and a few related function. It’s designed to basically squish the player’s health and mana to something more readable.
This is not a problem normally. While the functions are protected, no protected method calls them.
Except for one: Vehicle action bar hotkeys.
Clicking the buttons does not. Only hotkeys.
WHY DO VEHICLE ACTION BAR HOTKEYS ONLY CALL A GET HEALTH FUNCTION?!?!?!
There must be some truly magical spaghetti code going on here.
OmniBar has the same problem except in other places.
WoW UI developers seem obsessed with making the UI look a little nicer without enhancing it while simultaneously spagghetifying it completely.
One of your auras or add-ons is out of date. Or experiencing an error
This problem has 4 primary causes
-
An out of date function call. This is where a patch has change the API call the add-on is trying to make so it no longer functions
-
A missing, out of date or disabled dependency. A lot of add-ons in this game require a dependency to function properly. For example trade skill master relies on the full suit of trade skill add-ons and a desktop client to function without errors. Other add-ons like dBm or altaholic have various libraries they rely on. If one of these is missing or disabled it causes the error
-
A resource deadlock. Very unlikely but in theory if 2 add-ons/auras try to lock the same resource at the same time. One simply has its thread terminated causing an error
-
A memory leak. More common with wa but essentially if an added is trying to do too much or has poor garbage collection it runs out of allocated resources resulting in lag spikes and thread termination which causes errors.
The advice above is the best way to test it.
First start by disabling all non essential add-ons.
Next go I to the wa addon with /wa and go to each aura one by one. Any that are none essential set the load condition “never” to true
Then check if it still happens.
If it dose then you know it is part of your “essential kit” that is causing the error.
At this point you want to make sure all add-ons are updated. And check your weak auras for updates too.
If they are then you need to disable them one at a time till the problem stops
Do note it is likely that you may have more than one add-on causing an error. Tools like bug stack can be useful for identifying candidates
Side note the chat gpt stuff is only helpful if you k ow what is causing the error and are trying to code you own fix. Don’t bother someone else will have already done it
1 Like
This assumes Blizzard’s code makes any sense, which it doesn’t.
It’s Blizzard’s UI running around calling protected functions in nonsensical ways, breaking every addon doing practically everything.
This seems to be related to hotkeys. My WeakAuras keep breaking every time I press the F key on a flying mount after change instance. It goes away on UI reload. No other key as affected. Nothing happened last patch.
It turns out it’s trying to show a frame.
Why are the action bars trying to show a frame whenever I hit a keybind?
It’s just broken. I don’t think we should blame addon developers for Blizzard’s spaghetticode.
Sure, we can disable practically literally all addons to “fix” it but it still glitches out sometimes and starts blaming random things like the score board addon for battlegrounds (which is built in).
Similar thing with me, apart from its DBM instead of WA. Keeps saying its been force disabled until i update it, but CurseForge shows them all as up to date. I have seen reports of CurseForge being a bit janky recently so possibly an issue on that end
Sometimes I can’t interact with something and it will blame and addon. When I /reload the problem is magically gone.
Other things there is no fix for. Back in SL I had a WA for getting round some of those silly errors. I no longer have it though and no idea if it still works that way. The UI has changed since then.
i have both bug grabber and bug sack.
bugsack gave me this error message.
i reload, not less than 30 times per day.
i play arena mainly, and i have to /reload mid fights all the time. 2 timess per arena. 1 time in the waiting gates, and inside the arena during the fight i even do it
1 Like
Unfortunately, addons like bugsack in this case wont pull up the name of the addon that could be causing the error. you will more or less get the same error message as before.
If you are sure weakauras is causing the issue then what does the specific weakaura actually do?
If the addon is calling a global function this could cause unexpected errors.
It might be worth deleting weakauras from you addons folder and re adding it. I had issues with addons like Elvui in the past that went away after re adding.
Try the fix the game on the battle net launcher click the cog sign near the play button and find the option to fix the game.
Addon related issues can be really annoying to troubleshoot many people wouldn’t bother.
do you mean delete weakauras saved variables then re download weakauras clean?
I mean delete it from your addons folder and then put a fresh download of weakauras in there.