• Resolved arafail

    (@arafail)


    Hello!
    Could you please help with an issue I am having?
    Thanks!
    While trying to use an AMP valid form, I get this error, in the network tab of the developer tools, in chrome:

    VM713:1 POST https://www.digitalcitizen.ro/contacteaza?__amp_source_origin=https%3A%2F%2Fwww.digitalcitizen.ro 400 (Bad Request)
    (anonymous) @ VM713:1
    (anonymous) @ xhr-impl.js:87
    Promise.then (async)
    f.Lg @ xhr-impl.js:71
    wg @ xhr-impl.js:106
    f.fetch @ xhr-impl.js:182
    push.f.k.ba @ amp-form.js:967
    Lc @ amp-form.js:942
    (anonymous) @ amp-form.js:730
    Promise.then (async)
    qc @ amp-form.js:729
    (anonymous) @ amp-form.js:223
    push.f.rb.Aa @ form-verifiers.js:173
    push.f.L.onCommit @ form-verifiers.js:83
    (anonymous) @ amp-form.js:445
    log.js:258 [amp-form] Failed to parse response JSON: SyntaxError: Unexpected token < in JSON at position 0

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @arafail,

    Thanks for contacting us!

    It looks like there might be a conflict between the forms and the site theme or another plugin. To troubleshoot this, please try the steps described in our detailed guide on how to test for plugin/theme conflicts.

    Hope this helps!

    Thread Starter arafail

    (@arafail)

    Thank for your answer.
    I have indeed tracked the problem down to a compatibility issue with the “amp for wordpress” plugin. https://amp-wp.org/
    This is a bummer as I cannot disable that one …
    How do you suggest I proceed?
    Thanks!

    Hello @arafail,

    I apologize for the trouble!

    I installed the plugin on my local dev setup and ran through the AMP configuration wizard. However, when I tried to load the forms page, unfortunately, I’, unable to replicate the issue on my end and I don’t see the error message in the browser console.

    When you have sometime, can you please try deactivating the rest of the plugins other than WPForms Lite and the AMP plugin and see how it goes?

    Thanks!

    Thread Starter arafail

    (@arafail)

    Hello!
    Yes, indeed I have and the result was the same.
    I will also try with another theme and I will let you know.
    Thanks in advance.

    Hello @arafail,

    Sure! Please let me know how it goes. Further, feel free to reach out in case you have more questions about WPForms.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘AMP Issue’ is closed to new replies.