After Updating to OJS 3.4.0.1 participant notify is not working

When I try to send notification email to a participant of a submission, it’s got stuck in loading and throws a 500 error on
send-notification?stageId=XXX&submissionId=XXX

Steps I took leading up to the issue

  1. Go to ‘submissions’
  2. Click on ‘view’ button of any submission
  3. In the participant section click on notify text inside the participant’s name
  4. when i try to send the notification message following ajax error comes up

[09-Jul-2023 01:19:23 Asia/Dhaka] PHP Fatal error: Uncaught TypeError: array_intersect_key(): Argument #2 must be of type array, null given in /home/jhssrmijan/public_html/lib/pkp/controllers/grid/users/stageParticipant/form/PKPStageParticipantNotifyForm.php:221
Stack trace:
#0 /home/jhssrmijan/public_html/lib/pkp/controllers/grid/users/stageParticipant/form/PKPStageParticipantNotifyForm.php(221): array_intersect_key()
#1 /home/jhssrmijan/public_html/lib/pkp/controllers/grid/users/stageParticipant/form/PKPStageParticipantNotifyForm.php(155): PKP\controllers\grid\users\stageParticipant\form\PKPStageParticipantNotifyForm->sendMessage()
#2 /home/jhssrmijan/public_html/lib/pkp/controllers/grid/users/stageParticipant/StageParticipantGridHandler.php(546): PKP\controllers\grid\users\stageParticipant\form\PKPStageParticipantNotifyForm->execute()
#3 [internal function]: PKP\controllers\grid\users\stageParticipant\StageParticipantGridHandler->sendNotification()
#4 /home/jhssrmijan/public_html/lib/pkp/classes/core/PKPRouter.php(334): call_user_func()
#5 /home/jhssrmijan/public_html/lib/pkp/classes/core/PKPComponentRouter.php(291): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest()
#6 /home/jhssrmijan/public_html/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPComponentRouter->route()
#7 /home/jhssrmijan/public_html/lib/pkp/classes/core/PKPApplication.php(373): PKP\core\Dispatcher->dispatch()
#8 /home/jhssrmijan/public_html/index.php(21): PKP\core\PKPApplication->execute()
#9 {main}
thrown in /home/jhssrmijan/public_html/lib/pkp/controllers/grid/users/stageParticipant/form/PKPStageParticipantNotifyForm.php on line 221

I have updated OJS 3.3.0.14 to OJS 3.3.0-4


Hi @ahamed-kashif,

I’ve filed and fixed this here:

There is a patch that you can apply linked from there, or you can wait for the 3.4.0-2 release to come out in the next 1-2 weeks.

Regards,
Alec Smecher
Public Knowledge Project Team

This topic was automatically closed after 6 days. New replies are no longer allowed.