Error compiling with no known errors

Yea I realize that but what part of my code is trying to reference the loop?