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

Error on ad-hoc task on Moodle 4.4 #714

Open
izendegi opened this issue Jun 13, 2024 · 0 comments
Open

Error on ad-hoc task on Moodle 4.4 #714

izendegi opened this issue Jun 13, 2024 · 0 comments

Comments

@izendegi
Copy link
Contributor

After upgrading a site from 4.3 to Moodle 4.4 the plagiarism_turnitin\task\send_submissions ad-hoc task returns an error every time it is executed:

Scheduled task failed: Send Queued Files from the Turnitin Plagiarism Plugin (plagiarism_turnitin\task\send_submissions),syntax error, unexpected token "private"
Backtrace:
* line 322 of /plagiarism/turnitin/vendor/composer/ClassLoader.php: call to Composer\Autoload\includeFile()
* line 12 of /plagiarism/turnitin/vendor/Integrations/phpsdk-package/src/ClassSoap.php: call to Composer\Autoload\ClassLoader->loadClass()
* line 444 of /plagiarism/turnitin/vendor/composer/ClassLoader.php: call to include()
* line 322 of /plagiarism/turnitin/vendor/composer/ClassLoader.php: call to Composer\Autoload\includeFile()
* line 838 of /plagiarism/turnitin/vendor/Integrations/phpsdk-package/src/TurnitinAPI.php: call to Composer\Autoload\ClassLoader->loadClass()
* line 430 of /plagiarism/turnitin/lib.php: call to Integrations\PhpSdk\TurnitinAPI->findClasses()
* line 2943 of /plagiarism/turnitin/lib.php: call to plagiarism_plugin_turnitin->test_turnitin_connection()
* line 46 of /plagiarism/turnitin/classes/task/send_submissions.php: call to plagiarism_turnitin_send_queued_submissions()
* line 410 of /lib/classes/cron.php: call to plagiarism_turnitin\task\send_submissions->execute()
* line 208 of /lib/classes/cron.php: call to core\cron::run_inner_scheduled_task()
* line 125 of /lib/classes/cron.php: call to core\cron::run_scheduled_tasks()
* line 186 of /admin/cli/cron.php: call to core\cron::run_main_process()

We have installed the latest version of the plugin (2024032901) and it happens with both Moodle 4.4.0 and 4.4.1

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

No branches or pull requests

2 participants