What is causing this undefined variable Error message

Hi,

Currently the code you posted is not properly formatted, making it hard to read. Please edit it, cf. instructions here:

Additionally, it would also help if you would post the full error message, and reduce the code as much as possible to obtain a minimal working example (resulting in the same error). Check out

1 Like