Stuck with this Error

I’m stuck with this ERROR Please help me :smiley:

This is the Error

Hi There.

The error accessed none means that there is no element stored in the variable MainWidget.
Please make sure that you have initialized this variable before you call it.

And for your next question, please give a more descriptive title.