• Resolved JuJBe03

    (@jujbe03)


    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/

    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

    (@nickciske)

    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

    (@jujbe03)

    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

    (@nickciske)

    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

    (@jujbe03)

    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

    (@nickciske)

    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.