Foreach() invalid argument with jquery.validate

Hello Everyone!
This is my first extended form and I just don’t get the error with foreach() and my jquery.validate.js. When I do not have the foreach() the validator shows where information is missing in required input areas. However when I emplement foreach() the validator is disabled and instead I get the following error:
Warning: Invalid argument supplied for foreach() in …
Why? How can I fix it?
Thank you!

Here are the links to find the files I am referring to:
You can also find in the same folder the following files: