{"action":"closed","number":16,"pull_request":{"url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/pulls/16","id":27735879,"html_url":"https://github.com/colymba/GridFieldGalleryTheme/pull/16","diff_url":"https://github.com/colymba/GridFieldGalleryTheme/pull/16.diff","patch_url":"https://github.com/colymba/GridFieldGalleryTheme/pull/16.patch","issue_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/issues/16","number":16,"state":"closed","locked":false,"title":"Detect missing image and prevent error that breaks CMS","user":{"login":"terry-webfox","id":10625888,"avatar_url":"https://avatars.githubusercontent.com/u/10625888?v=3","gravatar_id":"","url":"https://api.github.com/users/terry-webfox","html_url":"https://github.com/terry-webfox","followers_url":"https://api.github.com/users/terry-webfox/followers","following_url":"https://api.github.com/users/terry-webfox/following{/other_user}","gists_url":"https://api.github.com/users/terry-webfox/gists{/gist_id}","starred_url":"https://api.github.com/users/terry-webfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terry-webfox/subscriptions","organizations_url":"https://api.github.com/users/terry-webfox/orgs","repos_url":"https://api.github.com/users/terry-webfox/repos","events_url":"https://api.github.com/users/terry-webfox/events{/privacy}","received_events_url":"https://api.github.com/users/terry-webfox/received_events","type":"User","site_admin":false},"body":"Was getting this error in my dev environment when the image didn't exist on disk, making the CMS unusable. It needs to fail more gracefully:\r\n<div class=\"info notice\"><h1>[Notice] Trying to get property of non-object</h1><h3>GET /index.php/admin/pages/edit/show/61</h3><p>Line <strong>69</strong> in <strong>/var/www/site.co.nz/gridfield-gallery-theme/code/GridFieldGalleryTheme.php</strong></p></div>","created_at":"2015-01-21T05:13:13Z","updated_at":"2015-01-21T11:50:53Z","closed_at":"2015-01-21T11:50:53Z","merged_at":"2015-01-21T11:50:53Z","merge_commit_sha":"8e9fb36442c48873c83939299fca7fc0e2febf71","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/pulls/16/commits","review_comments_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/pulls/16/comments","review_comment_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/pulls/comments/{number}","comments_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/issues/16/comments","statuses_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/statuses/2a82537425b5c754ddad70e546ae3ebf9300a909","head":{"label":"terry-webfox:patch-1","ref":"patch-1","sha":"2a82537425b5c754ddad70e546ae3ebf9300a909","user":{"login":"terry-webfox","id":10625888,"avatar_url":"https://avatars.githubusercontent.com/u/10625888?v=3","gravatar_id":"","url":"https://api.github.com/users/terry-webfox","html_url":"https://github.com/terry-webfox","followers_url":"https://api.github.com/users/terry-webfox/followers","following_url":"https://api.github.com/users/terry-webfox/following{/other_user}","gists_url":"https://api.github.com/users/terry-webfox/gists{/gist_id}","starred_url":"https://api.github.com/users/terry-webfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terry-webfox/subscriptions","organizations_url":"https://api.github.com/users/terry-webfox/orgs","repos_url":"https://api.github.com/users/terry-webfox/repos","events_url":"https://api.github.com/users/terry-webfox/events{/privacy}","received_events_url":"https://api.github.com/users/terry-webfox/received_events","type":"User","site_admin":false},"repo":{"id":29572551,"name":"GridFieldGalleryTheme","full_name":"terry-webfox/GridFieldGalleryTheme","owner":{"login":"terry-webfox","id":10625888,"avatar_url":"https://avatars.githubusercontent.com/u/10625888?v=3","gravatar_id":"","url":"https://api.github.com/users/terry-webfox","html_url":"https://github.com/terry-webfox","followers_url":"https://api.github.com/users/terry-webfox/followers","following_url":"https://api.github.com/users/terry-webfox/following{/other_user}","gists_url":"https://api.github.com/users/terry-webfox/gists{/gist_id}","starred_url":"https://api.github.com/users/terry-webfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terry-webfox/subscriptions","organizations_url":"https://api.github.com/users/terry-webfox/orgs","repos_url":"https://api.github.com/users/terry-webfox/repos","events_url":"https://api.github.com/users/terry-webfox/events{/privacy}","received_events_url":"https://api.github.com/users/terry-webfox/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/terry-webfox/GridFieldGalleryTheme","description":"Gallery view styling and functionalities of SS3 GridField","fork":true,"url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme","forks_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/forks","keys_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/teams","hooks_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/hooks","issue_events_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/issues/events{/number}","events_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/events","assignees_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/assignees{/user}","branches_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/branches{/branch}","tags_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/tags","blobs_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/git/refs{/sha}","trees_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/statuses/{sha}","languages_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/languages","stargazers_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/stargazers","contributors_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/contributors","subscribers_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/subscribers","subscription_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/subscription","commits_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/commits{/sha}","git_commits_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/git/commits{/sha}","comments_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/comments{/number}","issue_comment_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/issues/comments/{number}","contents_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/contents/{+path}","compare_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/merges","archive_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/downloads","issues_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/issues{/number}","pulls_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/pulls{/number}","milestones_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/milestones{/number}","notifications_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/labels{/name}","releases_url":"https://api.github.com/repos/terry-webfox/GridFieldGalleryTheme/releases{/id}","created_at":"2015-01-21T05:09:58Z","updated_at":"2015-01-21T05:09:58Z","pushed_at":"2015-01-21T05:13:00Z","git_url":"git://github.com/terry-webfox/GridFieldGalleryTheme.git","ssh_url":"git@github.com:terry-webfox/GridFieldGalleryTheme.git","clone_url":"https://github.com/terry-webfox/GridFieldGalleryTheme.git","svn_url":"https://github.com/terry-webfox/GridFieldGalleryTheme","homepage":null,"size":463,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"colymba:master","ref":"master","sha":"29aa57cb3fade8dcaca71376ab4e75abe7d9f927","user":{"login":"colymba","id":978040,"avatar_url":"https://avatars.githubusercontent.com/u/978040?v=3","gravatar_id":"","url":"https://api.github.com/users/colymba","html_url":"https://github.com/colymba","followers_url":"https://api.github.com/users/colymba/followers","following_url":"https://api.github.com/users/colymba/following{/other_user}","gists_url":"https://api.github.com/users/colymba/gists{/gist_id}","starred_url":"https://api.github.com/users/colymba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colymba/subscriptions","organizations_url":"https://api.github.com/users/colymba/orgs","repos_url":"https://api.github.com/users/colymba/repos","events_url":"https://api.github.com/users/colymba/events{/privacy}","received_events_url":"https://api.github.com/users/colymba/received_events","type":"User","site_admin":false},"repo":{"id":6244595,"name":"GridFieldGalleryTheme","full_name":"colymba/GridFieldGalleryTheme","owner":{"login":"colymba","id":978040,"avatar_url":"https://avatars.githubusercontent.com/u/978040?v=3","gravatar_id":"","url":"https://api.github.com/users/colymba","html_url":"https://github.com/colymba","followers_url":"https://api.github.com/users/colymba/followers","following_url":"https://api.github.com/users/colymba/following{/other_user}","gists_url":"https://api.github.com/users/colymba/gists{/gist_id}","starred_url":"https://api.github.com/users/colymba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colymba/subscriptions","organizations_url":"https://api.github.com/users/colymba/orgs","repos_url":"https://api.github.com/users/colymba/repos","events_url":"https://api.github.com/users/colymba/events{/privacy}","received_events_url":"https://api.github.com/users/colymba/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/colymba/GridFieldGalleryTheme","description":"Gallery view styling and functionalities of SS3 GridField","fork":false,"url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme","forks_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/forks","keys_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/teams","hooks_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/hooks","issue_events_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/issues/events{/number}","events_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/events","assignees_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/assignees{/user}","branches_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/branches{/branch}","tags_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/tags","blobs_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/git/refs{/sha}","trees_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/statuses/{sha}","languages_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/languages","stargazers_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/stargazers","contributors_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/contributors","subscribers_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/subscribers","subscription_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/subscription","commits_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/commits{/sha}","git_commits_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/git/commits{/sha}","comments_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/comments{/number}","issue_comment_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/issues/comments/{number}","contents_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/contents/{+path}","compare_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/merges","archive_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/downloads","issues_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/issues{/number}","pulls_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/pulls{/number}","milestones_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/milestones{/number}","notifications_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/labels{/name}","releases_url":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/releases{/id}","created_at":"2012-10-16T13:17:18Z","updated_at":"2014-11-21T09:04:05Z","pushed_at":"2015-01-21T11:50:53Z","git_url":"git://github.com/colymba/GridFieldGalleryTheme.git","ssh_url":"git@github.com:colymba/GridFieldGalleryTheme.git","clone_url":"https://github.com/colymba/GridFieldGalleryTheme.git","svn_url":"https://github.com/colymba/GridFieldGalleryTheme","homepage":null,"size":579,"stargazers_count":12,"watchers_count":12,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/pulls/16"},"html":{"href":"https://github.com/colymba/GridFieldGalleryTheme/pull/16"},"issue":{"href":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/issues/16"},"comments":{"href":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/colymba/GridFieldGalleryTheme/statuses/2a82537425b5c754ddad70e546ae3ebf9300a909"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"colymba","id":978040,"avatar_url":"https://avatars.githubusercontent.com/u/978040?v=3","gravatar_id":"","url":"https://api.github.com/users/colymba","html_url":"https://github.com/colymba","followers_url":"https://api.github.com/users/colymba/followers","following_url":"https://api.github.com/users/colymba/following{/other_user}","gists_url":"https://api.github.com/users/colymba/gists{/gist_id}","starred_url":"https://api.github.com/users/colymba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colymba/subscriptions","organizations_url":"https://api.github.com/users/colymba/orgs","repos_url":"https://api.github.com/users/colymba/repos","events_url":"https://api.github.com/users/colymba/events{/privacy}","received_events_url":"https://api.github.com/users/colymba/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":3,"changed_files":1}}