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.*, m.name, md.name AS modname 
    FROM {course_modules} cm
    JOIN {modules} md ON md.id = cm.module
    JOIN {forum} m ON m.id = cm.instance

    WHERE m.id = :instance AND md.name = :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()