Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error with laravel mailchimp first using #22

Closed
saharGhasemi opened this issue Jun 21, 2014 · 0 comments
Closed

error with laravel mailchimp first using #22

saharGhasemi opened this issue Jun 21, 2014 · 0 comments

Comments

@saharGhasemi
Copy link

hi everybody

I'm using mailchimp with laravel 4.1 and have some problems.

  1. 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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant