ReCAPTCHA couldn’t find user-provided function: acadp_on_recaptcha_load
-
Hello,
Sometimes when I load a page that has the recaptcha form, I get an error in the console. The problem goes away on page refresh but I don’t think it should occur in the first place
This is the error:
ReCAPTCHA couldn't find user-provided function: acadp_on_recaptcha_load
I think this occurs because
acadp_on_recaptcha_load
is not defined globally.The line that calls on recaptcha is in
public/class-acadp-public.php
and looks like this:
wp_register_script( ACADP_PLUGIN_NAME."-recaptcha", "https://www.google.com/recaptcha/api.js?onload=acadp_on_recaptcha_load&render=explicit", array( ACADP_PLUGIN_NAME ), '', true );
What would you recommend?
- The topic ‘ReCAPTCHA couldn’t find user-provided function: acadp_on_recaptcha_load’ is closed to new replies.