ChocolateBar Broker Display

ChocolateBar Broker Display

1M Downloads

Lua error - attempt to index local 'dbChar'

Slivo-fr opened this issue ยท 5 comments

commented

Happens with the last update on classic ERA, last occurrence when I used Hearthstone

1x ChocolateBar\modules\CB_PlayedTime.lua:91: attempt to index local 'dbChar' (a nil value)
[string "@ChocolateBar\modules\CB_PlayedTime.lua"]:91: in function <ChocolateBar\modules\CB_PlayedTime.lua:89>
[string "@ChocolateBar\modules\CB_PlayedTime.lua"]:104: in function `func'
[string "@DataStore\libs\AceTimer-3.0\AceTimer-3.0-17.lua"]:57: in function <DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:50>
commented

Should be fixed. Let me know if you still have the issue with the current version.

commented

Thanks !
This error is gone, but ....

1x Interface\AddOns\ChocolateBar\Jostle2.lua:151: attempt to call global 'UnitHasVehicleUI' (a nil value)
[string "@Interface\AddOns\ChocolateBar\Jostle2.lua"]:151: in function `Refresh'
[string "@Interface\AddOns\ChocolateBar\Jostle2.lua"]:35: in function <Interface\AddOns\ChocolateBar\Jostle2.lua:33>
commented

I guess you get this in classic. Should be fixed in v3.9.7
Edit: Hmm actually Jostle2 is not used in classic, strange. I did not get that error in classic or retail.

commented

Yes it's on classic ERA like the previous error, I'm only playing ERA on my end

commented

Just tried again with the latest update released 6h ago, no more errors ! :)