• Resolved gilefrat

    (@gilefrat)


    Hey guys,

    The recaptcha v2 has stopped being displayed on all my forms.
    I work with Contact Form 7.
    I have not added any new plugins in the last six months and it worked fine until recently and a few days ago I suddenly realized that it does not appear. For this reason I think that this happened after the last update of CF7 to version 5.2.2.

    – I only use one recaptcha plugin and it is updated to its latest version which is 1.2.9
    – I tried changing the reCaptcha source from google.com to recaptcha.net but it did not help.

    what should I do next?
    Thanks you !

    The page I need help with: [log in to see the link]

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

    (@gilefrat)

    Just wanna add that I checked the console (Chrome DevTools) and saw this issue:
    reCAPTCHA couldn’t find user-provided function: recaptchaCallback

    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    This is a difficult issue to replicate. We apologize for the trouble but could you take a full backup of your website ( and understand how to do a restore ). Then you can install the WordPress Health Check & Troubleshooting Plugin. This plugin will allow you to safely disable plugins and revert to a default theme. For more information you can read over the Troubleshooting Handbook. We believe it’s a conflict with the theme ( or one of the installed plugins ) since we cannot replicate it in a normal 2020 theme environment.

    Here’s the semi-technical overview:

    – We do see reCaptcha script being added in the footer of your website but we do not see the expected wpcf7-recaptcha-controls.js which holds the callback function.
    – In our plugin code, for the Google reCaptcha JS script to even be added to the page it needs to have the wpcf7-recaptcha-controls.js code added before hand. See requirements below:

    wp_register_script(
    	'google-recaptcha',		// Slug
    	$url,				// URL
    	array(				// Requirements
    		'wpcf7-recaptcha-controls'
    	),
    	'2.0',				// Version
    	true				// Add to footer
    );

    The fact that the google-recaptcha script is being added to the page but the required wpcf7-recaptcha-controls is not being added at all leads us to believe it’s a conflict with the theme or plugin. Hopefully using the Health Check & Troubleshooting tool will help narrow down where the issue specifically is.

    Thread Starter gilefrat

    (@gilefrat)

    I sorry I think you are right and it’s a conflict with the theme. Therefor I have to go to a different recaptcha plugin, though I really liked yours!
    you’re awesome, thanks!

    Plugin Author IQComputing

    (@iqcomputing)

    Not a problem! You could look into a simpler approach instead of a reCaptcha such as

    Honeypot for Contact Form 7 or Really Simple Captcha.

    We’re also open to any suggestions on how we can make our plugin work better with the given theme should the authors have advice. In anycase, we’ll go ahead and mark this thread as resolved for now. Have a wonderful weekend!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The recaptcha is not displaying’ is closed to new replies.