Committed to delivering the highest quality learning journey to deliver outstanding achievement.

    Can not find data record in database.

    More information about this error

    Debug info: SELECT cm.*,, AS modname 
    FROM {course_modules} cm
    JOIN {modules} md ON = cm.module
    JOIN {forum} m ON = cm.instance

    WHERE = :instance AND = :modulename
    AND cm.course = :courseid
    [array (
    'instance' => '6',
    'modulename' => 'forum',
    'courseid' => '1',
    Error code: invalidrecordunknown
    Stack trace: 
    • line 1483 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
    • line 1379 of /lib/datalib.php: call to moodle_database->get_record_sql()
    • line 204 of /index.php: call to get_coursemodule_from_instance()