Popup keeps loading

Hi

Using OJS 3.3.0.8 . In the copyediting stage when I upload a certain file in a certain article then popup for uploading comes and keep loading. Cant upload the file. Where as in other articles i can upload files. The log is this

#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
[02-Jul-2022 17:18:48 UTC] PHP Warning: Declaration of ManageCopyeditFilesForm::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/copyedit/form/ManageCopyeditFilesForm.inc.php on line 33
[02-Jul-2022 17:18:48 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/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

Hi @a2usmani

You are probably encountering this issue here:

which is fixed with this small modification:

This is fixed in main and will be part of 3.4

Best
Jason

1 Like