• I found that after submit form using ajax, it does not show any message. I tried to figure out and found that message get inserted inside div#mc_message . But class “published” in not adding into this div due to which this div#mc_message remains as “display:none”. Please varify this bug and provide and patch if its a geniune issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey there hassandad,

    Thanks for posting. Not getting that message after submitting is certainly less than ideal, and it sounds like something’s definitely not toggling that message to display. I’ll be passing this along to our team so we can take a deeper look into it.

    I appreciate you taking the time to bring this to our attention. If you do have any other questions, please don’t hesitate to reply back and let us know.

    Thanks,
    Malachite

    Thread Starter hassandad

    (@hassandad)

    Hi,

    Any updates on this issue?

    Thanks

    Thread Starter hassandad

    (@hassandad)

    I just updated your plugin and its breaking. After submitting form with email this is what ajax request response says

    Warning: Missing argument 3 for MailChimp_API::get(), called in /home/********/wp-content/plugins/mailchimp/mailchimp.php on line 841 and defined in /home/********/wp-content/plugins/mailchimp/lib/mailchimp/mailchimp.php on line 21
    This email address is already subscribed to the list.

    Thread Starter hassandad

    (@hassandad)

    Ok i am able solve this warning by replacing

    public function get($endpoint, $count=10, $fields)

    with

    public function get($endpoint, $count=10, $fields=array())

    In wp-content/plugins/mailchimp/lib/mailchimp/mailchimp.php on line 21

    But my basic issue is already there its not showing the warnings. Let me know are you able to confirm the issue.

    Thread Starter hassandad

    (@hassandad)

    I am able to resolve my basic issue as well i asked question for.

    In file plugins/wp-content/plugins/mailchimp/js/mailchimp.js on line 26

    Replace this line
    $(‘#mc_message’).html(data);

    with

    $(‘#mc_message’).html(data).addClass(‘published’);

    And now responce messages are also appearing.

    Thanks you. Now i will not update this plugin ??

    Hey there Hassandad,

    Thanks for following up here and letting us know what you’ve tried to use as workarounds. I’ll be passing this information over to our development team so we can do some testing based on these workarounds and work towards an update that addresses this issue.

    I appreciate all your patience so far and will keep this thread updated, though please let me know if you have any additional questions in the meantime!

    Thanks,
    Malachite

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error or success message not showing after js submit’ is closed to new replies.