• Resolved whyiotta

    (@whyiotta)


    Hello!

    I am using a simple contact form on my website and on a daily basis it stops working and gives “There was an error….please try again later”.

    If I delete the short code and then paste it back in, everything works great until the next morning when I get the error again. It generally works fine until the following morning.

    I am using Forminator version 1.15.12 with the Astra theme. I have tried deleting and reinstalling Frominator with no success. Any help would be greatly appreciated!

    I exported the contact form file:

    {"type":"form","data":{"fields":[{"id":"name-1","element_id":"name-1","form_id":"wrapper-1511347711918-1669","type":"name","cols":"12","required":"true","field_label":"First Name","placeholder":"E.g. John","prefix_label":"Prefix","fname_label":"First Name","fname_placeholder":"E.g. John","mname_label":"Middle Name","mname_placeholder":"E.g. Smith","lname_label":"Last Name","lname_placeholder":"E.g. Doe","wrapper_id":"wrapper-1511347711918-1669","conditions":[]},{"id":"email-1","element_id":"email-1","form_id":"wrapper-1511347712118-1739","type":"email","cols":"12","required":"true","field_label":"Email Address","placeholder":"E.g. [email protected]","validation":"1","validation_text":"","wrapper_id":"wrapper-1511347712118-1739","conditions":[]},{"id":"textarea-1","element_id":"textarea-1","form_id":"wrapper-1988247712118-9871","type":"textarea","cols":"12","required":"","field_label":"Message","placeholder":"Enter your message...","input_type":"paragraph","limit":"180","limit_type":"characters","wrapper_id":"wrapper-1988247712118-9871","conditions":[]}],"settings":{"pagination-header":"nav","paginationData":{"pagination-header-design":"show","pagination-header":"nav"},"formName":"Drumroll Contact","version":"1.15.12","form-border-style":"none","form-padding":"","form-border":"","fields-style":"open","validation":"on_submit","akismet-protection":"0","form-style":"default","enable-ajax":"true","autoclose":"true","submission-indicator":"show","indicator-label":"Submitting...","form-type":"default","submission-behaviour":"behaviour-thankyou","thankyou-message":"Thank you for contacting us, we will be in touch shortly.","submitData":{"custom-submit-text":"Send Message","custom-invalid-form-message":"Error: Your form is not valid, please fix the errors!"},"validation-inline":"1","form-expire":"no_expire","form-padding-top":"0","form-padding-right":"0","form-padding-bottom":"0","form-padding-left":"0","form-border-width":"0","form-border-radius":"0","cform-label-font-family":"Roboto","cform-label-custom-family":"","cform-label-font-size":"12","cform-label-font-weight":"bold","cform-title-font-family":"Roboto","cform-title-custom-family":"","cform-title-font-size":"45","cform-title-font-weight":"normal","cform-title-text-align":"left","cform-subtitle-font-family":"Roboto","cform-subtitle-custom-font":"","cform-subtitle-font-size":"18","cform-subtitle-font-weight":"normal","cform-subtitle-text-align":"left","cform-input-font-family":"Roboto","cform-input-custom-font":"","cform-input-font-size":"16","cform-input-font-weight":"normal","cform-radio-font-family":"Roboto","cform-radio-custom-font":"","cform-radio-font-size":"14","cform-radio-font-weight":"normal","cform-select-font-family":"Roboto","cform-select-custom-family":"","cform-select-font-size":"16","cform-select-font-weight":"normal","cform-multiselect-font-family":"Roboto","cform-multiselect-custom-font":"","cform-multiselect-font-size":"16","cform-multiselect-font-weight":"normal","cform-dropdown-font-family":"Roboto","cform-dropdown-custom-font":"","cform-dropdown-font-size":"16","cform-dropdown-font-weight":"normal","cform-calendar-font-family":"Roboto","cform-calendar-custom-font":"","cform-calendar-font-size":"13","cform-calendar-font-weight":"normal","cform-button-font-family":"Roboto","cform-button-custom-font":"","cform-button-font-size":"14","cform-button-font-weight":"500","cform-timeline-font-family":"Roboto","cform-timeline-custom-font":"","cform-timeline-font-size":"12","cform-timeline-font-weight":"normal","cform-pagination-font-family":"","cform-pagination-custom-font":"","cform-pagination-font-size":"16","cform-pagination-font-weight":"normal","payment_require_ssl":"","submission-file":"delete","store_submissions":"1","form_name":"drumroll-contact","form_status":"publish","honeypot":"1","use_ajax_load":"1","use_donotcachepage":""},"client_id":null,"integration_conditions":[],"behaviors":[{"slug":"behavior-1234-4567","label":"","autoclose-time":"5","autoclose":"true","newtab":"sametab","thankyou-message":"<p>Thank you for contacting John, he will be in touch shortly.<\/p>","email-thankyou-message":"","manual-thankyou-message":"","submission-behaviour":"behaviour-thankyou","redirect-url":""}],"notifications":[{"slug":"notification-1234-4567","label":"Admin Email","email-recipients":"default","recipients":"[email protected]","email-subject":"New Form Entry #{submission_id} for {form_name}","email-editor":"You have a new website form submission: <br \/> {all_fields} <br \/>---<br \/> This message was sent from {site_url}.","email-attachment":"true","conditions":[]}]},"status":"publish","version":"1.15.12"}

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @whyiotta

    Can you add this code to your wp-config.php file:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);

    also delete (if exist)
    define('WP_DEBUG', false);

    The line should be placed above the “/* That’s all, stop editing! Happy blogging. */”

    This will generate in the /wp-content/ folder a debug.log file. Thanks to this file we will understand what is causing the error.
    Next time you will see an error in that form, let us know here, and review your debug.log looking for dates when the form did not work and does any error about Forminator exists there.

    Kind Regards,
    Kris

    Thread Starter whyiotta

    (@whyiotta)

    Thanks for your reply Kris,

    I’ve taken the steps you recommended.

    I also deactivated WP Optimize and so far the problem seems to have resolved, I think it may have been the culprit.

    Cheers,
    John

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

The topic ‘Persistant error with Forminator simple contact form’ is closed to new replies.