I also encountered an error in the console. I was able to fix it by adding wp-util to the script dependencies.
In the plugin file recaptcha-woo.php, I updated the line:
wp_enqueue_script(‘rcfwc-js’, plugins_url(‘/js/rcfwc.js’, FILE), array(‘jquery’, ‘wp-util’), ‘1.0’, array(‘strategy’ => ‘defer’));
This might be a temporary solution until the developers fix the issue.
@tannya1808 I want to say thank you, this resolved my error for now. I appreciate the help!
Thanks @tannya1808, your fix worked for me as well.
Changing deps to array(‘jquery’, ‘wp-util’) fixed the error, but I still can login without solving the captcha. Is the plugin actually working for any of you?
@chemaz I’m only using it on the Checkout for Guests, but this works with error message if you don’t complete the captcha:
‘Please complete the reCAPTCHA to verify that you are not a robot.’
Do you see any Javascript errors in the Console?
@mikebav I don’t see any errors since I applied @tannya1808’s suggestion, but still I (and the spammers) can login like nothing without ticking the reCaptcha v2 box, so I had to change to another plugin.
For anyone using this one, make sure to test it works. 🙂
@chemaz if you can provide more details about your plugin’s settings or anything else, it would be more clear to give some advice. And did you check your logs file? Also, it can be plugin’s conflict. So, if you have testing environment, you can check this.
Any news on getting a permanent fix for this ?
-
This reply was modified 8 months ago by
wordyad.
This is still an issue for me as well, even with the latest updates, I still get this error. I need to keep putting this fix in each update to resolve it.