Bagnon

Bagnon

126M Downloads

C_Bank.FetchPurchasedBankTabData error

Hendo72 opened this issue ยท 3 comments

commented

Which software were you running?

  • Addon version name:
  • Client used: [e.g. Vanilla 1.14.4, Retail PTR x.x.x, etc]
    11.0.3 on Cata 4.4.0.56014

Have you read the changelog?
read

Please describe the bug.
Error message on reload/enter.

Please describe how to reproduce it.
All I did was reload the UI. happens every time.

I believe I auto-installed the update while I was playing because I didn't get this error until right now and I've been playing for a couple hours now.

Any Screenshots?
image
This looks off...

Error Logs are Important!
1x ...faceBagBrother/frames/containers/bankTab.lua:7: attempt to index global 'C_Bank' (a nil value)
[string "@BagBrother/frames/containers/bankTab.lua"]:7: in main chunk

Locals:
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'C_Bank' (a nil value)"

commented

i have the same problem on Classic SOD 1.15.3

commented

Thanks for the suggestion. I decided to keep it simple and went with:
if not C_Bank then return end

commented

Same error,

I changed the line to get around it for now, but I couldn't tell you the real fix :P

if not C_Bank or not C_Bank.FetchPurchasedBankTabData then
	return
end

Full error was:
Message: ...face/AddOns/BagBrother/frames/containers/bankTab.lua:7: attempt to index global 'C_Bank' (a nil value)
Time: Sun Aug 18 16:07:29 2024
Count: 1
Stack: ...face/AddOns/BagBrother/frames/containers/bankTab.lua:7: attempt to index global 'C_Bank' (a nil value)
[string "@Interface/AddOns/BagBrother/frames/containers/bankTab.lua"]:7: in main chunk

Locals: (*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'C_Bank' (a nil value)"