Are you using any optimization plugins? Maybe something is delaying loading of jQuery or some JavaScript?
Bonjour,
J’utilise conjointement les plugins LoginPress et LiteSpeedCache.
Aucune modification des paramétrages n’a été effectuée.
Dans la page wp-login cette instruction est en erreur :
jQuery(“form.woocommerce-checkout”).on(“submit”, function() …
Uncaught ReferenceError: jQuery is not defined
JQMIGRATE: Migrate is installed, version 3.4.1
<input type="hidden" name="g-recaptcha-response" class="agr-recaptcha-response" value="" /><script>
function wpcaptcha_captcha(){
grecaptcha.execute("6LdgTDssAAAAAEdd3nvwaUhgRbjTUc1UQ4VdpmYg", {action: "submit"}).then(function(token) {
var captchas = document.querySelectorAll(".agr-recaptcha-response");
captchas.forEach(function(captcha) {
captcha.value = token;
});
});
}
</script><script>
jQuery("form.woocommerce-checkout").on("submit", function(){
setTimeout(function(){
wpcaptcha_captcha();
},100);
});
</script>
Tout fonctionnait parfaitement jusqu’à quelques jours.
J’ai essayé ces solutions sans succès :
https://www.wpbeginner.com/fr/wp-tutorials/how-to-fix-wordpress-jquery-is-not-defined-error/
Merci pour votre avis.
Même si je désactive LoginPress ou litespeedcache le problème persiste ….
We have not made any changes to the plugin recently so IDK why this is coming up. We have not had any other reports about this but added to ToDo to look into it more.