Comments (8)
Hello @Hessel91, The suggested change is not reliable. Please make sure you have a list
property set in your component configuration that contains the Mailchamp List ID.
I hope this helps!
from mailchimp-plugin.
there was a dot (.) copied from my Mailchimp account behind my list id. that was the true issue. thank you for your reply @daftspunk for clearing this issue. This plugin works just fine.
from mailchimp-plugin.
@mabehiry
I'm having the same issue. Did You manage to figure out how to fix it?
from mailchimp-plugin.
The problem was reading components property - list. Even though I've added it to component properties it didn't work, so I changed the line
$result = $MailChimp->post("lists/".$this->property('list')."/members", $subscriptionData);
to
$result = $MailChimp->post("lists/".$listId."/members", $subscriptionData);
where $listId
is a hardcoded id of the list, and now it works properly.
from mailchimp-plugin.
@tylkosprawdzam not great to hard code it because that will be removed the next time this updates. Please post the component configuration in the template file that wasn't working.
from mailchimp-plugin.
I have the same issue. How did you resolve?
from mailchimp-plugin.
same issue
from mailchimp-plugin.
The problem was reading components property - list. Even though I've added it to component properties it didn't work, so I changed the line
$result = $MailChimp->post("lists/".$this->property('list')."/members", $subscriptionData);
to
$result = $MailChimp->post("lists/".$listId."/members", $subscriptionData);
where$listId
is a hardcoded id of the list, and now it works properly.
I changed the solution you mentioned, however, it throws a new error :
"Undefined variable: listId" on line 75 of C:\xampp\htdocs\mommy\plugins\rainlab\mailchimp\components\Signup.php"
from mailchimp-plugin.
Related Issues (20)
- MCAPI.class.php PHP 7 Compatibility HOT 3
- Is this still working? HOT 2
- Double opt-in doesn't seem to work HOT 6
- Requirements not stated anywhere HOT 1
- How about check subscription status? HOT 3
- Two or more forms in same page? HOT 2
- Can't add emails to list HOT 1
- Submitting form with subscribed email returns error HOT 1
- Subscription not working HOT 5
- Not able to link website with mailchimp HOT 9
- Error Class 'NZTim\Mailchimp\MailchimpServiceProvider' not found HOT 1
- Sorry there was an error: 404 HOT 2
- Add tags to new subscriber email HOT 2
- Unknown error HOT 6
- Mailchimp API response messages language HOT 3
- AJAX Issue HOT 5
- Is this plugin mantained? HOT 3
- Accessing result of signin up from fron side HOT 3
- Exception while form submit HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailchimp-plugin.