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

9.0.5.7 LUA errors #5

Closed Hurrok closed 1 year ago

Hurrok commented 3 years ago

First char to log in is fine. Switching to another char gives LUA errors in Broker_currency.lua:

always: line 265: attempt to index local 'left4' (a nil value)

one of these (depends on which char is logged in first): line 352: attempt to index local 'playerInfo' (a nil value) line 376: attempt to compare nil with number

kemayo commented 3 years ago

It's not just entirely switching characters -- logging back in as the same character also triggers it.

kemayo commented 3 years ago

Oh, and reloading the UI once you're logged in will eventually make it stop erroring.

Fringetastic commented 3 years ago

I accidentally reinstalled the latest version and I got the errors on load and reload. Going back to working version.

Wraithlord2015 commented 3 years ago

Tried reloading the UI numerous times; it doesn't work for everyone. Eventually the addon hits a point where it just shows gold and then starts blanking out the information.

christophknuth commented 3 years ago

I've create #13 which fixes the issue for me.