Infinite Loop detected but why?

I following this tutorail series and I got a problem at 5:30
When I push the play button, I got errors (you can see in the pictures). Can you help me please?
I’m not a programmer, I don’t know what is the problem.
Thank you