I'm trying to configure EDD, and I'm having a problem with the email confirmation/checkout. After I click "Purchase" from my cart, this message is displayed:
Warning: Invalid argument supplied for foreach() in /home/revival/public_html/wp/wp-content/plugins/easy-digital-downloads/includes/email-template.php on line 35
Warning: Invalid argument supplied for foreach() in /home/revival/public_html/wp/wp-content/plugins/easy-digital-downloads/includes/email-functions.php on line 51
Warning: Cannot modify header information - headers already sent by (output started at /home/revival/public_html/wp/wp-content/plugins/easy-digital-downloads/includes/email-template.php:35) in /home/revival/public_html/wp/wp-includes/pluggable.php on line 881
This happens both in and out of test mode, and I unfortunately don't know enough to look at the code and fix it myself. What is going on/am I doing something wrong?