{"action":"closed","issue":{"url":"https://api.github.com/repos/danmarsden/moodle-block_attendance/issues/10","labels_url":"https://api.github.com/repos/danmarsden/moodle-block_attendance/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/danmarsden/moodle-block_attendance/issues/10/comments","events_url":"https://api.github.com/repos/danmarsden/moodle-block_attendance/issues/10/events","html_url":"https://github.com/danmarsden/moodle-block_attendance/issues/10","id":104248136,"number":10,"title":"Unable to add a block in Moodle 2.9 together with mod_attendance (commit 24.08.2015)","user":{"login":"Kathrin84","id":4711883,"avatar_url":"https://avatars.githubusercontent.com/u/4711883?v=3","gravatar_id":"","url":"https://api.github.com/users/Kathrin84","html_url":"https://github.com/Kathrin84","followers_url":"https://api.github.com/users/Kathrin84/followers","following_url":"https://api.github.com/users/Kathrin84/following{/other_user}","gists_url":"https://api.github.com/users/Kathrin84/gists{/gist_id}","starred_url":"https://api.github.com/users/Kathrin84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kathrin84/subscriptions","organizations_url":"https://api.github.com/users/Kathrin84/orgs","repos_url":"https://api.github.com/users/Kathrin84/repos","events_url":"https://api.github.com/users/Kathrin84/events{/privacy}","received_events_url":"https://api.github.com/users/Kathrin84/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-01T11:48:14Z","updated_at":"2015-09-21T07:18:34Z","closed_at":"2015-09-21T07:18:34Z","body":"Hi Dan,\r\n\r\nI took both, the newest versions from block_attendance and mod_attendance from gitHub. Always when I wanted to add the block to my course, following notice/error occured and crashed my course:\r\n\r\nNotice: Undefined property: attendance::$perm in /var/www/html/moodle_dev/blocks/attendance/block_attendance.php on line 79\r\n\r\nFatal error: Call to a member function can_take() on a non-object in /var/www/html/moodle_dev/blocks/attendance/block_attendance.php on line 79\r\n\r\nKind regards,\r\nKathrin"}}