iThenticate error message

Plugin is successfully installed, configured but final submission button keep on working at step 5 and paper is not submitted when iThenticate plugin is active. The following error log is received:

[17-Aug-2024 13:56:38 America/New_York] PHP Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) of type array|string is deprecated in :::PATH:::/lib/pkp/lib/vendor/slim/slim/Slim/Http/Uri.php on line 716
[17-Aug-2024 13:56:38 America/New_York] Expected response code “250/251/252” but got code “550”, with message “550 Administrative prohibition”.
[17-Aug-2024 13:56:38 America/New_York] Expected response code “250/251/252” but got code “550”, with message “550 Administrative prohibition”.
[17-Aug-2024 13:56:39 America/New_York] Slim Application Error:
Type: Error
Message: Call to undefined method PKP\submissionFile\SubmissionFile::getMany()
File: :::PATH:::/plugins/generic/plagiarism/PlagiarismPlugin.php
Line: 205
Trace: #0 :::PATH:::/plugins/generic/plagiarism/PlagiarismSubmissionSubmitListener.php(46): APP\plugins\generic\plagiarism\PlagiarismPlugin->sendSubmissionFiles(Object(APP\journal\Journal), Object(APP\submission\Submission))
#1 :::PATH:::/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(441): APP\plugins\generic\plagiarism\PlagiarismSubmissionSubmitListener->handle(Object(PKP\observers\events\SubmissionSubmitted))

Hi @esciencepress,

I moved your post to a new thread because the old thread was relevant to OJS 3.3.0-x but I suspect you’re running 3.4.0-x. What version of OJS are you running? Please include this in your posts. (See How do I determine my PKP software's version? - #3 if you’re not sure.)

Regards,
Alec Smecher
Public Knowledge Project Team

@asmecher Thank you. My current OJS version is 3.4.0.6 last updated in August 16, 2024 - 07:11 AM.

Hi @esciencepress,

How did you install the plagiarism plugin? It looks like you might’ve mixed code from the git main branch into your installation, which is not recommended.

Regards,
Alec Smecher
Public Knowledge Project Team

Dear @asmecher

What should I do? Should I delete the plugin and re-install? Which version is suitable for installation please?

Hi @esciencepress,

You should generally install the plugin from the Plugin Gallery inside the application. The plugin gallery ensures that you’re installing a version that’s compatible.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher

Actually, the plugin is not available inside the plugin gallery. Is there any solution please?

Hi @esciencepress,

Can you double-check what version of OJS your installation self-reports? To do this, see:

Regards,
Alec Smecher
Public Knowledge Project Team

Dear @asmecher

I have administrator access and can see the version as;

Current version: 3.4.0.6 (August 16, 2024 - 07:11 AM)

I have deleted the plugina and re-installled by downloading from: GitHub - pkp/plagiarism: Plagiarism checker plugin for OJS 3/OMP and Upload a New Plugin.

I configured the plugin by putting iThanticate usename and password and also configured config.inc.php with the following;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; iThenticate Plugin Settings ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[ithenticate]

; Enable iThenticate to submit manuscripts after submit step 4
ithenticate = On

; Credentials can be set by context : specify journal path
; The username to access the API (usually an email address)

username = “name@email.com

; The password to access the API

password= “password”

The paper is successfully submitted but nothing is displayed on iThenticate.

I dont find anything in error_log related to this.

Hi @esciencepress,

There is not yet a supported release of the iThenticate plugin for OJS/OMP/OPS 3.4.0. That will come soon, but meanwhile the code in github will not work.

Regards,
Alec Smecher
Public Knowledge Project Team