Support » Plugin: MailChimp List Subscribe Form » Missing argument 3 for MailChimp_API::get()
Missing argument 3 for MailChimp_API::get()
-
Hi, upon installing the plugin, we get this error:
What should we do?
-
Hi i am having the same submission error. I am not a tech gooru but if i get the exactly steps to find where to do your sugested modification i will be happy to do it my self…..Thanks
Hi @jimreene – if you’re wanting to know how to edit plugin files that can be accomplished by navigating to the Plugins tab in your WordPress account, locating the MailChimp plugin, and clicking the link that says “Edit”. Once there, you’ll want to edit line 21 of mailchimp.php as pcarvalho noted previously in the thread.
Thanks!
PearlThanks that helped with my error as well! But I am still getting this error:
Notice: Undefined variable: query_params in /home/wcgfou5/public_html/wp-content/plugins/mailchimp/lib/mailchimp/mailchimp.php on line 34
Any thoughts?
@pcarvalho Sorry the last comment I meant to direct to you. Thanks!
Yep, i also fixed that on my instalation:
In that file, on line 23, add this:
$query_params = "";
enjoy!
-
This reply was modified 3 years ago by
pcarvalho.
THanks @pcarvalho
Worked like a charm!
great!
Hi, @mcsupport
Having the same error code upon signup:
Warning: Missing argument 3 for MailChimp_API::get(), called in /home/content/p3nexnas06_data03/22/2149822/html/wp-content/plugins/mailchimp/mailchimp.php on line 841 and defined in /home/content/p3nexnas06_data03/22/2149822/html/wp-content/plugins/mailchimp/lib/mailchimp/mailchimp.php on line 21
http://www.Breezewayyoga.com
Enfold 3.8
Wordpress 4.6.1
Mail chimp Version 1.5.3It also says that the email was accepted to the mailing list, but it is disconcerting to visitors.
The plugin i initially had installed (and previously worked fine until today) started saying the API was “not connected” (https://wordpress.org/plugins/mailchimp-for-wp/)
I had support delete the install via FTP (as the plugin developer suggested) and then reinstalled, and it still didn’t work.
So installed this Mailchimp plugin and immediately got the “Missing argument 3 for MailChimp_API::get()” error message when I tried to submit an API
I had my host support team look at this thread. They implemented the fix, which did get rid of the error, but now it just doesn’t do anything when I try to connect the API. It just refreshes and shows an empty field.
-
This reply was modified 3 years ago by
gavinswordpress3. Reason: adding more info
-
This reply was modified 3 years ago by
gavinswordpress3. Reason: typo
Hello,
I updated the code so now it’s working perfectly.
I edited/wp-content/plugins/mailchimp/lib/mailchimp/mailchimp.php
file and now it’s working perfectly. I also solved Notice level errors too. Here is the modified file:
http://pastebin.com/g6YnU9MwI recommend to MailChip team to look at the code change and apply in the plugin so it will be solved in next update.
Thanks
Hey @gavinswordpress3 and @dwmccluredesign. Apologies for the delay in our reply here. Would you mind providing the version of PHP running on the WordPress site? We’ll want to be sure the site meets the plugin requirements for PHP as that can cause some unexpected behavior.
Would you mind checking to verify that the site is running on PHP version 5.6 or higher? If not, could you try upgrading to that latest version of the site to see if it resolves the issue?
Thanks in advance for trying this out. Let us know if you continue seeing issues.
Thanks,
MalachitePHP version: 5.4.45
http://www.Breezewayyoga.com
Enfold 3.8
Wordpress 4.6.1
Mail chimp Version 1.5.3Hey @dwmccluredesign. Thanks for the quick reply. The MailChimp List Subscribe plugin does require PHP 5.6 or higher to be install and sync successfully. We’ll want to rule this out as a possible cause for this error first.
Would you mind upgrading the site’s PHP version and let us know if the error persists? If it does, we’d be glad to investigate a bit further.
Thanks,
Malachitethank you @pcarvalho! This fixed the issue for me. Hopefully Mailchimp will release a new version with this fix in place soon!
Thanks pcarvalho!! That worked for me.
-
This reply was modified 3 years ago by
- The topic ‘Missing argument 3 for MailChimp_API::get()’ is closed to new replies.