Once I run my code, it says this:
attempt to index field ‘?’ (a nil value)
What does this error message mean? Also, this error message happens immediately. When i press the resume button, the error goes away, I’ll share the code if you would like
Once I run my code, it says this:
attempt to index field ‘?’ (a nil value)
What does this error message mean? Also, this error message happens immediately. When i press the resume button, the error goes away, I’ll share the code if you would like
Sound like you’re accessing a table but you didn’t set the index yet. Share the code if this isn’t the right answer.
If it goes away afterwards then it’s a variable that’s not detrimental to your code and a 99% chance it’s being executed in setup() just have a look for a variable that’s either not being initialised properly or is being set to nil.