ReCaptcha isn't showing up on contact form page.

My ReCaptcha isn't showing up on my contact form. It was conflicting with WP recaptcha, so I disabled that.

  • Nithin

    Hi Dawn,

    Hope you are doing good today. :slight_smile:

    I tested the Contact Widget, the same way as you have implemented in your page, and I could notice this conflict. But once I deactivated the WP-reCAPTCHA plugin, the captcha starts to appear in my test system. So, it seems like the issue is specific to your system. Since I don't see you mention about performing a plugin conflict test, could you please run a quick plugin/theme conflict test as illustrated in getting support manual (flowchart), and rule out whether any plugin is causing this issue.
    http://premium.wpmudev.org/manuals/using-wpmu-dev/getting-support/

    Please let us know how that goes, so that we could give a closer look .Have a nice day. :slight_smile:

    Kind Regards,
    Nithin

  • Nithin

    Hi Dawn,

    Hope you are doing good today. :slight_smile:

    I checked your website, and I was able to notice this issue. I did test the Ultimate Facebook, and Contact Widget plugin, but I wasn't able to replicate this issue.

    On further testing, the Ultimate Facebook plugin seems to fail the Captcha, only when the Contact Widget plugin is implemented using Amr shortcode any widget plugin. There isn't any conflict when I tried to run Ultimate Facebook, and Contact Widget plugin together ie as a widget in the sidebar.

    I'm pinging the developer regarding this to check whether we could have any quick workaround to make this work. Will keep you posted once, I get an update regarding this. Have a nice day. :slight_smile:

    Kind Regards,
    Nithin

  • Nithin

    Hi Dawn,

    Hope you are doing good today. :slight_smile:

    I'm afraid, I don't have any update from the developer regarding this. I'm pinging the developer asking about the status of this issue, and will keep you posted once there's a fix. Please do note that developers work round the clock with many critical issues, and hence have a slow response time. Either myself, or the developer will keep you posted asap.

    Kind Regards,
    Nithin

  • Lindeni Mahlalela

    Hi Dawn,

    I hope you are doing great today. I am very sorry for the delayed response with regards to this issue.

    I have looked into the issue and found that if you choose the "Old" ReCaptcha it won't show up if the website is using the https protocol meaning. The browser blocks the JavaScript that is supposed to display the ReCaptcha as that JavaScript is requested over http while other content on the page is requested over https, this makes the browser block the insecure content and thus preventing the ReCaptcha from showing up.

    To fix this, modify the file located at '/wp-content/plugins/contact-form/contact-form.php', on this file find the following line:

    <script type="text/javascript" src="http://api.recaptcha.net/challenge?k=<?php echo $publickey; ?>&lang=en"></script>

    Replace it with this line:
    <script type="text/javascript" src="//api.recaptcha.net/challenge?k=<?php echo $publickey; ?>&lang=en"></script>

    That should fix the problem. Alternatively you may simply download and install the attached plugin to your website replacing the one that is already there. After applying the fix or uploading the plugin you should see the captcha shown like in the screenshot below regardless of whether your website uses http or https protocol or not:

    I hope this helps you resolve the problem. If you need more help please let us know and we will be happy to assist you further.

    I hope you enjoy your day further.

    Cheers,
    Mahlamusa