Notice: Trying to get property of non-object in /Users/danp/git/integration/mod/assignment/lib.php on line 3190
|
Call Stack
|
# Time Memory Function Location
|
1 0.0001 266864 {main}( ) ../reset.php:0
|
2 1.0454 18094832 reset_course_userdata( ) ../reset.php:73
|
3 1.0948 18186864 assignment_reset_userdata( ) ../moodlelib.php:5347
|
4 1.0958 18213368 assignment_base->reset_userdata( ) ../lib.php:3887
|
5 1.0988 18214512 shift_course_mod_dates( ) ../lib.php:2375
|
6 1.1005 18214920 assignment_refresh_events( ) ../moodlelib.php:5151
|
Can not find data record in database table course_modules.
|
|
More information about this error
|
|
Debug info: SELECT id,course FROM {course_modules} WHERE id IS NULL
|
[array (
|
)]
|
Error code: invalidrecord
|
Stack trace:
|
line 1372 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
|
line 1348 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
|
line 6926 of /lib/accesslib.php: call to moodle_database->get_record()
|
line 1454 of /lib/weblib.php: call to context_module::instance()
|
line 3190 of /mod/assignment/lib.php: call to format_module_intro()
|
line 5151 of /lib/moodlelib.php: call to assignment_refresh_events()
|
line 2375 of /mod/assignment/lib.php: call to shift_course_mod_dates()
|
line 3887 of /mod/assignment/lib.php: call to assignment_base->reset_userdata()
|
line 5347 of /lib/moodlelib.php: call to assignment_reset_userdata()
|
line 73 of /course/reset.php: call to reset_course_userdata()
|