{"action":"created","issue":{"url":"https://api.github.com/repos/jamesiarmes/php-ews/issues/324","repository_url":"https://api.github.com/repos/jamesiarmes/php-ews","labels_url":"https://api.github.com/repos/jamesiarmes/php-ews/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/jamesiarmes/php-ews/issues/324/comments","events_url":"https://api.github.com/repos/jamesiarmes/php-ews/issues/324/events","html_url":"https://github.com/jamesiarmes/php-ews/issues/324","id":146627149,"number":324,"title":"Creating default object from empty value (Updating Contact)","user":{"login":"baaskoen","id":10828997,"avatar_url":"https://avatars.githubusercontent.com/u/10828997?v=3","gravatar_id":"","url":"https://api.github.com/users/baaskoen","html_url":"https://github.com/baaskoen","followers_url":"https://api.github.com/users/baaskoen/followers","following_url":"https://api.github.com/users/baaskoen/following{/other_user}","gists_url":"https://api.github.com/users/baaskoen/gists{/gist_id}","starred_url":"https://api.github.com/users/baaskoen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baaskoen/subscriptions","organizations_url":"https://api.github.com/users/baaskoen/orgs","repos_url":"https://api.github.com/users/baaskoen/repos","events_url":"https://api.github.com/users/baaskoen/events{/privacy}","received_events_url":"https://api.github.com/users/baaskoen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-04-07T13:34:44Z","updated_at":"2016-04-18T07:32:28Z","closed_at":null,"body":"When using the example code for updating a contact:\r\n\r\n        // Update Firstname (simple property)\r\n        $field = new EWSType_SetItemFieldType();\r\n        $field->FieldURI->FieldURI = 'contacts:GivenName';\r\n        $field->Contact = new EWSType_ContactItemType();\r\n        $field->Contact->GivenName = 'Gomer';\r\n\r\nIm getting the following error:\r\n\r\n> Creating default object from empty value\r\n\r\nIt fails on this line: $field->FieldURI->FieldURI = 'contacts:GivenName';"},"comment":{"url":"https://api.github.com/repos/jamesiarmes/php-ews/issues/comments/211243299","html_url":"https://github.com/jamesiarmes/php-ews/issues/324#issuecomment-211243299","issue_url":"https://api.github.com/repos/jamesiarmes/php-ews/issues/324","id":211243299,"user":{"login":"baaskoen","id":10828997,"avatar_url":"https://avatars.githubusercontent.com/u/10828997?v=3","gravatar_id":"","url":"https://api.github.com/users/baaskoen","html_url":"https://github.com/baaskoen","followers_url":"https://api.github.com/users/baaskoen/followers","following_url":"https://api.github.com/users/baaskoen/following{/other_user}","gists_url":"https://api.github.com/users/baaskoen/gists{/gist_id}","starred_url":"https://api.github.com/users/baaskoen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baaskoen/subscriptions","organizations_url":"https://api.github.com/users/baaskoen/orgs","repos_url":"https://api.github.com/users/baaskoen/repos","events_url":"https://api.github.com/users/baaskoen/events{/privacy}","received_events_url":"https://api.github.com/users/baaskoen/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T07:32:28Z","updated_at":"2016-04-18T07:32:28Z","body":"No, `Creating default object from empty value`.\r\n"}}