Actually I figured this one out. My Environment variable was not set on the remote host. My deploy script was putting it in the wrong place. So I made sure I had my mailchimp key in an environment variable within .env.php as follows:
<?php
return [
'MAILCHIMP_APIKEY' => 'DONOTSHAREYOURKEY'
];
Hi I am also having the same issue and I have tried setting the .env.php file in the root of my application and it didn't work. I am not resorting to building a laravel app from scratch as opposed to using homestead for this. Do you have any step by step instructions on how you resolved this ?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community