{"action":"created","issue":{"url":"https://api.github.com/repos/danmarsden/moodle-mod_attendance/issues/147","labels_url":"https://api.github.com/repos/danmarsden/moodle-mod_attendance/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/danmarsden/moodle-mod_attendance/issues/147/comments","events_url":"https://api.github.com/repos/danmarsden/moodle-mod_attendance/issues/147/events","html_url":"https://github.com/danmarsden/moodle-mod_attendance/issues/147","id":103991612,"number":147,"title":"Debug Notice in Moodle 2.9 when student tracks his attendance ","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":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-31T05:43:35Z","updated_at":"2015-09-01T09:46:34Z","closed_at":null,"body":"Hi Dan,\r\n\r\nas we are updating to Moodle 2.9, I got the following message when a student tracks his attendance:\r\n\r\n\r\nFields list in snapshot record does not match fields list in 'attendance_log'. Record is missing fields: id\r\nline 793 of /lib/classes/event/base.php: call to debugging()\r\nline 900 of /mod/attendance/locallib.php: call to core\\event\\base->add_record_snapshot()\r\nline 60 of /mod/attendance/attendance.php: call to attendance->take_from_student()\r\n\r\nNotice: Undefined property: stdClass::$id in /var/www/html/moodle_dev/lib/classes/event/base.php on line 797\r\nThis page did not call $PAGE->set_url(...). Using https://moodle-dev.uni-ulm.de/mod/attendance/attendance.php\r\nline 560 of /lib/pagelib.php: call to debugging()\r\nline 768 of /lib/pagelib.php: call to moodle_page->magic_get_url()\r\nline 48 of /blocks/login_userinfo/renderer.php: call to moodle_page->__get()\r\nline 141 of /blocks/login_userinfo/block_login_userinfo.php: call to block_login_userinfo_renderer->login_userinfo()\r\nline 288 of /blocks/moodleblock.class.php: call to block_login_userinfo->get_content()\r\nline 230 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()\r\nline 973 of /lib/blocklib.php: call to block_base->get_content_for_output()\r\nline 1025 of /lib/blocklib.php: call to block_manager->create_block_contents()\r\nline 473 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()\r\nline 30 of /theme/bootstrapbase/layout/embedded.php: call to core_renderer->standard_head_html()\r\nline 1015 of /lib/outputrenderers.php: call to include()\r\nline 945 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()\r\nline 881 of /lib/outputrenderers.php: call to core_renderer->header()\r\nline 2674 of /lib/weblib.php: call to core_renderer->redirect_message()\r\nline 65 of /mod/attendance/attendance.php: call to redirect()\r\n\r\n\r\nKind regards,\r\nKathrin"},"comment":{"url":"https://api.github.com/repos/danmarsden/moodle-mod_attendance/issues/comments/136652635","html_url":"https://github.com/danmarsden/moodle-mod_attendance/issues/147#issuecomment-136652635","issue_url":"https://api.github.com/repos/danmarsden/moodle-mod_attendance/issues/147","id":136652635,"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},"created_at":"2015-09-01T09:46:34Z","updated_at":"2015-09-01T09:46:34Z","body":"Hi Dan,\r\n\r\nI've updated all the plugins Moodle showed me that there are updates available because there's a newer version of them in the plugins repo.\r\n\r\nNow, I've downloaded your latest code from here and now the notice does not appear any more when a student tracks the attendance himself.\r\n\r\nSorry about the circumstances. \r\nYou can close this ticket.\r\n\r\nKind regards,\r\nKathrin"}}