Title: Forminator, save, preview and submit problems
Last modified: October 22, 2021

---

# Forminator, save, preview and submit problems

 *  Resolved [anyakom66](https://wordpress.org/support/users/anyakom66/)
 * (@anyakom66)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/forminator-save-preview-and-submit-problems/)
 * Hi,
 * I have couple of forms was working perfectly 1 month ago, but no more.
 * 1. I cannot save the form: “Something went wrong while saving your form. Please
   try again.”
 * 2. Preview works with limited number of fields (max 21 or 22). If I have more
   fields, popup preview is empty.
 * 3. I have enabled “Load form using AJAX” and “Prevent page caching on form pages”.
 * 4. The form was already published in our website [https://www.beaconsfieldart.com/event_registration/](https://www.beaconsfieldart.com/event_registration/).
   After submission it displays “error…”, but actually it was submitted.
 * Thank you,
    //Anya

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

 *  Thread Starter [anyakom66](https://wordpress.org/support/users/anyakom66/)
 * (@anyakom66)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/forminator-save-preview-and-submit-problems/#post-14997203)
 * Hi,
 * I need support for this problem. We will have the online exposition and artists
   started to submit the applications.
 * Thank you,
    //Anya
 *  [lrudzinskas](https://wordpress.org/support/users/lrudzinskas/)
 * (@lrudzinskas)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/forminator-save-preview-and-submit-problems/#post-14997922)
 * The same thing is happening to me although mine is a draft. I cannot save the
   draft or publish the draft without getting the error message: “Something went
   wrong while saving your form. Please try again.”
    -  This reply was modified 4 years, 7 months ago by [lrudzinskas](https://wordpress.org/support/users/lrudzinskas/).
 *  Plugin Support [Nebu John – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport14/)
 * (@wpmudevsupport14)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/forminator-save-preview-and-submit-problems/#post-14999202)
 * Hi there,
 * I am sorry to know that you are experiencing this issue.
 * I checked this on a test site but was unable to replicate the issue. Can you 
   please enable the WP Debug log and check if an error is being logged when replicating
   the issue?
 * Please find more about WordPress debugging here: [https://wordpress.org/support/article/debugging-in-wordpress/](https://wordpress.org/support/article/debugging-in-wordpress/)
 * Can you please share the debug.log file if an error is being logged so that we
   can help you further? You can share the file using Google Drive or DropBox.
 * We will be looking forward to hearing back from you.
 * Kind Regards,
    Nebu John
 *  Thread Starter [anyakom66](https://wordpress.org/support/users/anyakom66/)
 * (@anyakom66)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/forminator-save-preview-and-submit-problems/#post-15009278)
 * Hi,
 * 1. Here is from the debug.log when I’m submitting the form:
 * [26-Oct-2021 05:17:42 UTC] PHP Notice: Undefined index: template in W:\Websites\
   artbeaconsfield\wp-content\themes\artbeaconsfield\functions.php on line 584
 * Line 584 in functions.php is corresponding to “if” statement
 *     ```
       function sjc_template($template) {
         global $wp;
         if ($wp->query_vars['template']=='basic') {
       	echo 'Basic template found';
           return dirname( __FILE__ ) . '/page-cleanpage.php';
         }
         else {
           return $template;
         }
       }
       ```
   
 * 2. The following lines in the debug.log are corresponding when I try to update
   or preview the Forminator form:
 * [26-Oct-2021 19:22:52 UTC] PHP Warning: Cannot modify header information – headers
   already sent in W:\Websites\artbeaconsfield\wp-includes\http.php on line 492
   [
   26-Oct-2021 19:22:52 UTC] PHP Warning: Cannot modify header information – headers
   already sent in W:\Websites\artbeaconsfield\wp-includes\http.php on line 493 [
   26-Oct-2021 19:22:52 UTC] PHP Warning: Cannot modify header information – headers
   already sent in W:\Websites\artbeaconsfield\wp-admin\admin-ajax.php on line 27[
   26-Oct-2021 19:22:52 UTC] PHP Warning: Cannot modify header information – headers
   already sent in W:\Websites\artbeaconsfield\wp-admin\admin-ajax.php on line 28
 * Thank you,
    //Anya
    -  This reply was modified 4 years, 7 months ago by [anyakom66](https://wordpress.org/support/users/anyakom66/).
 *  Thread Starter [anyakom66](https://wordpress.org/support/users/anyakom66/)
 * (@anyakom66)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/forminator-save-preview-and-submit-problems/#post-15009756)
 * Hi,
 * Found one more line in the debug.log:
 * [26-Oct-2021 21:38:58 UTC] PHP Deprecated: forminator_custom_form_after_save_entry
   is **deprecated** since version 1.14.12! Use forminator_form_after_save_entry
   instead. in W:\Websites\artbeaconsfield\wp-includes\functions.php on line 5586
 * Thank you,
    //Anya
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/forminator-save-preview-and-submit-problems/#post-15015335)
 * Hi [@anyakom66](https://wordpress.org/support/users/anyakom66/)
 * Thanks for response!
 * The “deprecated” part of the log is irrelevant here as “deprecated” doesn’t mean“
   removed”. This particular message (notice) only means that in future whatever
   code is referring to the “forminator_custom_form_after_save_entry” hook should
   be changed to use “forminator_form_after_save_entry” hook. But it only “warns”
   that the deprecated one will be removed in future. For now, it’s perfectly fine.
 * However, this error suggest that there’s some custom code using this filter which
   suggest there is some custom code “hooking” to Forminator. The earlier errors,
   on the other hand, point to theme functions so I’d suggest this:
 * 1. if there’s any custom code added to site (via MU plugin or via theme functions
   or any other way) that is supposed to work with Forminator, try removing it temporarily
   and see if that changes anything.
 * 2. try switching – just for testing – theme to Twenty Twenty-One to see if theme
   is related.
 * I’m not saying that any of that is a long-term solution but there clearly is 
   some kind of conflict happening so this should help “narrow it down” so we could
   then “dig in” into it to find solution.
 * Could you give it a try and update us here with results, please?
 * Kind regards,
    Adam
 *  Thread Starter [anyakom66](https://wordpress.org/support/users/anyakom66/)
 * (@anyakom66)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/forminator-save-preview-and-submit-problems/#post-15016719)
 * Hi,
 * Thank you for your support.
 * I have the same errors with Twenty Twenty-One theme.
    And I removed Forminator
   mu plugin file: still have the same error.
 * Thank you,
    //Anya
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/forminator-save-preview-and-submit-problems/#post-15019704)
 * Hello [@anyakom66](https://wordpress.org/support/users/anyakom66/) !
 * I hope you’re doing great today!
 * It seems like we’ll need to take a closer look at the form itself in this case.
   Please export it to a file using the option here: [https://imgur.com/a/W5FopIw](https://imgur.com/a/W5FopIw)
 * And please share the file by uploading it on a cloud drive and sharing the download
   link through our secure contact form:
 * [https://wpmudev.com/contact/#i-have-a-different-question](https://wpmudev.com/contact/#i-have-a-different-question)
 * Please use the template below:
 * **Subject: “Attn: Pawel”**
 * Message template:
 *     ```
       – Link to your WordPress site
       – Download link to file on a cloud drive
       – Link back to this thread for reference (ex. https://wordpress.org/support/topic/ticket-title/)
       – Any other relevant URLs/info
       ```
   
 * To ensure we don’t miss this please let us know here once you’ve submitted the
   form.
 * Kind regards,
    Pawel
 *  Thread Starter [anyakom66](https://wordpress.org/support/users/anyakom66/)
 * (@anyakom66)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/forminator-save-preview-and-submit-problems/#post-15019717)
 * Hi,
 * For some reason my last comment was not submitted.
 * The issue is solved now after I fixed the error in functions.php:
 * [26-Oct-2021 05:17:42 UTC] PHP Notice: Undefined index: template in W:\Websites\
   artbeaconsfield\wp-content\themes\artbeaconsfield\functions.php on line 584
 * Thank you for your support,
    //Anya
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/forminator-save-preview-and-submit-problems/#post-15019743)
 * Hello [@anyakom66](https://wordpress.org/support/users/anyakom66/) !
 * Great to hear that!
 * Sometimes the replies get on hold and don’t appear immediately, maybe that’s 
   the case here.
 * Anyway – glad it’s solved now! 🙂
 * Kind regards,
    Pawel

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

The topic ‘Forminator, save, preview and submit problems’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

## Tags

 * [save](https://wordpress.org/support/topic-tag/save/)

 * 10 replies
 * 5 participants
 * Last reply from: [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/forminator-save-preview-and-submit-problems/#post-15019743)
 * Status: resolved