Description of issue or problem I’m having:
OJS 3.2.1.4.
I get error when trying to complete a new proposal with plagiarism. The message in the error log is:
[08-Jun-2022 15:38:58 Europe/Rome] PHP Fatal error: Uncaught Pimple\Exception\UnknownIdentifierException: Identifier “submissionFile” is not defined. in /var/www/html/ojstest/lib/pkp/lib/vendor/pimple/pimple/src/Pimple/Container.php:110
Stack trace:
#0 /var/www/html/ojstest/lib/pkp/classes/core/PKPServices.inc.php(69): Pimple\Container->offsetGet(‘submissionFile’)
#1 /var/www/html/ojstest/lib/pkp/classes/core/PKPServices.inc.php(50): PKPServices->_getFromContainer(‘submissionFile’)
#2 /var/www/html/ojstest/plugins/generic/plagiarism/PlagiarismPlugin.inc.php(108): PKPServices::get(‘submissionFile’)
#3 /var/www/html/ojstest/lib/pkp/classes/plugins/HookRegistry.inc.php(107): PlagiarismPlugin->callback(‘submissionsubmi…’, Array)
#4 /var/www/html/ojstest/lib/pkp/classes/form/Form.inc.php(314): HookRegistry::call(‘submissionsubmi…’, Array)
#5 /var/www/html/ojstest/lib/pkp/classes/submission/form/PKPSubmissionSubmitStep4Form.inc.php(45): Form->execute()
#6 /var/www/html/ojstest/classes/submission/form/SubmissionSubmitStep4Form.inc.php(36): PKPSubmissionSubmitStep in /var/www/html/ojstest/lib/pkp/lib/vendor/pimple/pimple/src/Pimple/Container.php on line 110
Steps I took leading up to the issue:
I complete all the steps to prepare a new proposal, but, when I press the last submit button, I get 500 and the errors I’ve reported.
What I tried to resolve the issue:
I tried to debug, without success. There is a function offsetSet that does not set submissionFile and when the Pimple\Container->offsetGet(‘submissionFile’) is called, the error is thrown.
Application Version - e.g., OJS 3.1.2:
OJS 3.2.1.4
Additional information, such as screenshots and error log messages if applicable: