Title: Form Submission Causes Array Error
Last modified: June 30, 2017

---

# Form Submission Causes Array Error

 *  Resolved [JuJBe03](https://wordpress.org/support/users/jujbe03/)
 * (@jujbe03)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/form-submission-causes-array-error/)
 * I updated WordPress yesterday and double checked that my hosting server is allowing
   TLS 1.2. However, when I activate the critical update in Salesforce and try to
   submit a form I get an array error. I can create a Web-to-Lead HTML form and 
   the data gets submitted fine but I would prefer to use this plugin.
 * The URL of the page is here: [http://www.beck-technology.com/products/demo-request/](http://www.beck-technology.com/products/demo-request/)
 * The part of the array error that I think might be relevant is …
 *     ```
       [response] => Array
               (
                   [code] => 400
                   [message] => Bad Request
               )
   
           [cookies] => Array
               (
                   [0] => WP_Http_Cookie Object
                       (
                           [name] => BrowserId
                           [value] => OazZla0jTcWojXts0gmjDw
                           [expires] => 1504033845
                           [path] => /
                           [domain] => salesforce.com
                       )
   
               )
   
           [filename] => 
           [http_response] => WP_HTTP_Requests_Response Object
               (
                   [response:protected] => Requests_Response Object
                       (
       ```
   

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

 *  Plugin Author [Nick Ciske](https://wordpress.org/support/users/nickciske/)
 * (@nickciske)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/form-submission-causes-array-error/#post-9278751)
 * To v4.8 I’m assuming?
 * “when I activate the critical update in Salesforce”
 * Can you be more specific? Which critical update?
 * I’ll take a look but it’s a holiday weekend so I’m not sure when I’ll be able
   to troubleshoot this.
 *  Thread Starter [JuJBe03](https://wordpress.org/support/users/jujbe03/)
 * (@jujbe03)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/form-submission-causes-array-error/#post-9283889)
 * Yes, updated to 4.8.
 * Critical update = turning on the TLS 1.1 or higher requirement in Salesforce.
   Salesforce gave people the option to turn on the higher security requirement 
   to test out integrations before the requirement becomes permanent.
 *  Plugin Author [Nick Ciske](https://wordpress.org/support/users/nickciske/)
 * (@nickciske)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/form-submission-causes-array-error/#post-9327145)
 * Works fine on my Local dev environment (with that update activated) and several
   shared hosting environments.
 * So it’s most likely your server.
 *  Thread Starter [JuJBe03](https://wordpress.org/support/users/jujbe03/)
 * (@jujbe03)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/form-submission-causes-array-error/#post-9327180)
 * I had to remove the widget from our website. The forms we currently have on our
   site are ones that I created and coded. Our server isn’t the issue.
 * Thanks for looking into it, though.
 *  Plugin Author [Nick Ciske](https://wordpress.org/support/users/nickciske/)
 * (@nickciske)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/form-submission-causes-array-error/#post-9327200)
 * _Our server isn’t the issue._
 * Your current forms post directly to Salesforce so the browser makes the connection,
   not your server.
 * The plugin makes a secure connection _via PHP_ and submits the data directly 
   to Salesforce.
 * Your server is most likely the issue… specifically OpenSSL and/or cURL being 
   out of date.

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

The topic ‘Form Submission Causes Array Error’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Nick Ciske](https://wordpress.org/support/users/nickciske/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/form-submission-causes-array-error/#post-9327200)
 * Status: resolved