{"action":"created","issue":{"url":"https://api.github.com/repos/altocms/altocms/issues/763","labels_url":"https://api.github.com/repos/altocms/altocms/issues/763/labels{/name}","comments_url":"https://api.github.com/repos/altocms/altocms/issues/763/comments","events_url":"https://api.github.com/repos/altocms/altocms/issues/763/events","html_url":"https://github.com/altocms/altocms/issues/763","id":111982452,"number":763,"title":"Проблема с удаленными топиками в ленте активности","user":{"login":"inliquid","id":6797881,"avatar_url":"https://avatars.githubusercontent.com/u/6797881?v=3","gravatar_id":"","url":"https://api.github.com/users/inliquid","html_url":"https://github.com/inliquid","followers_url":"https://api.github.com/users/inliquid/followers","following_url":"https://api.github.com/users/inliquid/following{/other_user}","gists_url":"https://api.github.com/users/inliquid/gists{/gist_id}","starred_url":"https://api.github.com/users/inliquid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inliquid/subscriptions","organizations_url":"https://api.github.com/users/inliquid/orgs","repos_url":"https://api.github.com/users/inliquid/repos","events_url":"https://api.github.com/users/inliquid/events{/privacy}","received_events_url":"https://api.github.com/users/inliquid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-17T20:08:57Z","updated_at":"2015-10-20T21:34:02Z","closed_at":null,"body":"Если быть точнее - проблема с комментариями. Чистка удаленных комментариев через админку не помогает. Некоторые остаются. Возможно причина в ключевом слове 'онлайн'\r\n\r\n![1](https://cloud.githubusercontent.com/assets/6797881/10560959/85df71f4-7523-11e5-9438-f32a7f5ff611.png)\r\n\r\n\r\nТем не менее, некоторые комментарии остаются и \"Активность\" пытается честно сформировать на них ссылку, для чего нужен объект топика. А топик удален. В результате для типов событий \r\n- 'add_comment' и\r\n- 'vote_comment'\r\n\r\nИмеем такую картинку вместо активности\r\n\r\nE_ERROR [1] Call to a member function getUrl() on a non-object\r\n\r\n\r\nКак результат обращения к ```$oTarget->getTarget()->getUrl()```\r\n\r\nФайл - _action.stream.events.tpl_.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/altocms/altocms/issues/comments/149709917","html_url":"https://github.com/altocms/altocms/issues/763#issuecomment-149709917","issue_url":"https://api.github.com/repos/altocms/altocms/issues/763","id":149709917,"user":{"login":"inliquid","id":6797881,"avatar_url":"https://avatars.githubusercontent.com/u/6797881?v=3","gravatar_id":"","url":"https://api.github.com/users/inliquid","html_url":"https://github.com/inliquid","followers_url":"https://api.github.com/users/inliquid/followers","following_url":"https://api.github.com/users/inliquid/following{/other_user}","gists_url":"https://api.github.com/users/inliquid/gists{/gist_id}","starred_url":"https://api.github.com/users/inliquid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inliquid/subscriptions","organizations_url":"https://api.github.com/users/inliquid/orgs","repos_url":"https://api.github.com/users/inliquid/repos","events_url":"https://api.github.com/users/inliquid/events{/privacy}","received_events_url":"https://api.github.com/users/inliquid/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T21:34:02Z","updated_at":"2015-10-20T21:34:02Z","body":"1.0.x"}}