
LUA Error
KatyPurry opened this issue · 3 comments
Hello,
I get this error very often, I'm not sure if it comes from Bagsync, the addon is mentioned but also ElvUI. If this doesn't come from BagSync, I'm sorry I opened a topic.
Message: ...zzard_ScriptErrorFrame/Blizzard_ScriptErrorFrame.lua:116: attempt to concatenate local 'stack' (a nil value)
Time: Wed Mar 5 11:39:06 2025
Count: 1
Stack:
[Interface/AddOns/Blizzard_ScriptErrorFrame/Blizzard_ScriptErrorFrame.lua]:116: in function <...zzard_ScriptErrorFrame/Blizzard_ScriptErrorFrame.lua:115>
[C]: in function 'OnError'
[Interface/AddOns/ElvUI/Core/Modules/Misc/DebugTools.lua]:106: in function <...erface/AddOns/ElvUI/Core/Modules/Misc/DebugTools.lua:104>
[tail call]: ?
[Interface/AddOns/BagSync/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:109: in function <...ync/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[C]: ?
[Interface/AddOns/BagSync/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:19: in function <...ync/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[Interface/AddOns/BagSync/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:54: in function 'Fire'
[Interface/AddOns/BagSync/libs/AceEvent-3.0/AceEvent-3.0.lua]:120: in function <...ce/AddOns/BagSync/libs/AceEvent-3.0/AceEvent-3.0.lua:119>
[C]: in function 'SetPassThroughButtons'
[Interface/AddOns/Blizzard_MapCanvas/MapCanvas_DataProviderBase.lua]:280: in function 'CheckMouseButtonPassthrough'
[Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua]:302: in function 'AcquirePin'
[Interface/AddOns/Blizzard_SharedMapDataProviders/QuestDataProvider.lua]:194: in function 'AddQuest'
[Interface/AddOns/Blizzard_SharedMapDataProviders/QuestDataProvider.lua]:134: in function 'CheckAddQuest'
[Interface/AddOns/Blizzard_SharedMapDataProviders/QuestDataProvider.lua]:141: in function 'RefreshAllData'
[Interface/AddOns/Blizzard_SharedMapDataProviders/QuestDataProvider.lua]:39: in function <...lizzard_SharedMapDataProviders/QuestDataProvider.lua:39>
[C]: ?
[Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua]:144: in function <...e/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua:143>
[C]: ?
[Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua]:147: in function 'TriggerEvent'
[Interface/AddOns/Blizzard_FrameXMLUtil/Mainline/Blizzard_QuestSuperTracking.lua]:59: in function 'CacheCurrentSuperTrackInfo'
[Interface/AddOns/Blizzard_FrameXMLUtil/Mainline/Blizzard_QuestSuperTracking.lua]:17: in function <...rameXMLUtil/Mainline/Blizzard_QuestSuperTracking.lua:15>
Locals:
self = ScriptErrorsFrame {
index = 0
order = <table> {
}
ScrollFrame = ScrollFrame {
}
PreviousError = Button {
}
IndexLabel = FontString {
}
messageCount = 0
count = <table> {
}
Close = Button {
}
NextError = Button {
}
DragArea = Frame {
}
warnType = <table> {
}
locals = <table> {
}
messageLimit = 1000
Reload = Button {
}
Title = FontString {
}
messages = <table> {
}
times = <table> {
}
seen = <table> {
}
}
msg = "ADDON_ACTION_BLOCKED : ElvUI a tenté d'appeler la fonction protégée 'Button:SetPassThroughButtons()'."
warnType = false
keepHidden = false
stack = nil
locals = nil
(*temporary) = "ADDON_ACTION_BLOCKED : ElvUI a tenté d'appeler la fonction protégée 'Button:SetPassThroughButtons()'."
(*temporary) = "
"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to concatenate local 'stack' (a nil value)"
Message: ...zzard_ScriptErrorFrame/Blizzard_ScriptErrorFrame.lua:116: attempt to concatenate local 'stack' (a nil value)
Time: Wed Mar 5 11:39:06 2025
Count: 1
Stack:
[Interface/AddOns/Blizzard_ScriptErrorFrame/Blizzard_ScriptErrorFrame.lua]:116: in function <...zzard_ScriptErrorFrame/Blizzard_ScriptErrorFrame.lua:115>
[C]: in function 'OnError'
[Interface/AddOns/ElvUI/Core/Modules/Misc/DebugTools.lua]:106: in function <...erface/AddOns/ElvUI/Core/Modules/Misc/DebugTools.lua:104>
[tail call]: ?
[Interface/AddOns/BagSync/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:109: in function <...ync/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[C]: ?
[Interface/AddOns/BagSync/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:19: in function <...ync/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[Interface/AddOns/BagSync/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:54: in function 'Fire'
[Interface/AddOns/BagSync/libs/AceEvent-3.0/AceEvent-3.0.lua]:120: in function <...ce/AddOns/BagSync/libs/AceEvent-3.0/AceEvent-3.0.lua:119>
[C]: in function 'SetPassThroughButtons'
[Interface/AddOns/Blizzard_MapCanvas/MapCanvas_DataProviderBase.lua]:290: in function 'CheckMouseButtonPassthrough'
[Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua]:302: in function 'AcquirePin'
[Interface/AddOns/Blizzard_SharedMapDataProviders/QuestDataProvider.lua]:194: in function 'AddQuest'
[Interface/AddOns/Blizzard_SharedMapDataProviders/QuestDataProvider.lua]:134: in function 'CheckAddQuest'
[Interface/AddOns/Blizzard_SharedMapDataProviders/QuestDataProvider.lua]:141: in function 'RefreshAllData'
[Interface/AddOns/Blizzard_SharedMapDataProviders/QuestDataProvider.lua]:39: in function <...lizzard_SharedMapDataProviders/QuestDataProvider.lua:39>
[C]: ?
[Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua]:144: in function <...e/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua:143>
[C]: ?
[Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua]:147: in function 'TriggerEvent'
[Interface/AddOns/Blizzard_FrameXMLUtil/Mainline/Blizzard_QuestSuperTracking.lua]:59: in function 'CacheCurrentSuperTrackInfo'
[Interface/AddOns/Blizzard_FrameXMLUtil/Mainline/Blizzard_QuestSuperTracking.lua]:17: in function <...rameXMLUtil/Mainline/Blizzard_QuestSuperTracking.lua:15>
Locals:
self = ScriptErrorsFrame {
index = 1
order = <table> {
}
ScrollFrame = ScrollFrame {
}
PreviousError = Button {
}
IndexLabel = FontString {
}
messageCount = 1
count = <table> {
}
Close = Button {
}
NextError = Button {
}
DragArea = Frame {
}
warnType = <table> {
}
locals = <table> {
}
messageLimit = 1000
Reload = Button {
}
Title = FontString {
}
messages = <table> {
}
times = <table> {
}
seen = <table> {
}
}
msg = "ADDON_ACTION_BLOCKED : ElvUI a tenté d'appeler la fonction protégée 'Button:SetPassThroughButtons()'."
warnType = false
keepHidden = false
stack = nil
locals = nil
(*temporary) = "ADDON_ACTION_BLOCKED : ElvUI a tenté d'appeler la fonction protégée 'Button:SetPassThroughButtons()'."
(*temporary) = "
"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to concatenate local 'stack' (a nil value)"
You don't need to apologize. I took a look at the error you posted and this definitely is not BagSync. The error seems to be the following.
"ADDON_ACTION_BLOCKED : ElvUI a tenté d'appeler la fonction protégée 'Button:SetPassThroughButtons()'."
BagSync doesn't actually use SetPassThroughButtons() and that function is protected by Blizzard. More than likely ElvUI a UI overhaul type of addon is triggering this taint somehow and the taint is being cascaded and blame on BagSync as well. There is a possibility it could be another addon you have that isn't even listed in the error log as well btw. These things can happen! I took the liberty of researching this error and it's VERY common throughout many addons. Just do a google search for:
WOW ADDON_ACTION_BLOCKED SetPassThroughButtons
.
To see how Blizzard Tainting and Error reporting works, please take a look at this:
https://wowpedia.fandom.com/wiki/Secure_Execution_and_Tainting
Taint will blame whatever addon first touched some arbitrary piece of blizzzard code that eventually spread to cause the issue, even if other addons caused it to spread. So its difficult at times to track down what actual addon triggered the error.
So technically BagSync is being blamed for another addons bug due to how Blizzards cascading error trapping works.
This happens a lot and addons usually get blamed incorrectly. This is because it goes down (usually alphabetically down the error trap) the list and BagSync is higher up since it starts with a B. I'm not entirely sure if they finally addressed this but that's how it used to work in the past. In addition Blizzards error trap reporting is not very accurate at times.
The only thing I can suggest is the following. Turn off all addons and check them one at a time until the error fires or if you know how to get it to fire. Try just leaving ELVUI on first and work your way until you can track down what is causing it. Good luck!
What you can do is search your Addons folder for the addons that may be using that line of code as well. I love using Agent Ransack for mass searches.
https://www.mythicsoft.com/agentransack/
Here is an example. Right click your addons folder and do a search with Agent Ransack.
Then in the "Containing Text" field. Just put keywords like, PassThrough or SetPassThroughButton or ThroughButton
As you can see my search came up with an addon that actually uses that code called TomTom HereBeDragons and another addon called TalentTreeTweaks.
This is a good way for you to track it down.
Hello Xruptor, thank you very much for your detailed reply, I've learned a lot, thanks to you!
Indeed, I have a lot of addons that use these expressions:
- AngrierWorldQuest
- Details
- Handynotes
- Handynotes_TheWarWithin
- Plumber
- PremadeGroupsFilter
- SilverDragon
- TomTom
All I have to do now is go step by step, deactivating all these addons and then reactivating them one by one.