moodle-tool_mergeusers icon indicating copy to clipboard operation
moodle-tool_mergeusers copied to clipboard

Exception thrown when merging: 'Can not find course module".

Open Richardvi opened this issue 5 months ago • 10 comments

When merging two user accounts, I have gotten this error:

Merge user accounts

  1. Choose users to merge / ► 2. Confirm users to merge / ► 3. Merging results and log

Merged «[email protected]» (user ID = xxx) into «[email protected]» (user ID = xxx)

For further reference, these results are recorded in the log id 24. Some error occurred:

Exception thrown when merging: 'Can not find course module".

Trace: #0 /home/learn/public_html/admin/tool/mergeusers/lib/mergeusertool.php(271): MergeUserTool->updateGrades('28320', '23599') #1 /home/learn/public_html/admin/tool/mergeusers/lib/mergeusertool.php(192): MergeUserTool->_merge('28320', '23599') #2 /home/learn/public_html/admin/tool/mergeusers/index.php(135): MergeUserTool->merge('28320', '23599') #3 {main}

Started merging at Monday, 16 September 2024, 10:37 AM Merge took 16 seconds

It seems to have something to do with grades, but how can I find which course module this is concerning? It would be nice to find which course module (or even course ID) the problem has.

One more thing: where are the log files stored?

Richardvi avatar Sep 16 '24 08:09 Richardvi