syndenbock / MinimapButtonButton

A World of Warcraft addon for collecting minimap buttons
7 stars 3 forks source link

Lua Error: ElvUI compatibility - Attempt to call 'func' (a boolean value) #24

Closed AmethystEspeon closed 1 year ago

AmethystEspeon commented 1 year ago

Getting a lua error when I have both ElvUI and MinimapButtonButton enabled. Doesn't seem to affect functionality.

Tested with


[string "@ElvUI/Core/General/Core.lua"]:379: in function `ValueFuncCall'
[string "@ElvUI/Core/General/Core.lua"]:331: in function `UpdateMedia'
[string "@ElvUI/Core/General/API.lua"]:456: in function `?'
[string "@ElvUI_Libraries/Core/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...ies/Core/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@ElvUI_Libraries/Core/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ies/Core/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@ElvUI_Libraries/Core/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@ElvUI_Libraries/Core/Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...UI_Libraries/Core/Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals:
self = <table> {
 GetTimeInfo = <function> defined @ElvUI/Core/General/Math.lua:379
 mylevel = 61
 Bags = <table> {
 }
 privateVars = <table> {
 }
 modules = <table> {
 }
 FormatMoney = <function> defined @ElvUI/Core/General/Math.lua:436
 Config_OpenWindow = <function> defined @ElvUI/Core/General/Config.lua:866
 UpdateUnitFrames = <function> defined @ElvUI/Core/General/Core.lua:1411
 SetMoversPositions = <function> defined @ElvUI/Core/General/Movers.lua:450
 ScheduleTimer = <function> defined @ElvUI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua:94
 PriestColors = <table> {
 }
 RemoveEmptySubTables = <function> defined @ElvUI/Core/General/Core.lua:613
 Cooldown_Options = <function> defined @ElvUI/Core/General/Cooldowns.lua:129
 OnPauseCooldown = <function> defined @ElvUI/Core/General/Cooldowns.lua:237
 UIScale = <function> defined @ElvUI/Core/General/PixelPerfect.lua:55
 db = <table> {
 }
 SetEnabledState = <function> defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:420
 Layout = <table> {
 }
 UnregisterEventForObject = <function> defined @ElvUI/Core/General/Core.lua:1726
 Distributor = <table> {
 }
 DBConvertSL = <function> defined @ElvUI/Core/General/Core.lua:1242
 MountText = <table> {
 }
 INCOMPATIBLE_ADDONS = <table> {
 }
 PositionGameMenuButton = <function> defined @ElvUI/Core/General/API.lua:560
 UIFrameFade = <function> defined @ElvUI/Core/General/Animation.lua:278
 TimeIndicatorColors = <table> {
 }
 StaticPopup_IsLastDisplayedFrame = <function> defined @ElvUI/Core/General/StaticPopups.lua:491
 StaticPopup_CreateSecureButton = <function> defined @ElvUI/Core/General/StaticPopups.lua:1097
 Truncate = <function> defined @ElvUI/Core/General/Math.lua:142
 SetupReset = <function> defined @ElvUI/Core/General/Install.lua:530
 ToggleMoveMode = <function> defined @ElvUI/Core/General/Config.lua:69
 Dump = <function> defined @ElvUI/Core/General/API.lua:276
 WorldMap = <table> {
 }
 Disable = <function> defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:310
 TimeColors = <table> {
 }
 SlideOut = <function> defined @ElvUI/Core/General/Animation.lua:211
 Unhook = <function> defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:417
 XPIsTrialMax = <function> defined @ElvUI/Core/General/API.lua:513
 StaticPopup_GetAllSecureButtons = <function> defined @ElvUI/Core/General/StaticPopups.lua:1121
 EscapeString = <function> defined @ElvUI/Core/init.lua:189
 RGBToHex = <function> defined @ElvUI/Core/General/Math.lua:147
 ClickGameMenu = <function> defined @ElvUI/Core/General/API.lua:586
 Tooltip = <table> {
 }
 CalculateAverageItemLevel = <function> defined @ElvUI/Core/General/ItemLevel.lua:132
 mynameRealm = "Frisbeebish - Bleeding Hollow"
 SlideIn = <function> defined @ElvUI/Core/General/Animation.lua:200
 ShortValueDec = "%.1f"
 UpdateMediaItems = <function> defined @ElvUI/Core/General/Core.lua:1419
 IterateEmbeds = <function> defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:438
 RegisterObjectForVehicleLock = <function> defined @ElvUI/Core/General/API.lua:381
 Config_CreateBottomButtons = <function> defined @ElvUI/Core/General/Config.lua:957
 RawHookScript = <function> defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:394
 Classic = false
 BuildPrefixValues = <function> defined @ElvUI/Core/General/Math.lua:34
 myrole = "TANK"
 UnregisterAllEventsForObject = <function> defined @ElvUI/Core/General/Core.lua:1753
 SetupComplete = ```
syndenbock commented 1 year ago

Thanks for reporting this, compatibility with the latest version of ElvUI was fixed in version 1.14.1