Describe the issue or problem
Whenever a reviewer tries to submit their response to the form, either by submitting or doing save later. I encounter this error that I’ve provided below. I have been testing with OJS for a while and I never encountered this error but recently whenever I try to submit a response from a reviewer I get this error and I can’t fix it. Any help would be greatly appreciated, thank you!
What application are you using?
OJS 3.4.0.7
Additional information
PHP Fatal error: Uncaught Error: Call to undefined method APP\facades\Repo::reviewAssignment() in /Users/Bilal/Downloads/ojs/lib/pkp/classes/submission/reviewer/form/PKPReviewerReviewStep3Form.php:347
this is where the error is occurring:
Repo::reviewAssignment()->edit($reviewAssignment, [
'recommendation' => (int) $this->getData('recommendation'), // save the recommendation to the review assignment
]);