We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting the following Lua error:
Message: [string "OnlineFrameSlider:OnValueChanged"]:1: attempt to index field 'scrollFrame' (a nil value) Time: 10/13/24 21:43:34 Count: 1 Stack: [string "*:OnValueChanged"]:1: in function <[string "*:OnValueChanged"]:1> Locals: self = OnlineFrameSlider { 0 = <userdata> } value = 0 (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to index field 'scrollFrame' (a nil value)"
The error seems to be in OnlineFrame.xml, line 249:
OnlineFrame.xml
<Scripts> <OnLoad> OnlineFrame.slider = self; </OnLoad> <OnValueChanged> OnlineFrame.scrollFrame:SetVerticalScroll(self:GetValue()); </OnValueChanged> </Scripts>
The text was updated successfully, but these errors were encountered:
I solve it with :
<OnValueChanged> if (OnlineFrame.scrollFrame ~= nil) then OnlineFrame.scrollFrame:SetVerticalScroll(self:GetValue()); end </OnValueChanged>
Also got similar message in StrategyFrame.xml so did same medicine in that file:
<Scripts> <OnValueChanged> if (self.scrollFrame ~= nil) then self.scrollFrame:SetVerticalScroll(self:GetValue()); end </OnValueChanged> </Scripts>
Sorry, something went wrong.
No branches or pull requests
Getting the following Lua error:
The error seems to be in
OnlineFrame.xml
, line 249:The text was updated successfully, but these errors were encountered: