Dear Leon,
Thank you for your reply. I will try to upgrade from command line but you please check the below error found in the log file:
[13-Jan-2022 14:35:03 Asia/Riyadh] Default exception handler: Word 2007 document filetype cannot be accepted. Debug:
Error code: invalidfiletype
* line 185 of /repository/
upload/lib.php: moodle_exception thrown
* line 63 of /repository/upload/lib.php: call to repository_upload->process_upload()
* line 324 of /repository/repository_ajax.php: call to repository_upload->upload()
[13-Jan-2022 14:35:23 Asia/Riyadh] Default exception handler: This attempt has already been finished. Debug:
Error code: attemptalreadyclosed
* line 84 of /mod/quiz/processattempt.php: moodle_quiz_exception thrown
[13-Jan-2022 14:36:17 Asia/Riyadh] Default exception handler: This attempt has already been finished. Debug:
Error code: attemptalreadyclosed
* line 84 of /mod/quiz/processattempt.php: moodle_quiz_exception thrown
[13-Jan-2022 14:37:45 Asia/Riyadh] Default exception handler: Unknown state. Debug:
Error code: errorauthunknownstate
* line 200 of /auth/oidc/classes/loginflow/authcode.php: moodle_exception thrown
* line 116 of /auth/oidc/classes/loginflow/authcode.php: call to auth_oidc\loginflow\authcode->handleauthresponse()
* line 168 of /auth/oidc/auth.php: call to auth_oidc\loginflow\authcode->handleredirect()
* line 31 of /auth/oidc/index.php: call to auth_plugin_oidc->handleredirect()
[13-Jan-2022 14:37:46 Asia/Riyadh] PHP Warning: Invalid argument supplied for foreach() in /home/moodletis/public_html/auth/oidc/classes/loginflow/base.php on line 125
[13-Jan-2022 14:38:16 Asia/Riyadh] PHP Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/moodletis/public_html/lib/classes/session/manager.php on line 581
[13-Jan-2022 14:39:32 Asia/Riyadh] PHP Warning: Invalid argument supplied for foreach() in /home/moodletis/public_html/auth/oidc/classes/loginflow/base.php on line 125
[13-Jan-2022 14:39:40 Asia/Riyadh] PHP Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/moodletis/public_html/lib/classes/session/manager.php on line 581
[13-Jan-2022 14:39:40 Asia/Riyadh] Default exception handler: Unknown state. Debug:
Error code: errorauthunknownstate
* line 200 of /auth/oidc/classes/loginflow/authcode.php: moodle_exception thrown
* line 116 of /auth/oidc/classes/loginflow/authcode.php: call to auth_oidc\loginflow\authcode->handleauthresponse()
* line 168 of /auth/oidc/auth.php: call to auth_oidc\loginflow\authcode->handleredirect()
* line 31 of /auth/oidc/index.php: call to auth_plugin_oidc->handleredirect()
[13-Jan-2022 14:39:41 Asia/Riyadh] Default exception handler: This attempt has already been finished. Debug:
Error code: attemptalreadyclosed
* line 84 of /mod/quiz/processattempt.php: moodle_quiz_exception thrown
[13-Jan-2022 14:39:42 Asia/Riyadh] PHP Warning: Invalid argument supplied for foreach() in /home/moodletis/public_html/auth/oidc/classes/loginflow/base.php on line 125
[13-Jan-2022 14:39:42 Asia/Riyadh] PHP Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/moodletis/public_html/lib/classes/session/manager.php on line 581
[13-Jan-2022 14:39:49 Asia/Riyadh] PHP Warning: Invalid argument supplied for foreach() in /home/moodletis/public_html/auth/oidc/classes/loginflow/base.php on line 125
[13-Jan-2022 14:39:49 Asia/Riyadh] PHP Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/moodletis/public_html/lib/classes/session/manager.php on line 581
[13-Jan-2022 14:39:52 Asia/Riyadh] PHP Warning: Invalid argument supplied for foreach() in /home/moodletis/public_html/auth/oidc/classes/loginflow/base.php on line 125
[13-Jan-2022 14:39:52 Asia/Riyadh] PHP Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/moodletis/public_html/lib/classes/session/manager.php on line 581
[13-Jan-2022 14:39:56 Asia/Riyadh] Default exception handler: Unknown state. Debug:
Error code: errorauthunknownstate
* line 200 of /auth/oidc/classes/loginflow/authcode.php: moodle_exception thrown
* line 116 of /auth/oidc/classes/loginflow/authcode.php: call to auth_oidc\loginflow\authcode->handleauthresponse()
* line 168 of /auth/oidc/auth.php: call to auth_oidc\loginflow\authcode->handleredirect()
* line 31 of /auth/oidc/index.php: call to auth_plugin_oidc->handleredirect()
[13-Jan-2022 14:40:04 Asia/Riyadh] PHP Warning: Invalid argument supplied for foreach() in /home/moodletis/public_html/auth/oidc/classes/loginflow/base.php on line 125
[13-Jan-2022 14:40:04 Asia/Riyadh] PHP Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/moodletis/public_html/lib/classes/session/manager.php on line 581
[13-Jan-2022 14:40:49 Asia/Riyadh] Default exception handler: Unknown state. Debug:
Error code: errorauthunknownstate
* line 198 of /auth/oidc/classes/loginflow/authcode.php: moodle_exception thrown
* line 114 of /auth/oidc/classes/loginflow/authcode.php: call to auth_oidc\loginflow\authcode->handleauthresponse()
* line 165 of /auth/oidc/auth.php: call to auth_oidc\loginflow\authcode->handleredirect()
* line 29 of /auth/oidc/index.php: call to auth_plugin_oidc->handleredirect()
[13-Jan-2022 14:41:20 Asia/Riyadh] Default exception handler: This attempt has already been finished. Debug:
Error code: attemptalreadyclosed
* line 84 of /mod/quiz/processattempt.php: moodle_quiz_exception thrown
[13-Jan-2022 14:42:25 Asia/Riyadh] Default exception handler: This attempt has already been finished. Debug:
Error code: attemptalreadyclosed
* line 84 of /mod/quiz/processattempt.php: moodle_quiz_exception thrown
[13-Jan-2022 14:43:00 Asia/Riyadh] Default exception handler: Invalid quiz ID Debug:
Error code: invalidquizid
* line 498 of /lib/setuplib.php: moodle_exception thrown
* line 45 of /mod/quiz/view.php: call to print_error()
[13-Jan-2022 14:44:25 Asia/Riyadh] Default exception handler: This attempt has already been finished. Debug:
Error code: attemptalreadyclosed
* line 84 of /mod/quiz/processattempt.php: moodle_quiz_exception thrown
[13-Jan-2022 14:48:54 Asia/Riyadh] Default exception handler: This attempt has already been finished. Debug:
Error code: attemptalreadyclosed
* line 84 of /mod/quiz/processattempt.php: moodle_quiz_exception thrown
[13-Jan-2022 14:49:28 Asia/Riyadh] PHP Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/moodletis/public_html/lib/classes/session/manager.php on line 581
[13-Jan-2022 14:52:36 Asia/Riyadh] Default exception handler: This attempt has already been finished. Debug:
Error code: attemptalreadyclosed
* line 84 of /mod/quiz/processattempt.php: moodle_quiz_exception thrown
[13-Jan-2022 14:52:52 Asia/Riyadh] Default exception handler: This attempt has already been finished. Debug:
Error code: attemptalreadyclosed
* line 84 of /mod/quiz/processattempt.php: moodle_quiz_exception thrown
[13-Jan-2022 14:53:05 Asia/Riyadh] PHP Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/moodletis/public_html/lib/classes/session/manager.php on line 581
[13-Jan-2022 14:53:15 Asia/Riyadh] Default exception handler: Unknown state. Debug:
Error code: errorauthunknownstate
* line 198 of /auth/oidc/classes/loginflow/authcode.php: moodle_exception thrown
* line 114 of /auth/oidc/classes/loginflow/authcode.php: call to auth_oidc\loginflow\authcode->handleauthresponse()
* line 165 of /auth/oidc/auth.php: call to auth_oidc\loginflow\authcode->handleredirect()
* line 29 of /auth/oidc/index.php: call to auth_plugin_oidc->handleredirect()
[13-Jan-2022 14:53:20 Asia/Riyadh] Default exception handler: Unknown state. Debug:
Error code: errorauthunknownstate
* line 198 of /auth/oidc/classes/loginflow/authcode.php: moodle_exception thrown
* line 114 of /auth/oidc/classes/loginflow/authcode.php: call to auth_oidc\loginflow\authcode->handleauthresponse()
* line 165 of /auth/oidc/auth.php: call to auth_oidc\loginflow\authcode->handleredirect()
* line 29 of /auth/oidc/index.php: call to auth_plugin_oidc->handleredirect()
[13-Jan-2022 14:53:30 Asia/Riyadh] PHP Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/moodletis/public_html/lib/classes/session/manager.php on line 581
[13-Jan-2022 14:53:54 Asia/Riyadh] Default exception handler: Unknown state. Debug:
Error code: errorauthunknownstate
* line 198 of /auth/oidc/classes/loginflow/authcode.php: moodle_exception thrown
* line 114 of /auth/oidc/classes/loginflow/authcode.php: call to auth_oidc\loginflow\authcode->handleauthresponse()
* line 165 of /auth/oidc/auth.php: call to auth_oidc\loginflow\authcode->handleredirect()
* line 29 of /auth/oidc/index.php: call to auth_plugin_oidc->handleredirect()
[13-Jan-2022 14:55:14 Asia/Riyadh] Default exception handler: Sorry, the requested file could not be found Debug:
Error code: filenotfound
* line 498 of /lib/setuplib.php: moodle_exception thrown
* line 2075 of /lib/filelib.php: call to print_error()
* line 1862 of /mod/quiz/lib.php: call to send_file_not_found()
* line 2213 of /lib/questionlib.php: call to quiz_question_pluginfile()
* line 4876 of /lib/filelib.php: call to question_pluginfile()
* line 44 of /pluginfile.php: call to file_pluginfile()
[13-Jan-2022 14:55:23 Asia/Riyadh] Default exception handler: This attempt has already been finished. Debug:
Error code: attemptalreadyclosed
* line 84 of /mod/quiz/processattempt.php: moodle_quiz_exception thrown
[13-Jan-2022 14:56:13 Asia/Riyadh] Default exception handler: This attempt has already been finished. Debug:
Error code: attemptalreadyclosed
* line 84 of /mod/quiz/processattempt.php: moodle_quiz_exception thrown
[13-Jan-2022 14:57:15 Asia/Riyadh] Default exception handler: A required parameter (attempt) was missing Debug:
Error code: missingparam
* line 498 of /lib/setuplib.php: moodle_exception thrown
* line 566 of /lib/moodlelib.php: call to print_error()
* line 39 of /mod/quiz/processattempt.php: call to required_param()
[13-Jan-2022 15:00:26 Asia/Riyadh] PHP Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home/moodletis/public_html/lib/classes/session/manager.php on line 581
[13-Jan-2022 15:00:32 Asia/Riyadh] Default exception handler: Unknown state. Debug:
Error code: errorauthunknownstate
* line 198 of /auth/oidc/classes/loginflow/authcode.php: moodle_exception thrown
* line 114 of /auth/oidc/classes/loginflow/authcode.php: call to auth_oidc\loginflow\authcode->handleauthresponse()
* line 165 of /auth/oidc/auth.php: call to auth_oidc\loginflow\authcode->handleredirect()
* line 29 of /auth/oidc/index.php: call to auth_plugin_oidc->handleredirect()