Title: Error when submitting a form
Last modified: November 21, 2022

---

# Error when submitting a form

 *  Resolved [ctdev2023](https://wordpress.org/support/users/ctdev2023/)
 * (@ctdev2023)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-submitting-a-form-2/)
 * Hi
    I get the following error when submitting a form:
 * Uncaught Error: Object of class WP_Error could not be converted to string in /
   wp-content/plugins/everest-forms/includes/class-evf-emails.php:335 Stack trace:
 * #0 /wp-content/plugins/everest-forms/includes/class-evf-emails.php(335): str_replace(‘{
   entry_id}’, Object(WP_Error), ‘{all_fields}’)
 * #1 /wp-content/plugins/everest-forms/includes/class-evf-form-task.php(896): EVF_Emails-
   >send(’email@domain….’, ‘New Form Entry’, ‘{all_fields}’, ”, ‘connection_1’)
 * #2 /wp-content/plugins/everest-forms/includes/class-evf-form-task.php(468): EVF_Form_Task-
   >entry_email(Array, Array, Array, Object(WP_Error), ‘entry’)
 * #3 /wp-content/plugins/everest-forms/includes/class-evf-form-task.php(83): EVF_Form_Task-
   >do_task(Array)
 * #4 /wp-includes/class-wp-hook.php(308): EVF_Form_Task->listen_task(Object(WP))#
   5 /wp-includes/class-wp-hook.php(332): WP_Hook in /wp-content/plugins/everest-
   forms/includes/class-evf-emails.php on line 335
 * If you can help please
 * Thanks
    Clive
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-submitting-a-form-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Amrit Kumar Shrestha](https://wordpress.org/support/users/shresthauzwal/)
 * (@shresthauzwal)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-submitting-a-form-2/#post-16222243)
 * Hi [@ctdev2023](https://wordpress.org/support/users/ctdev2023/),
 * We have tried replicating the issue on our site, but we cannot do so. Please 
   go to your Dashboard > Tools > Site Health > then click on info, and you will
   get your site’s details. Now copy the WordPress and Server tab details and provide
   all the details here. We will look into it and get back to you accordingly.
 * Regards!
 *  Thread Starter [ctdev2023](https://wordpress.org/support/users/ctdev2023/)
 * (@ctdev2023)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-submitting-a-form-2/#post-16225104)
 * Hi Amrit
 * Thanks for your help 🙂
 * Please find the WordPress and Server details below:
 * **WordPress**
 *     ```
       Version	6.1.1
       Site Language	en_US
       User Language	en_US
       Timezone	Europe/London
       Home URL	https://saif.org.uk
       Site URL	https://saif.org.uk
       Permalink structure	/%year%/%monthnum%/%postname%/
       Is this site using HTTPS?	Yes
       Is this a multisite?	No
       Can anyone register on this site?	No
       Is this site discouraging search engines?	No
       Default comment status	Open
       Environment type	production
       User count	2
       Communication with WordPress.org	WordPress.org is reachable
       ```
   
 * **SERVER**
 *     ```
       Server architecture	Linux 3.10.0-962.3.2.lve1.5.70.el7.x86_64 x86_64
       Web server	Apache
       PHP version	7.4.33 (Supports 64bit values)
       PHP SAPI	fpm-fcgi
       PHP max input variables	1000
       PHP time limit	300
       PHP memory limit	950M
       Max input time	300
       Upload max filesize	50M
       PHP post max size	50M
       cURL version	7.86.0 OpenSSL/1.1.1s
       Is SUHOSIN installed?	No
       Is the Imagick library available?	Yes
       Are pretty permalinks supported?	Yes
       .htaccess rules	Custom rules have been added to your .htaccess file.
       ```
   
 *  Plugin Support [Amrit Kumar Shrestha](https://wordpress.org/support/users/shresthauzwal/)
 * (@shresthauzwal)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-submitting-a-form-2/#post-16230417)
 * Hi [@ctdev2023](https://wordpress.org/support/users/ctdev2023/),
 * Could you please delete the Everest Forms plugin from your site and install the
   plugin from the link below?
 * Plugin Download link: [https://drive.google.com/file/d/1kX9MDtygqWT6iIPVEkYBk0jFMg0Vz8wp/view?usp=sharing](https://drive.google.com/file/d/1kX9MDtygqWT6iIPVEkYBk0jFMg0Vz8wp/view?usp=sharing)
 * Let me know whether the provided plugin file resolved your issue or not.
 * Regards!
 *  Plugin Support [Amrit Kumar Shrestha](https://wordpress.org/support/users/shresthauzwal/)
 * (@shresthauzwal)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-submitting-a-form-2/#post-16239668)
 * Hi [@ctdev2023](https://wordpress.org/support/users/ctdev2023/),
 * Since we did not get a response from your end, we are marking this thread as 
   resolved, as we believe the things mentioned here are now resolved. Please create
   a new support thread if needed.
 * Thanks!

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

The topic ‘Error when submitting a form’ is closed to new replies.

 * ![](https://ps.w.org/everest-forms/assets/icon.svg?rev=2778675)
 * [Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder](https://wordpress.org/plugins/everest-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/everest-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/everest-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/everest-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/everest-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/everest-forms/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Amrit Kumar Shrestha](https://wordpress.org/support/users/shresthauzwal/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-submitting-a-form-2/#post-16239668)
 * Status: resolved