Title: Error while submitting form
Last modified: July 16, 2022

---

# Error while submitting form

 *  Resolved [Prashant](https://wordpress.org/support/users/prash18/)
 * (@prash18)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-while-submitting-form-5/)
 * Hi,
 * I haven’t received the solution on my previous query :
    [https://wordpress.org/support/topic/error-while-submitting-the-form-3/](https://wordpress.org/support/topic/error-while-submitting-the-form-3/)
 * I have now created a new form from scratch but still I am getting few errors 
   like ‘Something Went Wrong’ or ‘Invalid Form’.
 * Is it because the file I am uploading is around 33 mb. I have kept the limit 
   for file upload as 200mb but still?
 * Please, check and submit the form (fill up all the points, click on all the available
   options to see more hidden points to be filled).
 * as you mentioned I have also made the changes in LS Cache plugin, plz check if
   thats fine.
 * Resources : [https://drive.google.com/drive/folders/1KXp4_nCav8kTSg_sbc1D0jz1Sa8Vvyw0?usp=sharing](https://drive.google.com/drive/folders/1KXp4_nCav8kTSg_sbc1D0jz1Sa8Vvyw0?usp=sharing)
 * Thanks!
 * Prash…
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-while-submitting-form-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Kris – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport13/)
 * (@wpmudevsupport13)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-while-submitting-form-5/#post-15833826)
 * Hi [@prash18](https://wordpress.org/support/users/prash18/)
 * I hope you are doing good today.
 * I imported your form into my lab site and I tested it with a sample video (46MB)
   and the form works fine.
    My server settings: max_execution_time 300 memory_limit
   256M upload_max_filesize 128M post_max_size 128M
 * Could you double-check those values on your side, especially upload_max_filesize,
   increase if necessary and see if this help?
 * Kind Regards,
    Kris
 *  Thread Starter [Prashant](https://wordpress.org/support/users/prash18/)
 * (@prash18)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-while-submitting-form-5/#post-15835683)
 * Hi Kris,
    my host provided me this info : PHP execution time (s) 240 PHP memory
   limit (MB) 512 PHP upload filesize (MB) 512 The values regarding max_execution_time
   and post_max_size can be changed via htaccess.
 * I hope this is good. Still I am getting the error.
 * Regards!
    Prashant
 *  Plugin Support [Jair – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport15/)
 * (@wpmudevsupport15)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-while-submitting-form-5/#post-15839612)
 * Hi [@prash18](https://wordpress.org/support/users/prash18/),
 * Please add the following lines into your .htaccess file
 *     ```
       php_value upload_max_filesize 256M
       php_value post_max_size 256M
       php_value memory_limit 512M
       php_value max_execution_time 1000
       php_value max_input_time 1000
       ```
   
 * Please add the following lines into your php.ini file
 *     ```
       upload_max_filesize=256M
       post_max_size=256M
       memory_limit=1024M
       max_execution_time=1000
       max_input_time=1000
       ```
   
 * Additionally, add those lines into wp-config.php file
    Please make sure to add
   the above code just before the line /* That’s all, stop editing! Happy blogging.*/
 *     ```
       set_time_limit(1000);
       define('WP_MEMORY_LIMIT', '512M');
       define('WP_MAX_MEMORY_LIMIT', '1024M');
       ```
   
 * Then try again and let us know the results.
 * Kind regards,
    Zafer
 *  Thread Starter [Prashant](https://wordpress.org/support/users/prash18/)
 * (@prash18)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-while-submitting-form-5/#post-15839772)
 * Thanks Zafer,
    But ur message is confusing.
 * I got your point regarding .htaccess and php.ini
 * Then you wrote :
    Additionally, add those lines into wp-config.php file Please
   make sure to add the above code just before the line WHICH ABOVE CODE? DO YOU
   MEAN THE CODE MENTIONED IN PHP.INI? OR THE CODE MENTIONED BELOW?
 * /* That’s all, stop editing! Happy blogging. */
 * set_time_limit(1000);
    define(‘WP_MEMORY_LIMIT’, ‘512M’); define(‘WP_MAX_MEMORY_LIMIT’,‘
   1024M’);
    -  This reply was modified 3 years, 10 months ago by [Prashant](https://wordpress.org/support/users/prash18/).
 *  Plugin Support [Jair – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport15/)
 * (@wpmudevsupport15)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-while-submitting-form-5/#post-15839973)
 * Hi again [@prash18](https://wordpress.org/support/users/prash18/),
 * Sorry about the typo, I was referring to “below” code to be inserted into wp-
   config.php instead of “above”.
 * Please make sure to add the those just before the line
    /* That’s all, stop editing!
   Happy blogging. */
 *     ```
       set_time_limit(1000);
       define(‘WP_MEMORY_LIMIT’, ‘512M’);
       define(‘WP_MAX_MEMORY_LIMIT’, ‘1024M’);
       ```
   
 * Kind regards,
    Zafer
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/error-while-submitting-form-5/#post-15925915)
 * Hello [@prash18](https://wordpress.org/support/users/prash18/) ,
 * We haven’t heard from you for several days now, so it looks like you don’t have
   any more questions for us.
 * Feel free to re-open this ticket if needed.
 * Kind regards
    Kasia

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

The topic ‘Error while submitting form’ 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

 * [form submission](https://wordpress.org/support/topic-tag/form-submission/)
 * [something went wrong](https://wordpress.org/support/topic-tag/something-went-wrong/)

 * 6 replies
 * 4 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/error-while-submitting-form-5/#post-15925915)
 * Status: resolved