Hi everyone I have an problem with respect to the upgrading from a Journal in OJS 2.4.8 to OJS 3.1.
I am upgrading using the following command
php tools/upgrade.php upgrade
The first time my upgrading process finished with the following messages:
ERROR: Reviewer files with ID 168293 from review assignment 6823 could not be found in the database table submission_files
ERROR: Reviewer files with ID 168947 from review assignment 6953 could not be found in the database table submission_files
[code: Installer Installer::fixAuthorGroup]
[data: dbscripts/xml/upgrade/3.0.0_reviewer_files.xml]
[code: Installer Installer::removeCancelledReviewAssignments]
PHP Fatal error: Call to a member function getContextId() on null in /var/www/html/iisue_prev/lib/pkp/classes/submission/reviewAssignment/ReviewAssignment.inc.php on line 517
I have read in this topic Error Upgrade 2.4.8.2 to 3.1.0 - #15 by bozana, there said for resolve the error:
ERROR: Reviewer files with ID 168293 from review assignment 6823 could not be found in the database table submission_files
We have to remove the rows in the review_assignments
table where the reviewer_file_id
field is in (168293, 168947) for my specific case, then I had tried the upgrading process with a clean database restore again, but the upgrading process has finished with the same last error:
[code: Installer Installer::moveReviewerFiles]
[code: Installer Installer::fixAuthorGroup]
[data: dbscripts/xml/upgrade/3.0.0_reviewer_files.xml]
[code: Installer Installer::removeCancelledReviewAssignments]
PHP Fatal error: Call to a member function getContextId() on null in /var/www/html/iisue_prev/lib/pkp/classes/submission/reviewAssignment/ReviewAssignment.inc.php on line 517
Note please that the first 2 errors arenât present now.
Someone of the PKP team knows how to resolve this last error:
PHP Fatal error: Call to a member function getContextId() on null in /var/www/html/iisue_prev/lib/pkp/classes/submission/reviewAssignment/ReviewAssignment.inc.php on line 517