• Resolved alexwmt

    (@alexwmt)


    Hi!! I am trying to use SiteGround’s CDN, but when I enable it, it breaks Forminator. The form submits and takes payment, but it doesn’t send an email (from the form) nor does it redirect to the redirect URL. It just spins on Processing for a long time, and then it says that it had an error.

    I reached out to SiteGround and they did some trouble shooting. This is what they said:

    I've reviewed the reported issue and I was able to replicate it. A successful order redirects to page https://www.worshipministrytraining.com/trial-confirmed. I looks like with our CDN bypassed or even in Development mode, the orders are successful. But when it's active, the following error is logged:
    
    An error occurred while processing the form. Please try again
    
    I've looked up the error online and I found several threads that might help in resolving the issue:
    
    https://wordpress.org/support/topic/form-error-on-submission-but-still-receiving-email/#post-11287990
    
    https://wordpress.org/support/topic/an-error-occurred-processing-the-form/
    
    In the first thread it seems that the issue is that an admin-ajax.php POST request that fails, and on your site the issue is the same:
    
    POST https://www.worshipministrytraining.com/wp-admin/admin-ajax.php 504
    
    You can follow the suggestion in the forum and adjust the behaviour of the Forminator plugin.
    
    As for the second thread, the issue was caused by a must-use plugin, and I can see your site has one as well: learndash-multisite. I recommend you to review the instructions provided in both threads and to have a professional developer adjust the settings for best results.

    —-

    Can you please help me??? Thank yous o much!

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @alexwmt

    I hope you are doing well today.

    This is a very odd case. From what I see your form does not allow to upload files (like images) and no images are used in the HTML field.

    In my browser, I use the AdBlock add-on and I see a lot of errors related to stripe the browser console.
    If I disable AdBlock I can see still some warnings in the browser console.

    Does on your site exist another plugin that uses your/the same stripe credentials which are set up in your form as well?

    As found by SiteGround team please check does Paweł solution will help:
    https://wordpress.org/support/topic/form-error-on-submission-but-still-receiving-email/#post-11287990

    Kind Regards,
    Kris

    Thread Starter alexwmt

    (@alexwmt)

    Thanks for the reply. I can’t use the page reload method. It’s disabled and says:

    “Note that you can only use the Ajax submission method while using the Stripe field in your form. The Ajax method will hide your form after the successful submission and only your inline success message will be shown. The form will be available again when the page is reloaded.”

    Any other ideas? I will check what else has stripe enabled. The truth is, the payment works just fine (it goes through)… it’s just that it doesn’t trigger the email and it doesn’t trigger the page redirect.

    Any help??

    Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hi @alexwmt

    Can you check two more things as well, please?

    1. On form’s “behavior” settings page make sure that the “Prevent page caching on form pages” option is enabled, then check if that changes anything

    2. On the same page but earlier on, in the “After submission” setings – is redirect the only behavior defined or there’s more (e.g. there’s also “inline message”)? If there is more:

    – do they have conditions set? if not, make sure to set conditions so in any case only a single behavior would be used
    – if they do have conditions set – as above, make sure that conditions don’t “overlap” at any case.

    Kind regards,
    Adam

    Thread Starter alexwmt

    (@alexwmt)

    Hi! Regarding #2, no there’s nothing else for after submission behavior.

    For #1 it’s on my home page, so I can’t turn off caching because page will load too slow.

    But I just turned ON load with AJAX, and will try it with the CDN to see if that helps it.

    Do you have any thoughts about that setting? (Load with Ajax)

    Thread Starter alexwmt

    (@alexwmt)

    Looks like Loading the form with AJAX fixed the issue. I will monitor it closely and report back if it breaks again. THANK YOU.

    Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @alexwmt,

    We are happy to hear that the issue has been resolved and marking this thread as resolved for now. Please update us if the issue persists.

    Kind regards,
    Zafer

    Thread Starter alexwmt

    (@alexwmt)

    Actually, I tested again, and it is broken. @wpmudevsupport15 Can you please help me figure out why the CDN is breaking Forminator?

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @alexwmt,

    Sorry to hear about the issue noticed. At the moment, it seems like the form is submitting fine and getting redirected. Seems like the CDN is disabled.

    Possible to share the form export so that we could check if it’s something that could be replicated on our side too?

    Please check the following doc on how to export a form:
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    If you are concerned about any sensitive information in the form, then you can duplicate your form, remove any sensitive information, and then export it.

    You can share the export file via Google Drive, Dropbox or any cloud services in the next reply.

    Looking forward to your response.

    Kind Regards,
    Nithin

    Thread Starter alexwmt

    (@alexwmt)

    Thank you for testing. I will monitor it for a few days. If it starts “hanging” again, I will export the form and send it to you guys. Thank you!

    Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @alexwmt,

    Please feel free to get back to us, we are happy to help.

    Kind Regards,
    Nebu John

    Thread Starter alexwmt

    (@alexwmt)

    Ok, it’s happening again. Only when the CDN is on. Maybe I can put the form on a hidden page and give you guys login access and you can test what’s going on?

    Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @alexwmt,

    I hope you are doing well today!

    Please share an export of the form with us, so that we can check further.

    You can find more info on how to export the form here : https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    After exporting, please share the code using a service such as https://pastebin.com which is free to use.

    Please always make sure to use such service to share the code and don’t post the code here directly as it will most likely be unusable.

    Kind regards,
    Zafer

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Siteground CDN breaks forminator’ is closed to new replies.