{"action":"created","issue":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/9911","repository_url":"https://api.github.com/repos/Elgg/Elgg","labels_url":"https://api.github.com/repos/Elgg/Elgg/issues/9911/labels{/name}","comments_url":"https://api.github.com/repos/Elgg/Elgg/issues/9911/comments","events_url":"https://api.github.com/repos/Elgg/Elgg/issues/9911/events","html_url":"https://github.com/Elgg/Elgg/issues/9911","id":161176790,"number":9911,"title":"searching when logged out triggers error due to missing container","user":{"login":"propertunist","id":513903,"avatar_url":"https://avatars.githubusercontent.com/u/513903?v=3","gravatar_id":"","url":"https://api.github.com/users/propertunist","html_url":"https://github.com/propertunist","followers_url":"https://api.github.com/users/propertunist/followers","following_url":"https://api.github.com/users/propertunist/following{/other_user}","gists_url":"https://api.github.com/users/propertunist/gists{/gist_id}","starred_url":"https://api.github.com/users/propertunist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/propertunist/subscriptions","organizations_url":"https://api.github.com/users/propertunist/orgs","repos_url":"https://api.github.com/users/propertunist/repos","events_url":"https://api.github.com/users/propertunist/events{/privacy}","received_events_url":"https://api.github.com/users/propertunist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-06-20T11:46:20Z","updated_at":"2016-06-21T09:32:31Z","closed_at":null,"body":"```\r\n Call to a member function getType() on boolean in /mysite/mod/search/views/default/search/object/comment/entity.php:15\r\n```\r\ni have seen these errors in my logs for over a year. having explored the cause, i found that this line does not find a container when i am logged out and the search results point to a specific comment (which apparently has been orphaned somehow):\r\n```\r\n$container = $entity->getContainerEntity()\r\n```"},"comment":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/comments/227389031","html_url":"https://github.com/Elgg/Elgg/issues/9911#issuecomment-227389031","issue_url":"https://api.github.com/repos/Elgg/Elgg/issues/9911","id":227389031,"user":{"login":"hypeJunction","id":1202761,"avatar_url":"https://avatars.githubusercontent.com/u/1202761?v=3","gravatar_id":"","url":"https://api.github.com/users/hypeJunction","html_url":"https://github.com/hypeJunction","followers_url":"https://api.github.com/users/hypeJunction/followers","following_url":"https://api.github.com/users/hypeJunction/following{/other_user}","gists_url":"https://api.github.com/users/hypeJunction/gists{/gist_id}","starred_url":"https://api.github.com/users/hypeJunction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypeJunction/subscriptions","organizations_url":"https://api.github.com/users/hypeJunction/orgs","repos_url":"https://api.github.com/users/hypeJunction/repos","events_url":"https://api.github.com/users/hypeJunction/events{/privacy}","received_events_url":"https://api.github.com/users/hypeJunction/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T09:32:31Z","updated_at":"2016-06-21T09:32:31Z","body":"You need to change the access id of the container. Check `_elgg_comments_access_sync()`"}}
{"actor":{"display_login":"hypeJunction"}}