Notice: Undefined index: first_name in /home/brightacademy/generator.brightacademy.online/index.php on line 30

Notice: Undefined index: last_name in /home/brightacademy/generator.brightacademy.online/index.php on line 30

Notice: Undefined index: email in /home/brightacademy/generator.brightacademy.online/index.php on line 52

Notice: Undefined index: first_name in /home/brightacademy/generator.brightacademy.online/index.php on line 54

Fatal error: Uncaught Mailgun\Exception\HttpClientException: The parameters passed to the API were invalid. Check your inputs! 'to' parameter is missing in /home/brightacademy/generator.brightacademy.online/vendor/mailgun/mailgun-php/src/Exception/HttpClientException.php:72 Stack trace: #0 /home/brightacademy/generator.brightacademy.online/vendor/mailgun/mailgun-php/src/Api/HttpApi.php(91): Mailgun\Exception\HttpClientException::badRequest(Object(GuzzleHttp\Psr7\Response)) #1 /home/brightacademy/generator.brightacademy.online/vendor/mailgun/mailgun-php/src/Api/HttpApi.php(73): Mailgun\Api\HttpApi->handleErrors(Object(GuzzleHttp\Psr7\Response)) #2 /home/brightacademy/generator.brightacademy.online/vendor/mailgun/mailgun-php/src/Api/Message.php(65): Mailgun\Api\HttpApi->hydrateResponse(Object(GuzzleHttp\Psr7\Response), 'Mailgun\\Model\\M...') #3 /home/brightacademy/generator.brightacademy.online/index.php(56): Mailgun\Api\Message->send('mg.brightacadem...', Array) #4 {main} thrown in /home/brightacademy/generator.brightacademy.online/vendor/mailgun/mailgun-php/src/Exception/HttpClientException.php on line 72