Describe the issue or problem
I received an error when trying to re-instate a reviewer that was accidentally cancelled.
Steps I took leading up to the issue
Go to the reviewer section of a submission. Find a reviewer where the status is “Request Cancelled”
click on the “…” select “Reinstate Reviewer”. An error pops up.
What application are you using?
OJS 3.5.0-5
Additional information
Error Log:
thrown in lib/pkp/controllers/grid/users/reviewer/form/ReviewerNotifyActionForm.php on line 90
[06-Oct-2026 12:14:15 America/Edmonton] PHP Fatal error: Uncaught Error: Call to a member function getLocalizedData() on null in lib/pkp/controllers/grid/users/reviewer/form/ReviewerNotifyActionForm.php:90
I looked at table “email_templates_default_data” in many of our other journals and most do not have REVIEW_REINSTATE. I’m wondering if there is a problem with the update script.
My solution was to just copy the missing data from a journal that has REVIEW_REINSTATE into the journals that does not.
START TRANSACTION;
INSERT INTO TARGET_JOURNAL.email_templates_default_data
(email_key, locale, NAME, SUBJECT, BODY)
SELECT
source.email_key,
source.locale,
source.name,
source.subject,
source.body
FROM SOURCE_JOURNAL.email_templates_default_data AS SOURCE
WHERE source.email_key = ‘REVIEW_REINSTATE’
AND NOT EXISTS (
SELECT 1
FROM TARGET_JOURNAL.email_templates_default_data AS target
WHERE target.email_key = source.email_key
AND target.locale = source.locale
);
SELECT *
FROM TARGET_JOURNAL.email_templates_default_data
WHERE email_key = ‘REVIEW_REINSTATE’;
COMMIT;