وردپرس

Issues with hCaptcha Integration and WP Rocket


Hello hCaptcha support and community,

1) I’m reaching out because I’m experiencing a specific error when using hCaptcha in conjunction with WP Rocket with this file: /wp-content/plugins/hcaptcha-for-forms-and-more/assets/js/hcaptcha-nf.min.js?ver=3.1.0

Uncaught ReferenceError: Marionette is not defined
    at hcaptcha-nf.min.js?ver=3.1.0:1:15
    at hcaptcha-nf.min.js?ver=3.1.0:1:1037

As a result of this error, the hCaptcha module displays, but the checkbox is missing.

Of course, here’s the additional paragraph to include:

I’d like to mention that I’ve added the following three lines to the WP Rocket settings for both execution delay and deferred loading. Unfortunately, this hasn’t resolved the issues:

  • hcaptcha.com/1/api.js
  • /wp-content/plugins/hcaptcha-for-forms-and-more/assets/js/hcaptcha-nf.min.js
  • /wp-content/plugins/hcaptcha-for-forms-and-more/assets/js/apps/hcaptcha.js

2) Additionally, while less critical than the first issue, I am using the Quforms plugin. I activated the integration checkbox for hCaptcha from the settings (?page=hcaptcha&tab=integrations). However, this seems to trigger hCaptcha twice, causing an apparent bug. The workaround I’ve found is to avoid checking this box and manually integrate hCaptcha from the Quform plugin instead.

Can anyone assist me with these concerns? I would greatly appreciate any insights or recommendations on this matter.

Thank you in advance for your help.

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا