{"action":"created","issue":{"url":"https://api.github.com/repos/developerforce/Force.com-Toolkit-for-PHP/issues/50","repository_url":"https://api.github.com/repos/developerforce/Force.com-Toolkit-for-PHP","labels_url":"https://api.github.com/repos/developerforce/Force.com-Toolkit-for-PHP/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/developerforce/Force.com-Toolkit-for-PHP/issues/50/comments","events_url":"https://api.github.com/repos/developerforce/Force.com-Toolkit-for-PHP/issues/50/events","html_url":"https://github.com/developerforce/Force.com-Toolkit-for-PHP/issues/50","id":131733820,"number":50,"title":"Query : Throw Exception SoapFault Object ( [message:protected] => Element {}item invalid at this location ","user":{"login":"rakesh-mistry","id":2592077,"avatar_url":"https://avatars.githubusercontent.com/u/2592077?v=3","gravatar_id":"","url":"https://api.github.com/users/rakesh-mistry","html_url":"https://github.com/rakesh-mistry","followers_url":"https://api.github.com/users/rakesh-mistry/followers","following_url":"https://api.github.com/users/rakesh-mistry/following{/other_user}","gists_url":"https://api.github.com/users/rakesh-mistry/gists{/gist_id}","starred_url":"https://api.github.com/users/rakesh-mistry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakesh-mistry/subscriptions","organizations_url":"https://api.github.com/users/rakesh-mistry/orgs","repos_url":"https://api.github.com/users/rakesh-mistry/repos","events_url":"https://api.github.com/users/rakesh-mistry/events{/privacy}","received_events_url":"https://api.github.com/users/rakesh-mistry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-05T19:34:28Z","updated_at":"2016-02-05T20:21:30Z","closed_at":null,"body":"I am using enterprise and able to login using mySforceConnection->login method. But when try to execute query using query mySforceConnection->query i got below exception. \r\n\r\nSoapFault Object ( [message:protected] => Element {}item invalid at this location [string:Exception:private] => [code:protected] => 0 [file:protected] => /payment/soapclient/SforceBaseClient.php [line:protected] => 808 [trace:Exception:private] => Array ( [0] => Array ( [file] => /payment/soapclient/SforceBaseClient.php [line] => 808 [function] => __call [class] => SoapClient [type] => -> [args] => Array ( [0] => query [1] => Array ( [0] => Array ( [queryString] => Select Name, zqu__BillToContact__c, zqu__BillToContact__r.Email, Contact_Email__c From zqu__Quote__c ) ) ) ) [1] => Array ( [file] => /payment/soapclient/SforceBaseClient.php [line] => 808 [function] => query [class] => SforceSoapClient [type] => -> [args] => Array ( [0] => Array ( [queryString] => Select Name, zqu__BillToContact__c, zqu__BillToContact__r.Email, Contact_Email__c From zqu__Quote__c ) ) ) [2] => Array ( [file] => /payment/enterprise.php [line] => 24 [function] => query [class] => SforceBaseClient [type] => -> [args] => Array ( [0] => Select Name, zqu__BillToContact__c, zqu__BillToContact__r.Email, Contact_Email__c From zqu__Quote__c ) ) ) [previous:Exception:private] => [faultstring] => Element {}item invalid at this location [faultcode] => soapenv:Client )"},"comment":{"url":"https://api.github.com/repos/developerforce/Force.com-Toolkit-for-PHP/issues/comments/180541423","html_url":"https://github.com/developerforce/Force.com-Toolkit-for-PHP/issues/50#issuecomment-180541423","issue_url":"https://api.github.com/repos/developerforce/Force.com-Toolkit-for-PHP/issues/50","id":180541423,"user":{"login":"metadaddy-sfdc","id":723517,"avatar_url":"https://avatars.githubusercontent.com/u/723517?v=3","gravatar_id":"","url":"https://api.github.com/users/metadaddy-sfdc","html_url":"https://github.com/metadaddy-sfdc","followers_url":"https://api.github.com/users/metadaddy-sfdc/followers","following_url":"https://api.github.com/users/metadaddy-sfdc/following{/other_user}","gists_url":"https://api.github.com/users/metadaddy-sfdc/gists{/gist_id}","starred_url":"https://api.github.com/users/metadaddy-sfdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metadaddy-sfdc/subscriptions","organizations_url":"https://api.github.com/users/metadaddy-sfdc/orgs","repos_url":"https://api.github.com/users/metadaddy-sfdc/repos","events_url":"https://api.github.com/users/metadaddy-sfdc/events{/privacy}","received_events_url":"https://api.github.com/users/metadaddy-sfdc/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T20:21:30Z","updated_at":"2016-02-05T20:21:30Z","body":"Can you post your code for the login and query?"}}