Torhal / Broker_Currency

A LibDataBroker display of currencies and gold totals for session / today / yesterday / this week / last week.
https://www.curseforge.com/wow/addons/broker-currency
5 stars 6 forks source link

LUA Error in Broker_Currency: attempt to index local 'left4' (a nil value) #14

Closed amethystnw closed 1 year ago

amethystnw commented 3 years ago

I'm getting the following LUA error when logging into the game in Shadowlands. I have current release ver 9.0.5.7 installed.

Message: Interface\AddOns\Broker_Currency\Broker_Currency.lua:265: attempt to index local 'left4' (a nil value) Time: Tue Aug 3 19:25:04 2021 Count: 1 Stack: Interface\AddOns\Broker_Currency\Broker_Currency.lua:265: attempt to index local 'left4' (a nil value)

[string "@Interface\AddOns\Broker_Currency\Broker_Currency.lua"]:265: in function <Interface\AddOns\Broker_Currency\Broker_Currency.lua:245> [string "@Interface\AddOns\Broker_Currency\Broker_Currency.lua"]:630: in function <Interface\AddOns\Broker_Currency\Broker_Currency.lua:627>

[string "@Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:70: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:65> [string "@Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:498: in function `InitializeAddon' [string "@Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua"]:623: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:615>

Locals:

amethystnw commented 3 years ago

I see this error is corrected by the code left by @christophknuth. After the edit, the LUA error doesn't appear.

rhodan412 commented 3 years ago

How did you fix this error? I couldn't find the coding left by @christophknuth

EDIT: Scratch that, I found the fix at https://github.com/Torhal/Broker_Currency/pull/13

Aes-Seda commented 3 years ago

Is anyone going to correct or Update the Broker_Currency.Lua to fix the current errors on the download site? I have put in all the edits but it still broken on the download site.