Title: PHP Errors when submitting forms
Last modified: August 21, 2016

---

# PHP Errors when submitting forms

 *  Resolved [Phaibooty](https://wordpress.org/support/users/phaibooty/)
 * (@phaibooty)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/php-errors-when-submitting-forms/)
 * [06-May-2014 07:16:20 UTC] PHP Notice: Undefined index: in /home/phaibooty/public_html/
   leid/wp-content/plugins/salesforce-wordpress-to-lead/salesforce.php on line 727
   [
   06-May-2014 07:16:20 UTC] PHP Notice: Undefined index: in /home/phaibooty/public_html/
   leid/wp-content/plugins/salesforce-wordpress-to-lead/salesforce.php on line 728[
   06-May-2014 07:16:20 UTC] PHP Notice: Undefined index: captcha in /home/phaibooty/
   public_html/leid/wp-content/plugins/salesforce-wordpress-to-lead/salesforce.php
   on line 360 [06-May-2014 07:16:20 UTC] PHP Notice: Undefined index: captcha in/
   home/phaibooty/public_html/leid/wp-content/plugins/salesforce-wordpress-to-lead/
   salesforce.php on line 361
 * thats what I get when I submit forms.
    Organization id iscorrect.. i dont get
   it. Help would be greatly appreciated.
 * [https://wordpress.org/plugins/salesforce-wordpress-to-lead/](https://wordpress.org/plugins/salesforce-wordpress-to-lead/)

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

 *  Plugin Author [Nick Ciske](https://wordpress.org/support/users/nickciske/)
 * (@nickciske)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/php-errors-when-submitting-forms/#post-4884523)
 * These are _notices_, not _errors_. Nothing is broken, these are just “You forgot
   to initialize this variable before you used it…” messages.
 * Turn off WP_DEBUG (or turn off the display feature) to hide them.
 * [https://codex.wordpress.org/WP_DEBUG](https://codex.wordpress.org/WP_DEBUG)
 * I’ll get these cleaned up in the next release.
 *  [traderhotel](https://wordpress.org/support/users/traderhotel/)
 * (@traderhotel)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-errors-when-submitting-forms/#post-4884798)
 * Hello,
    still getting this notice, but this time about the “Opts in”:
 * Notice: Undefined index: opts in /var/www/clients/client562/web1452/web/wp-content/
   plugins/salesforce-wordpress-to-lead/salesforce.php on line
 * Why does this happen? And is turning off the debug mode the only way?
 * *** looking for a way to create new leads/contacts from registered wordpress 
   users to salesforce. any idea? ***
 * thanks!
 *  Plugin Author [Nick Ciske](https://wordpress.org/support/users/nickciske/)
 * (@nickciske)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-errors-when-submitting-forms/#post-4884799)
 * You should not have WP_DEBUG_ DISPLAY set to true unless you want to see errors.
 * That’s what WP_DEBUG_LOG is for (logging errors but not displaying them).
 * As for your question, please make a new thread. Thanks.

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

The topic ‘PHP Errors when submitting forms’ is closed to new replies.

 * ![](https://ps.w.org/salesforce-wordpress-to-lead/assets/icon-256x256.png?rev
   =2316786)
 * [Brilliant Web-to-Lead for Salesforce](https://wordpress.org/plugins/salesforce-wordpress-to-lead/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/salesforce-wordpress-to-lead/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/)
 * [Active Topics](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Nick Ciske](https://wordpress.org/support/users/nickciske/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/php-errors-when-submitting-forms/#post-4884799)
 * Status: resolved