{"action":"closed","issue":{"url":"https://api.github.com/repos/silverstripe/silverstripe-blog/issues/375","repository_url":"https://api.github.com/repos/silverstripe/silverstripe-blog","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-blog/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-blog/issues/375/comments","events_url":"https://api.github.com/repos/silverstripe/silverstripe-blog/issues/375/events","html_url":"https://github.com/silverstripe/silverstripe-blog/issues/375","id":132670001,"number":375,"title":"Conflict with GridFieldConfig_Lumberjack","user":{"login":"Spambanjo","id":1990074,"avatar_url":"https://avatars.githubusercontent.com/u/1990074?v=3","gravatar_id":"","url":"https://api.github.com/users/Spambanjo","html_url":"https://github.com/Spambanjo","followers_url":"https://api.github.com/users/Spambanjo/followers","following_url":"https://api.github.com/users/Spambanjo/following{/other_user}","gists_url":"https://api.github.com/users/Spambanjo/gists{/gist_id}","starred_url":"https://api.github.com/users/Spambanjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spambanjo/subscriptions","organizations_url":"https://api.github.com/users/Spambanjo/orgs","repos_url":"https://api.github.com/users/Spambanjo/repos","events_url":"https://api.github.com/users/Spambanjo/events{/privacy}","received_events_url":"https://api.github.com/users/Spambanjo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-10T11:09:20Z","updated_at":"2016-03-04T00:19:39Z","closed_at":"2016-03-04T00:19:39Z","body":"The latest GridFieldConfig_Lumberjack.php adds the component GridFieldSiteTreeAddNewButton. This causes an error when adding or modifying members from the Security page.\r\n\r\nA temp fix is to modify around line 102 in **blog/code/extensions/BlogMemberExtension.php** from:\r\n\r\n```\r\n$gridField = new GridField(\r\n  'BlogPosts',\r\n  'Blog Posts',\r\n  $this->owner->BlogPosts(),\r\n  new GridFieldConfig_BlogPost()\r\n);\r\n```\r\n\r\nReplacing it with:\r\n\r\n```\r\n$conf = new GridFieldConfig_BlogPost();\r\n$conf->removeComponentsByType('GridFieldSiteTreeAddNewButton');\r\n$gridField = new GridField(\r\n  'BlogPosts',\r\n  'Blog Posts',\r\n  $this->owner->BlogPosts(),\r\n  $conf\r\n);\r\n```"}}