You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I click on 'Add Reviewer' button to add a reviewer to a submission the browser shows a pop box with 'Failed Ajax request or invalid JSON returned.' message
In the OJS log the following fatal errors appear: [11-Feb-2024 12:33:58 UTC] PHP Fatal error: Uncaught Error: Call to a member function getLocalizedData() on null in **/lib/pkp/controllers/grid/users/reviewer/form/ReviewerForm.php:482 Stack trace: #0 **/lib/pkp/controllers/grid/users/reviewer/form/AdvancedSearchReviewerForm.php(253): PKP\controllers\grid\users\reviewer\form\ReviewerForm->getEmailTemplates() #1 **/lib/pkp/controllers/grid/users/reviewer/form/ReviewerForm.php(264): PKP\controllers\grid\users\reviewer\form\AdvancedSearchReviewerForm->getEmailTemplates() #2 **/lib/pkp/controllers/grid/users/reviewer/form/AdvancedSearchReviewerForm.php(238): PKP\controllers\grid\users\reviewer\form\ReviewerForm->fetch(Object(APP\core\Request), NULL, false) #3 **/lib/pkp/classes/controllers/grid/users/reviewer/PKPReviewerGridHandler.php(1092): PKP\controllers\grid\users\reviewer\form\AdvancedSearchReviewerForm->fetch(Object(APP\core\Request)) #4 **/lib/pkp/classes/controllers/grid/users/reviewer/PKPReviewerGridHandler.php(353): PKP\controllers\grid\users\reviewer\PKPReviewerGridHandler->_fetchReviewerForm(Array, Object(APP\core\Request)) #5 [internal function]: PKP\controllers\grid\users\reviewer\PKPReviewerGridHandler->showReviewerForm(Array, Object(APP\core\Request)) #6 **/lib/pkp/classes/core/PKPRouter.php(334): call_user_func(Array, Array, Object(APP\core\Request)) #7 **/lib/pkp/classes/core/PKPComponentRouter.php(291): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(APP\core\Request), Array) #8 **/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPComponentRouter->route(Object(APP\core\Request)) #9 **/lib/pkp/classes/core/PKPApplication.php(388): PKP\core\Dispatcher->dispatch(Object(APP\core\Request)) #10 **/index.php(21): PKP\core\PKPApplication->execute() #11 {main} thrown in **/ib/pkp/controllers/grid/users/reviewer/form/ReviewerForm.php on line 482
To Reproduce
Steps to reproduce the behavior:
Go to 'Submissions' section
Choose a submission in 'Review' stage
Click 'Add Reviewer'
A pop box should appear with the error message.
What application are you using?
OJS: 3.4.0-4
OS platform: Linux
PHP version 8.2.13
Additional information
Please add any screenshots, logs or other information we can use to investigate this bug report.
The text was updated successfully, but these errors were encountered:
Realised this issue caused by some corruption in the table (email_templates_default_data) which holds the email templates. I think the issue appeared after OJS upgrade done in this order (3.4.0.4 <-- 3.4.0.3 <-- 3.4.0.0 <-- 3.3.0.15 )
This was fixed by importing a this table from a correct working system.
Describe the bug
When I click on 'Add Reviewer' button to add a reviewer to a submission the browser shows a pop box with 'Failed Ajax request or invalid JSON returned.' message
In the OJS log the following fatal errors appear:
[11-Feb-2024 12:33:58 UTC] PHP Fatal error: Uncaught Error: Call to a member function getLocalizedData() on null in **/lib/pkp/controllers/grid/users/reviewer/form/ReviewerForm.php:482 Stack trace: #0 **/lib/pkp/controllers/grid/users/reviewer/form/AdvancedSearchReviewerForm.php(253): PKP\controllers\grid\users\reviewer\form\ReviewerForm->getEmailTemplates() #1 **/lib/pkp/controllers/grid/users/reviewer/form/ReviewerForm.php(264): PKP\controllers\grid\users\reviewer\form\AdvancedSearchReviewerForm->getEmailTemplates() #2 **/lib/pkp/controllers/grid/users/reviewer/form/AdvancedSearchReviewerForm.php(238): PKP\controllers\grid\users\reviewer\form\ReviewerForm->fetch(Object(APP\core\Request), NULL, false) #3 **/lib/pkp/classes/controllers/grid/users/reviewer/PKPReviewerGridHandler.php(1092): PKP\controllers\grid\users\reviewer\form\AdvancedSearchReviewerForm->fetch(Object(APP\core\Request)) #4 **/lib/pkp/classes/controllers/grid/users/reviewer/PKPReviewerGridHandler.php(353): PKP\controllers\grid\users\reviewer\PKPReviewerGridHandler->_fetchReviewerForm(Array, Object(APP\core\Request)) #5 [internal function]: PKP\controllers\grid\users\reviewer\PKPReviewerGridHandler->showReviewerForm(Array, Object(APP\core\Request)) #6 **/lib/pkp/classes/core/PKPRouter.php(334): call_user_func(Array, Array, Object(APP\core\Request)) #7 **/lib/pkp/classes/core/PKPComponentRouter.php(291): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(APP\core\Request), Array) #8 **/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPComponentRouter->route(Object(APP\core\Request)) #9 **/lib/pkp/classes/core/PKPApplication.php(388): PKP\core\Dispatcher->dispatch(Object(APP\core\Request)) #10 **/index.php(21): PKP\core\PKPApplication->execute() #11 {main} thrown in **/ib/pkp/controllers/grid/users/reviewer/form/ReviewerForm.php on line 482
To Reproduce
Steps to reproduce the behavior:
What application are you using?
OJS: 3.4.0-4
OS platform: Linux
PHP version 8.2.13
Additional information
Please add any screenshots, logs or other information we can use to investigate this bug report.
The text was updated successfully, but these errors were encountered: