[OJS] error when I try to upload a new file in the review process

Hello, I have an error in OJS when i try to upload/select a file in the review process. The error is :


I have been trying to fix it for several hours now but i can’t solve it and i hope somebody will help me.

here is the error that I get in the php/apache error log :

PHP Fatal error: Declaration of ManageReviewFilesForm::execute($stageSubmissionFiles, $fileStage = null) must be compatible with ManageSubmissionFilesForm::execute($stageSubmissionFiles = null, $fileStage = null, …$functionArgs) in /htdocs/stage-ahp/lib/pkp/controllers/grid/files/review/form/ManageReviewFilesForm.inc.php on line 87’

Hi @etix,

This looks quite similar to what is discussed here: Error when clicking "Upload/Select" review files - #2 by bryanlougheed
-perhaps you could try what is suggested there as a first step (if you use a similar hosting environment to what that user was using).

PKP Team

Hi @rcgillis

Thank you for your reply, i’ll try it.

After trying several times, I still can’t resolve that error

Hi @etix,

That’s too bad. I’m sure what to suggest at this point, but I’ll see if some of my colleagues can have a look at this when they are available.

Best regards,

PKP Team