• Resolved aaronengel

    (@aaronengel)


    I am using a simple WPForms lite form that works great and sends an email when not run in AMP mode. When using AMP, the submit button turns to “sending…” for a split second and then goes back to saying submit. There are no errors shown on the page and the email never sends. I am using WP Mail SMTP for email, and no failures show up in the log.

    I do not have a page to link to, because I disabled WP Forms Lite in AMP because a broken form that is confusing as to whether it is working could cost me business.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support Kenneth Macharia

    (@kmacharia)

    Hey @aaronengel

    Thanks for reaching out and sorry for the trouble.

    Would it be possible to create a temporary no-index test page that we can use to test and investigate this problem on your site/staging site?

    Thanks!

    Thread Starter aaronengel

    (@aaronengel)

    You can use https://cardinalpointcounseling.com/amp-test

    I enabled WPFORMS in AMP to make this work, which means I had to take my form off of my real contact page temporarily. Long story short, please troubleshoot quickly so I can get my site back where it needs to be. Hopefully, soon I’ll have a staging site so I can make these changes without disruption.

    Plugin Support Kenneth Macharia

    (@kmacharia)

    Hi @aaronengel

    I’m sorry for the delay. It looks like you’ve already pulled this page down which is understandable. Would it be possible to create a staging site where we can troubleshoot this issue without affecting the production site?

    There are several plugins on the plugins repo that you can use to quickly clone your site to a subdomain for testing.

    Thanks, and please let me know!

    Thread Starter aaronengel

    (@aaronengel)

    I just checked, and https://cardinalpointcounseling.com/amp-test is still up and accessible.

    Plugin Support Kenneth Macharia

    (@kmacharia)

    Hey @aaronengel

    I apologize but I cannot access it from my end. Here is a screenshot.

    Thanks!

    Thread Starter aaronengel

    (@aaronengel)

    Oops, it wasn’t published, which explains why I could see it but you couldn’t. It’s published now.

    Thread Starter aaronengel

    (@aaronengel)

    I did also create a staging site with the contact page at https://cardinalpointcounseling.com/cardinal-staging/?page_id=24. It appears this link only works if logged in. I am not sure if this is by design? If not logged in, the site redirects to production. I have read articles on this behavior and adjusted permalink settings, but the behavior remains.

    The temporary production page still works however.

    Thread Starter aaronengel

    (@aaronengel)

    Hi,

    I haven’t heard from you in almost 5 days. Please respond, as my site is in a suboptimal state while waiting.

    Thanks

    Plugin Support Kenneth Macharia

    (@kmacharia)

    Hi @aaronengel

    Apologies for the delay.

    It appears that your staging page link is currently password protected. This may be by design since most staging URLs are not available to the public but you can change this by following these steps.

    The first link is unfortunately still not accessible from my end. Would you mind testing it from an incognito window on your browser?

    Thanks, and please let me know!

    Thread Starter aaronengel

    (@aaronengel)

    Hi,

    I tested the other page from an incognito window on my computer and phone, and it works without issue (at least the page comes up and the problem can be reproduced).

    The step linked above only works with the pro version, which I do not have.

    Thread Starter aaronengel

    (@aaronengel)

    I could create a staging account for you, but don’t really want to post the credentials in a public forum (even for staging).

    Plugin Support Kenneth Macharia

    (@kmacharia)

    Hey @aaronengel

    I was able to get your form to work on my end and it appears that it is reporting the following error:

    log.js:232 [amp-form] Form submission failed: Error: HTTP error 406​​​

    This error suggests that you might need to reach out to your host so that they can help to whitelist the amp_source_origin request. It looks like your server has a Mod_secirity rule that is blocking it.

    I hope this helps!

    Thread Starter aaronengel

    (@aaronengel)

    Thanks. I did that, and it is now fixed.

    Plugin Support Kenneth Macharia

    (@kmacharia)

    Hi @aaronengel

    I’m glad to hear that!

    Have a good one. 🙂

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Cannot send email using AMP’ is closed to new replies.