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

Subscribe fails. No exceptions thrown; returns NULL. #40

Open
Yavor-Ivanov opened this issue Nov 20, 2015 · 0 comments
Open

Subscribe fails. No exceptions thrown; returns NULL. #40

Yavor-Ivanov opened this issue Nov 20, 2015 · 0 comments

Comments

@Yavor-Ivanov
Copy link

I'm running the following script on two different servers:

$subscriber = MailchimpWrapper::lists()->subscribe(
        '[REDACTED]', array('email' => $data['email']),
        null, 'html', false
);

Server A is able to subscribe users, but server B fails silently. I printed the value of $subscriber on both servers.

Server A: array(3) { ["email"]=> string(29) "[email protected]" ["euid"]=> string(10) "34d92c32b8" ["leid"]=> string(9) "157527861" }

Server B: NULL

This appears to be a configuration issue, but I can't figure out where the problem is. I've copied the config.php file from server A to server B just to make sure, and have run composer update on both servers.

There are no error messages in the laravel.log.

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