error attempt to index (a nil value) computer craft

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
2 things that would make it easier to help:

First the pastebin is set to private, meaning that no one can see the code.
Second: It would help if you also say at which line it occurs.

Something that may help you spot the error, assuming it isn't already solved. The error means that somewhere in your code you think that you have a table and try to use it like one when in actual fact it isn't even a value.
Code:
local a = {example : 1}
print(a.example)  // prints 1
local b = nil
print(b.example) //this gives the above error

The cause can be a simple misspelling, wrong number of parameters to a function that wants a table or thinking something is in scope when its not.