• Resolved gyroscopic

    (@gyroscopic)


    Hi I have a form which is not working an gives me the browser error

    can't establish a connection to the server at mydomain.com.&f=regular

    When I check the html to see what the action for the form looks like I see

    action="https://mydomain.com/#mc4wp-form-1"

    instead of the expected ?utm_expid=9999999999-0.cydPb9gqQKugh6876-zl8Q.0#mc4wp-form-1

    Any idea why that is?

    I’ve checked the console log and there are no erors. Also no php errors using debug.

    I have a very similar form working fine on another site (same server and Mailchimp account, but different subscription list).

    https://ww.wp.xz.cn/plugins/mailchimp-for-wp/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter gyroscopic

    (@gyroscopic)

    Upon further investigation the problem seems to be related to the fact that the plugin thinks the site is using https not http – yet the site is plain http (non secure) – any ideas?

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi there,

    That’s really strange and sounds like a proper bug, although I’m not sure why. Could you shoot me an email with a temporary admin account so I can take a closer look and apply a fix? My email is support@dannyvanko…..com (full name).

    Let me know, I’d be happy to help. 🙂

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi there,

    I implemented a change in version 1.5.2 that affects this, could you let me know if upgrading the plugin resolves the issue?

    If not, add the following snippet to your theme its functions.php file.

    add_filter('mc4wp_form_action', '__return_empty_string');

    Hope that helps!

    Thread Starter gyroscopic

    (@gyroscopic)

    Hi Danny

    Thanks for getting back to me. I resolved this by removing the bit of code that adds an ‘s’ to the url.

    When I get more time I will try the newer version instead.

    Many thanks for your great plugin!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘form action incorrect’ is closed to new replies.