I'm getting errors in the admin panel for Affiliates

The site is "prayer.isbaking.com" and I'm recieving these error messages in the admin panel:
Warning: Invalid argument supplied for foreach() in /home/brw/public_html/prayer/wp-content/plugins/affiliate/affiliateincludes/classes/affiliateadmin.php on line 2124

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/brw/public_html/prayer/wp-content/plugins/affiliate/affiliateincludes/classes/affiliateadmin.php on line 2220

Warning: Invalid argument supplied for foreach() in /home/brw/public_html/prayer/wp-content/plugins/affiliate/affiliateincludes/classes/affiliateadmin.php on line 2221