Fix this problem

Fatal error: Uncaught SoapFault exception: [soapenv:Client] '' is not valid for the type xsd:double in
/home/quickstart/websites/branch.dev/sites/all/libraries/salesforce/soapclient/SforceBaseClient.php:513
Stack trace: #0 /home/quickstart/websites/branch.dev/sites/all/libraries/salesforce/soapclient/SforceBaseClient.php(513):
SoapClient->__call('upsert', Array) #1
/home/quickstart/websites/branch.dev/sites/all/libraries/salesforce/soapclient/SforceBaseClient.php(513):
SoapClient->upsert(Object(stdClass)) #2
/home/quickstart/websites/branch.dev/sites/all/libraries/salesforce/soapclient/SforceEnterpriseClient.php(126):
SforceBaseClient->_upsert(Object(stdClass)) #3
/home/quickstart/websites/branch.dev/sites/all/modules/salesforcewebform/salesforcewebform.module(388):
SforceEnterpriseClient->upsert('WebformSID__c', Array, 'Lead') #4
/home/quickstart/websites/branch.dev/sites/all/modules/salesforcewebform/salesforcewebform.module(340):
_submit_to_salesforce(Array, 'Lead') #5 /home/quickstart/websites/branch.dev/sites/all/mod in
/home/quickstart/websites/branch.dev/sites/all/libraries/salesforce/soapclient/SforceBaseClient.php on line 513

Comments

chriscalip’s picture

-- currently debugging and trying to fix.

chriscalip’s picture

Fatal error: Uncaught SoapFault exception: [soapenv:Client] '' is not valid for the type xsd:double in /home/quickstart/websites/branch.dev/sites/all/modules/salesforce/salesforce_api/toolkit/soapclient/SforceBaseClient.php:513 Stack trace: #0 /home/quickstart/websites/branch.dev/sites/all/modules/salesforce/salesforce_api/toolkit/soapclient/SforceBaseClient.php(513): SoapClient->__call('upsert', Array) #1 /home/quickstart/websites/branch.dev/sites/all/modules/salesforce/salesforce_api/toolkit/soapclient/SforceBaseClient.php(513): SoapClient->upsert(Object(stdClass)) #2 /home/quickstart/websites/branch.dev/sites/all/modules/salesforce/salesforce_api/toolkit/soapclient/SforceEnterpriseClient.php(126): SforceBaseClient->_upsert(Object(stdClass)) #3 /home/quickstart/websites/branch.dev/sites/all/modules/salesforcewebform/salesforcewebform.module(388): SforceEnterpriseClient->upsert('WebformSID__c', Array, 'Lead') #4 /home/quickstart/websites/branch.dev/sites/all/modules/salesforcewebform/salesforcewebform.module(340): _submi in /home/quickstart/websites/branch.dev/sites/all/modules/salesforce/salesforce_api/toolkit/soapclient/SforceBaseClient.php on line 513

Error Does not seem to be dependent where the toolkit is coming from wheter its on sites/all/libraries/salesforce OR sites/all/modules/salesforce/salesforce_api/toolkit

chriscalip’s picture

using quickstart development enviroment.. php 5.3.3

chriscalip’s picture

Hey guys... I managed to bring this along to a point. But I keep on stumbling upon a road block.. this is using the latest version of the module with the 3.x webform compliance commit.

Fatal error: Uncaught SoapFault exception: [soapenv:Client] '' is not valid for the type xsd:double in /home/quickstart/websites/webform.dev/sites/all/modules/salesforce/salesforce_api/toolkit/soapclient/SforceBaseClient.php:513 Stack trace: #0 /home/quickstart/websites/webform.dev/sites/all/modules/salesforce/salesforce_api/toolkit/soapclient/SforceBaseClient.php(513): SoapClient->__call('upsert', Array) #1 /home/quickstart/websites/webform.dev/sites/all/modules/salesforce/salesforce_api/toolkit/soapclient/SforceBaseClient.php(513): SoapClient->upsert(Object(stdClass)) #2 /home/quickstart/websites/webform.dev/sites/all/modules/salesforce/salesforce_api/toolkit/soapclient/SforceEnterpriseClient.php(126): SforceBaseClient->_upsert(Object(stdClass)) #3 /home/quickstart/websites/webform.dev/sites/all/modules/salesforcewebform/salesforcewebform.module(392): SforceEnterpriseClient->upsert('WebformSID__c', Array, 'Lead') #4 /home/quickstart/websites/webform.dev/sites/all/modules/salesforcewebform/salesforcewebform.module(344): in /home/quickstart/websites/webform.dev/sites/all/modules/salesforce/salesforce_api/toolkit/soapclient/SforceBaseClient.php on line 513

Every time I do a webform submit.. I know through the debugger that the variables are being set.. right now.. im having a hard time what is wrong with the structure. Help