Cannot upload file in Copy Editing stage

Hi

I am using OJS 3.3.0.8. The system was working well but all of a sudden I cannot upload any file in the copyediting stage only. Don’t know why. Here is the log

Stack trace:
#0 /home/hamdardis/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(402): SubmissionFilesCategoryGridDataProvider->loadCategoryData(Object(Request), 4, Array)
#1 /home/hamdardis/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(124): CategoryGridHandler->loadCategoryData(Object(Request), 4, Array)
#2 /home/hamdardis/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(473): CategoryGridHandler->getGridCategoryDataElements(Object(Request), 4)
#3 /home/hamdardis/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(453): CategoryGridHandler->_renderCategoryInternally(Object(Request), Object(SelectableSubmissionFileListCategoryGridRow))
#4 /home/hamdardis/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(276): Category in /home/hamdardis/public_html/lib/pkp/controllers/grid/files/SubmissionFilesCategoryGridDataProvider.inc.php on line 131
[30-May-2022 10:26:42 UTC] PHP Warning: Declaration of ManageFinalDraftFilesForm::execute($stageSubmissionFiles, $fileStage = NULL) should be compatible with ManageSubmissionFilesForm::execute($stageSubmissionFiles = NULL, $fileStage = NULL, …$functionArgs) in /home/hamdardis/public_html/lib/pkp/controllers/grid/files/final/form/ManageFinalDraftFilesForm.inc.php on line 39
[30-May-2022 10:26:42 UTC] PHP Fatal error: Uncaught Error: Call to a member function getAssocId() on null in /home/hamdardis/public_html/lib/pkp/controllers/grid/files/SubmissionFilesCategoryGridDataProvider.inc.php:131
Stack trace:
#0 /home/hamdardis/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(402): SubmissionFilesCategoryGridDataProvider->loadCategoryData(Object(Request), 4, Array)
#1 /home/hamdardis/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(124): CategoryGridHandler->loadCategoryData(Object(Request), 4, Array)
#2 /home/hamdardis/public_html/lib/pkp/controllers/grid/files/final/ManageFinalDraftFilesGridHandler.inc.php(68): CategoryGridHandler->getGridCategoryDataElements(Object(Request), 4)
#3 /home/hamdardis/public_html/lib/pkp/classes/core/PKPRouter.inc.php(395): ManageFinalDraftFilesGridHandler->updateFinalDraftFiles(Array, Object(Request))
#4 /home/hamdardis/public_html/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Requ in /home/hamdardis/public_html/lib/pkp/controllers/grid/files/SubmissionFilesCategoryGridDataProvider.inc.php on line 131

Please guide

Hi @a2usmani

You’re probably encountering this bug: Unable to Upload/Select Files from Copyediting stage · Issue #7156 · pkp/pkp-lib · GitHub

This is probably the code edit you should make:

And this will be fixed in 3.4.

Best
Jason