Hello everyone,
I got the following error message while accepting submission.
Failed Ajax request or invalid JSON returned.
The following is the php log of the error:
PHP Fatal error: Uncaught TypeError: htmlspecialchars(): Argument #1 ($string) must be of type string, array given in [path]/lib/pkp/classes/mail/MailTemplate.inc.php:150, referer: [path]/workflow/index/228/3
Stack trace:, referer: [path]/workflow/index/228/3
#0 [path]/lib/pkp/classes/mail/MailTemplate.inc.php(150): htmlspecialchars(Array), referer: [path]/workflow/index/228/3
#1 [path]/lib/pkp/classes/mail/SubmissionMailTemplate.inc.php(52): MailTemplate->assignParams(Array), referer: [path]/workflow/index/228/3
#2 [path]/lib/pkp/controllers/modals/editorDecision/form/EditorDecisionWithEmailForm.inc.php(72): SubmissionMailTemplate->assignParams(Array), referer: [path]/workflow/index/228/3
#3 [path]/lib/pkp/controllers/modals/editorDecision/form/PromoteForm.inc.php(62): EditorDecisionWithEmailForm->initData(Array), referer: [path]/workflow/index/228/3
#4 [path]/lib/pkp/classes/controllers/modals/editorDecision/PKPEditorDecisionHandler.inc.php(442): PromoteForm->initData(), referer: [path]/workflow/index/228/3
#5 [path]/lib/pkp/classes/controllers/modals/editorDecision/PKPEditorDecisionHandler.inc.php(166): PKPEditorDecisionHandler->_initiateEditorDecision(Array, Object(Request), 'PromoteForm'), referer: [path]/workflow/index/228/3
#6 [path]/lib/pkp/classes/core/PKPRouter.inc.php(395): PKPEditorDecisionHandler->promoteInReview(Array, Object(Request)), referer: [path]/workflow/index/228/3
#7 [path]/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array), referer: [path]/workflow/index/228/3
#8 [path]/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPComponentRouter->route(Object(Request)), referer: [path]/workflow/index/228/3
#9 [path]/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request)), referer: [path]/workflow/index/228/3
#10[path]/index.php(68): PKPApplication->execute(), referer: [path]/workflow/index/228/3
#11 {main}, referer: [path]/workflow/index/228/3
Any comments on the issue?