Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter davidru

    (@davidru)

    Helo, It’s hard to say because we use a custom theme and many different plugins. However, there is no CF7 call in the theme. We have found out that it is loaded in wp_head().

    Thread Starter davidru

    (@davidru)

    You can see it here: WIKA Blog – Pressure / Temperature / Level / Force / Flow / Calibration

    Its a strange problem. I’cant tell where it is coming from:


    var onloadCallback = function() {
    var e;wpcf7_recaptcha={...null!==(e=wpcf7_recaptcha)&&void 0!==e?e:{}};const c=wpcf7_recaptcha.sitekey,{homepage:n,contactform:a}=wpcf7_recaptcha.actions,o=t=>{const{action:e,func:n,params:a}=t;grecaptcha.execute(c,{action:e}).then((t=>{const c=new CustomEvent("wpcf7grecaptchaexecuted",{detail:{action:e,token:t}});document.dispatchEvent(c)})).then((()=>{"function"==typeof n&&n(...a)})).catch((t=>console.error(t)))};if(grecaptcha.ready((()=>{o({action:n})})),document.addEventListener("change",(t=>{o({action:a})})),"undefined"!=typeof wpcf7&&"function"==typeof wpcf7.submit){const t=wpcf7.submit;wpcf7.submit=function(e){o({action:a,func:t,params:[e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}]})}}document.addEventListener("wpcf7grecaptchaexecuted",(t=>{const e=document.querySelectorAll('form.wpcf7-form input[name="_wpcf7_recaptcha_response"]');for(let c=0;c<e.length;c++)e[c].setAttribute("value",t.detail.token)}))
    };

    Best case would be that our consentmanager and cf7 is working together but for now an uninstall would help.

    • This reply was modified 10 months, 4 weeks ago by davidru.
    • This reply was modified 10 months, 4 weeks ago by davidru.
Viewing 2 replies - 1 through 2 (of 2 total)