After following the mailchimp tut https://laracasts.com/lessons/bulk-email-notifications-part-2 and encountering the same error Jeff does within the video and making the same changes he does, i still get curl_close() expects parameter 1 to be resource, null given Anyone else have this, i'm using Homestead too as my environment.
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