2 - Attempt to index local 'button' (a nil value)
An error I've been getting (always I think) but have been ignoring:
In the chat window, I'm seeing the following when I click on any script that I've made that runs slash commands.
Error SCRIPTNAME:
Interface\FrameXML\ChatFrame.lua:4062 attempt to index local 'button' (a nil value)
- 1 comment
- 1 comment
- Reply
- #1
Farmbuyer Aug 26, 2011 at 22:49 UTC - 0 likesCould you post the complete script entry that's causing the error? I've not been able to recreate it with slash commands here. Note that if the slash command you're trying to do is a protected/secure command, then it's simply not going to work (I'll try to make the error messages clearer in that case).