Hi everybody
I'm using mailchimp with laravel 4.1 and have some problems.
when I want to use that with this :
$list_id='mylist_id'; $email_address='saha.0000@yahoo.com'; $first_name='saha'; $last_name='sa'; MailChimpWrapper::lists()->subscribe($list_id, array('email' => $email_address), array('FirstName' => $first_name, 'LastName' => $last_name));
it gives me this error: Non-static method Hugofirth\Mailchimp\MailchimpWrapper::lists() should not be called statically, assuming $this from incompatible context
2)I have the same problem with sentry and when I change the alias array in app.php from Sentry to SentryTest everything were gonna be ok .but when I do something like that for Mailchimp the first problem is ok and gives me a new error:
Undefined index: CURLOPT_FOLLOWLOCATION
in this path: laravel\vendor\mailchimp\mailchimp\src\Mailchimp.php
3)and my last question: how can I get $list_id automatically? with out going to maichimp site and get it from my profile "list" section?
thanks for your time .
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community