The scheduled task 'Update Report Scores for Turnitin Plagiarism Plugin' can show PHP notices.
mdjnelson opened this issue · 3 comments
mdjnelson commented
I know this would not be the case if I had configured the plugin, but I do not need to (at least for now) on my dev site, however it gets installed automatically via .gitmodules. We should not have PHP notices regardless if settings are enabled or not.
Thanks!
Scheduled task failed: Update Report Scores for Turnitin Plagiarism Plugin (plagiarism_turnitin\task\update_reports),You must configure this module fully as Administrator before using it within a course. Please contact your Moodle administrator.
Backtrace:
* line 3281 of /plagiarism/turnitin/lib.php: call to print_error()
* line 49 of /plagiarism/turnitin/classes/turnitin_comms.class.php: call to plagiarism_turnitin_print_error()
* line 1976 of /plagiarism/turnitin/lib.php: call to turnitin_comms->__construct()
* line 1885 of /plagiarism/turnitin/lib.php: call to plagiarism_plugin_turnitin->check_local_submission_state()
* line 2829 of /plagiarism/turnitin/lib.php: call to plagiarism_plugin_turnitin->cron_update_scores()
* line 44 of /plagiarism/turnitin/classes/task/update_reports.php: call to plagiarism_turnitin_update_reports()
* line 249 of /lib/cronlib.php: call to plagiarism_turnitin\task\update_reports->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()
Execute scheduled task: Send Queued Files from the Turnitin Plagiarism Plugin (plagiarism_turnitin\task\send_submissions)
... started 12:00:16. Current memory use 29.5MB.
PHP Notice: Undefined property: stdClass::$plagiarism_turnitin_apiurl in /home/marknelson/moodles/monash/moodle/plagiarism/turnitin/classes/turnitin_comms.class.php on line 41
Notice: Undefined property: stdClass::$plagiarism_turnitin_apiurl in /home/marknelson/moodles/monash/moodle/plagiarism/turnitin/classes/turnitin_comms.class.php on line 41
PHP Notice: Undefined property: stdClass::$plagiarism_turnitin_apiurl in /home/marknelson/moodles/monash/moodle/plagiarism/turnitin/classes/turnitin_comms.class.php on line 41
Notice: Undefined property: stdClass::$plagiarism_turnitin_apiurl in /home/marknelson/moodles/monash/moodle/plagiarism/turnitin/classes/turnitin_comms.class.php on line 41
PHP Notice: Undefined property: stdClass::$plagiarism_turnitin_accountid in /home/marknelson/moodles/monash/moodle/plagiarism/turnitin/classes/turnitin_comms.class.php on line 44
Notice: Undefined property: stdClass::$plagiarism_turnitin_accountid in /home/marknelson/moodles/monash/moodle/plagiarism/turnitin/classes/turnitin_comms.class.php on line 44
PHP Notice: Undefined property: stdClass::$plagiarism_turnitin_secretkey in /home/marknelson/moodles/monash/moodle/plagiarism/turnitin/classes/turnitin_comms.class.php on line 46
Notice: Undefined property: stdClass::$plagiarism_turnitin_secretkey in /home/marknelson/moodles/monash/moodle/plagiarism/turnitin/classes/turnitin_comms.class.php on line 46
... used 0 dbqueries
... used 0.0001981258392334 second