Un utente ha chiesto
Categoria: Contact Form by WPForms – Drag & Drop Form Builder for WordPress di WordPress
Domanda: Problemi con l’amplificatore recaptcha v3

Penso che tutto sia impostato correttamente, ma non riesco a far funzionare recaptcha v3 sulle pagine AMP. Questo è l’errore che ricevo nella console durante l’invio del modulo.

/?__amp_source_origin=https%3A%2F%2Fwww.ryansmithphotography.com:1 Failed to load resource: the server responded with a status of 400 ()
recaptcha.js:168 Uncaught (in promise) TypeError: Cannot read property 'message' of null
    at recaptcha.js:168
xhr-impl.js:86 POST https://www.ryansmithphotography.com/?__amp_source_origin=https%3A%2F%2Fwww.ryansmithphotography.com 400
(anonymous) @ xhr-impl.js:86
Promise.then (async)
f.Yg @ xhr-impl.js:69
nh @ xhr-impl.js:105
f.fetch @ xhr-impl.js:158
(anonymous) @ amp-form.js:869
Promise.then (async)
push.f.l.$ @ amp-form.js:864
zc @ amp-form.js:829
(anonymous) @ amp-form.js:620
log.js:184 Form submission failed: Error: HTTP error 400​​​
    at eb (https://cdn.ampproject.org/v0.js:24:169)
    at bb.f.createError (https://cdn.ampproject.org/v0.js:20:142)
    at https://cdn.ampproject.org/v0.js:177:409
    at new Promise (<anonymous>)
    at lh (https://cdn.ampproject.org/v0.js:177:344)
    at https://cdn.ampproject.org/v0.js:178:423
db @ log.js:184
f.Da @ log.js:239
f.error @ log.js:256
Ac @ amp-form.js:935
(anonymous) @ amp-form.js:921
Promise.then (async)
Fc @ amp-form.js:919
(anonymous) @ amp-form.js:659
Promise.then (async)
zc @ amp-form.js:657
(anonymous) @ amp-form.js:620
recaptcha.js:168 Uncaught (in promise) TypeError: Cannot read property 'message' of null
    at recaptcha.js:168
(anonymous) @ recaptcha.js:168
Promise.then (async)
then @ recaptcha__en.js:524
(anonymous) @ recaptcha.js:157
Promise.then (async)
La @ recaptcha.js:150
m.fire @ observable.js:81
(anonymous) @ iframe-messaging-client.js:216
f @ event-helper-listen.js:52

La pagina per cui ho bisogno di aiuto: [log in to see the link]

  • Supporto plugin

    (@ethanchoi)

    Ciao rsmith4321,

    Sembra che ci possa essere un conflitto tra i moduli e il tema del sito o un altro plugin. Per risolvere questo problema, consulta la nostra guida approfondita su come testare i conflitti di plugin/tema.

    Spero che questo ti aiuti!

Hai risolto il tuo problema?

0 / 0

Lascia un commento 0

Il tuo indirizzo email non sarà pubblicato. Required fields are marked *