Mailer.php invalid argument?

Ok I just put up a new subdomain for a contact form and when i went to test it i recived

‘’ **

Warning**:  Invalid argument supplied for foreach() in **/home/virtual/site23/fst/var/www/public_html/contact/mailer.php** on line **11

**’’

But yet I recived the mail but i do not want to keep reciving an email for an error about this
**

Warning**:  Invalid argument supplied for foreach() in **/home/virtual/site23/fst/var/www/public_html/contact/mailer.php** on line **11

**
problem

Help is much much appreachiated!

Thanks

Chris