{"action":"closed","issue":{"url":"https://api.github.com/repos/magefan/module-blog/issues/13","repository_url":"https://api.github.com/repos/magefan/module-blog","labels_url":"https://api.github.com/repos/magefan/module-blog/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/magefan/module-blog/issues/13/comments","events_url":"https://api.github.com/repos/magefan/module-blog/issues/13/events","html_url":"https://github.com/magefan/module-blog/issues/13","id":139708584,"number":13,"title":"_addBreadcrumbs error on Posts page","user":{"login":"chris-brabender","id":5144830,"avatar_url":"https://avatars.githubusercontent.com/u/5144830?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-brabender","html_url":"https://github.com/chris-brabender","followers_url":"https://api.github.com/users/chris-brabender/followers","following_url":"https://api.github.com/users/chris-brabender/following{/other_user}","gists_url":"https://api.github.com/users/chris-brabender/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-brabender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-brabender/subscriptions","organizations_url":"https://api.github.com/users/chris-brabender/orgs","repos_url":"https://api.github.com/users/chris-brabender/repos","events_url":"https://api.github.com/users/chris-brabender/events{/privacy}","received_events_url":"https://api.github.com/users/chris-brabender/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-09T21:40:03Z","updated_at":"2016-05-04T19:06:30Z","closed_at":"2016-05-04T19:06:30Z","body":"After a fresh installation of the blog module, I added a new category to get it all to display.\r\n\r\nThe home page for the blog loads fine, and so does the category page. The hello world post displays in on both pages but clicking in to view the post results in this error:\r\n\r\n    Recoverable Error: Argument 1 passed to Magefan\\Blog\\Block\\Post\\View::_addBreadcrumbs() must be an instance of Magefan\\Blog\\Model\\Post, null given, called in vendor/magefan/module-blog/Block/Post/View.php on line 25 and defined in vendor/magefan/module-blog/Block/Post/View.php on line 41\r\n\r\nChanging:\r\n\r\n    $post = $this->getPost();\r\n\r\nTo: \r\n\r\n    $post = $this->_post;\r\n\r\nTemporarily fixes the problem for me but it appears the execute() function in the Controller\\Post\\View action is not being triggered."}}