turnitin / moodle-plagiarism_turnitin

Turnitin Plagiarism plugin for Moodle
http://www.turnitin.com
45 stars 65 forks source link

Errors with plugin in Moodle 4.0 #640

Open haietza opened 1 year ago

haietza commented 1 year ago

We're running Moodle 4.0.4+ (Build: 20221007) with version 2022092101 of the plagiarism plugin and are not able to get any results back on either a forum or assignment. Seeing two errors from the forum:

Default exception handler: Coding error detected, it must be fixed by a programmer: The 'pathnamehashes' value must be set in other and must be an array. Debug: Error code: codingerror

PHP Notice: Trying to get property 'id' of non-object in /var/www/html/plagiarism/turnitin/classes/turnitin_submission.class.php on line 131

Forum posts keep showing the Resubmit to Turnitin button, but clicking does not resolve the issue.

The assignment instance, when running the scheduled cron task to submit queued files, this error was displayed:

This module could not be created on Turnitin, please consult your API logs for further information

This Moodle instance is a development instance hosted on AWS, but it is using our production credentials.

Please advise.