Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turnitin plugin preventing automated quiz submission to be graded #795

Open
qchan-mindfield opened this issue Jan 30, 2025 · 1 comment
Open

Comments

@qchan-mindfield
Copy link

We're on Moodle 4.1.8 and the turnitin plugin is version 4.1+.

We've been noticing that our quizzes which have set end dates and times haven't been automatically submitted and graded recently even though it's set to when time expires, open attempts are automatically submitted.

Image
Image

I've checked the scheduled tasks and it keeps failing to submit these overdue attempts.

Execute scheduled task: Updating overdue quiz attempts (mod_quiz\task\update_overdue_attempts)
... started 21:08:28. Current memory use 5.0 MB.
  Looking for quiz overdue quiz attempts...
... used 46 dbqueries
... used 0.56224203109741 seconds
Scheduled task failed: Updating overdue quiz attempts (mod_quiz\task\update_overdue_attempts),Class 'mod_quiz\quiz_attempt' not found
Backtrace:
* line 159 of \plagiarism\turnitin\classes\observer.php: call to plagiarism_plugin_turnitin->event_handler()
* line ? of unknownfile: call to plagiarism_turnitin_observer::quiz_submitted()
* line 155 of \lib\classes\event\manager.php: call to call_user_func()
* line 75 of \lib\classes\event\manager.php: call to core\event\manager::process_buffers()
* line 835 of \lib\classes\event\base.php: call to core\event\manager::dispatch()
* line 2310 of \mod\quiz\attemptlib.php: call to core\event\base->trigger()
* line 2220 of \mod\quiz\attemptlib.php: call to quiz_attempt->fire_state_transition_event()
* line 2030 of \mod\quiz\attemptlib.php: call to quiz_attempt->process_finish()
* line 79 of \mod\quiz\cronlib.php: call to quiz_attempt->handle_if_time_expired()
* line 61 of \mod\quiz\classes\task\update_overdue_attempts.php: call to mod_quiz_overdue_attempt_updater->update_overdue_attempts()
* line 263 of \lib\cronlib.php: call to mod_quiz\task\update_overdue_attempts->execute()
* line 120 of \lib\cronlib.php: call to cron_run_inner_scheduled_task()
* line 73 of \lib\cronlib.php: call to cron_run_scheduled_tasks()
* line 178 of \admin\cli\cron.php: call to cron_run()

Front-end error shows the same error. Everytime the process reaches the turnitin php; an error occurs.

Image

@qchan-mindfield
Copy link
Author

I just realized, this is the same issue already created. #789

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant