Hi,
I've changed the Frontmatter content on my contact form and I'm getting an error when the form is submitted.
I added this:
email: null
subject: '[Site Contact Form] {{ form.value.name|e }}'
body: '{% include ''forms/data.html.twig'' %}'
This is the error I get after submitting the form:
"Argument 1 passed to Grav\Plugin\EmailPlugin::buildMessage() must be of the type array, null given, called in /var/www/vhosts/the-abuzzers.com/httpdocs/user/plugins/email/email.php on line 79"
What am I doing wrong? (i'm new on Grav :-( )
Thanks for your help.
Greetz,
djdakta