Saving not working

When uploading files at submission or later in editorial process, the timer goes round endlessly and does not stop.

In fact, the files are usually being saved but one cannot leave the page.

Using OJS 3.3.0.10

I recently made an attempt at an OJS upgrade which failed so I did a restore. All else seems fine.

Three excerpts from the error.log …

[09-Feb-2024 16:12:16 Europe/London] PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\escapeshellcmd() in /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php:1729
Stack trace:
#0 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1813): PHPMailer\PHPMailer\PHPMailer::isShellSafe()
#1 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1611): PHPMailer\PHPMailer\PHPMailer->mailSend()
#2 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1442): PHPMailer\PHPMailer\PHPMailer->postSend()
#3 /home/murmur/public_html/ojs/lib/pkp/classes/mail/Mail.inc.php(592): PHPMailer\PHPMailer\PHPMailer->send()
#4 /home/murmur/public_html/ojs/lib/pkp/classes/mail/MailTemplate.inc.php(212): Mail->send()
#5 /home/murmur/public_html/ojs/lib/pkp/classes/mail/SubmissionMailTemplate.inc.php(68): MailTemplate->send()
#6 /home/murmur/public_html/ojs/lib/pkp/controllers/modals/editorDecision/form/EditorDecisionWithEmailForm.inc.php(325): SubmissionMailTemplate->send()
#7 /home/murmur/public_html/ojs/lib/pkp/controllers/modals/editorDecision/form/PromoteForm.inc.php(123): EditorDecisionWithEmailForm->_sendReviewMailToAuthor()
#8 /home/murmur/public_html/ojs/lib/pkp/classes/controllers/modals/editorDecision/PKPEditorDecisionHandler.inc.php(467): PromoteForm->execute()
#9 /home/murmur/public_html/ojs/controllers/modals/editorDecision/EditorDecisionHandler.inc.php(103): PKPEditorDecisionHandler->_saveEditorDecision()
#10 /home/murmur/public_html/ojs/lib/pkp/classes/controllers/modals/editorDecision/PKPEditorDecisionHandler.inc.php(187): EditorDecisionHandler->_saveGeneralPromote()
#11 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): PKPEditorDecisionHandler->savePromoteInReview()
#12 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest()
#13 /home/murmur/public_html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPComponentRouter->route()
#14 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#15 /home/murmur/public_html/ojs/index.php(68): PKPApplication->execute()
#16 {main}
thrown in /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php on line 1729
[09-Feb-2024 16:21:59 Europe/London] PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\escapeshellcmd() in /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php:1729
Stack trace:
#0 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1813): PHPMailer\PHPMailer\PHPMailer::isShellSafe()
#1 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1611): PHPMailer\PHPMailer\PHPMailer->mailSend()
#2 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1442): PHPMailer\PHPMailer\PHPMailer->postSend()
#3 /home/murmur/public_html/ojs/lib/pkp/classes/mail/Mail.inc.php(592): PHPMailer\PHPMailer\PHPMailer->send()
#4 /home/murmur/public_html/ojs/lib/pkp/classes/mail/MailTemplate.inc.php(212): Mail->send()
#5 /home/murmur/public_html/ojs/lib/pkp/classes/mail/SubmissionMailTemplate.inc.php(68): MailTemplate->send()
#6 /home/murmur/public_html/ojs/lib/pkp/classes/submission/reviewer/ReviewerAction.inc.php(57): SubmissionMailTemplate->send()
#7 /home/murmur/public_html/ojs/lib/pkp/classes/submission/reviewer/form/PKPReviewerReviewStep1Form.inc.php(140): ReviewerAction->confirmReview()
#8 /home/murmur/public_html/ojs/lib/pkp/pages/reviewer/PKPReviewerHandler.inc.php(123): PKPReviewerReviewStep1Form->execute()
#9 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): PKPReviewerHandler->saveStep()
#10 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()
#11 /home/murmur/public_html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route()
#12 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#13 /home/murmur/public_html/ojs/index.php(68): PKPApplication->execute()
#14 {main}
thrown in /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php on line 1729
[09-Feb-2024 16:23:19 Europe/London] PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\escapeshellcmd() in /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php:1729
Stack trace:
#0 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1813): PHPMailer\PHPMailer\PHPMailer::isShellSafe()
#1 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1611): PHPMailer\PHPMailer\PHPMailer->mailSend()
#2 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1442): PHPMailer\PHPMailer\PHPMailer->postSend()
#3 /home/murmur/public_html/ojs/lib/pkp/classes/mail/Mail.inc.php(592): PHPMailer\PHPMailer\PHPMailer->send()
#4 /home/murmur/public_html/ojs/lib/pkp/classes/mail/MailTemplate.inc.php(212): Mail->send()
#5 /home/murmur/public_html/ojs/lib/pkp/classes/notification/PKPNotificationOperationManager.inc.php(388): MailTemplate->send()
#6 /home/murmur/public_html/ojs/lib/pkp/classes/notification/PKPNotificationOperationManager.inc.php(153): PKPNotificationOperationManager->sendNotificationEmail()
#7 /home/murmur/public_html/ojs/lib/pkp/classes/submission/reviewer/form/PKPReviewerReviewStep3Form.inc.php(141): PKPNotificationOperationManager->createNotification()
#8 /home/murmur/public_html/ojs/lib/pkp/pages/reviewer/PKPReviewerHandler.inc.php(123): PKPReviewerReviewStep3Form->execute()
#9 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): PKPReviewerHandler->saveStep()
#10 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()
#11 /home/murmur/public_html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route()
#12 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#13 /home/murmur/public_html/ojs/index.php(68): PKPApplication->execute()
#14 {main}
thrown in /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php on line 1729


[17-Feb-2024 12:27:51 Europe/London] PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\escapeshellcmd() in /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php:1729
Stack trace:
#0 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1813): PHPMailer\PHPMailer\PHPMailer::isShellSafe()
#1 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1611): PHPMailer\PHPMailer\PHPMailer->mailSend()
#2 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1442): PHPMailer\PHPMailer\PHPMailer->postSend()
#3 /home/murmur/public_html/ojs/lib/pkp/classes/mail/Mail.inc.php(592): PHPMailer\PHPMailer\PHPMailer->send()
#4 /home/murmur/public_html/ojs/lib/pkp/classes/mail/MailTemplate.inc.php(212): Mail->send()
#5 /home/murmur/public_html/ojs/lib/pkp/classes/mail/MailTemplate.inc.php(250): MailTemplate->send()
#6 /home/murmur/public_html/ojs/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php(705): MailTemplate->sendWithParams()
#7 /home/murmur/public_html/ojs/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php(426): OrcidProfilePlugin->sendAuthorMail()
#8 /home/murmur/public_html/ojs/lib/pkp/classes/plugins/HookRegistry.inc.php(107): OrcidProfilePlugin->handleAuthorFormExecute()
#9 /home/murmur/public_html/ojs/lib/pkp/classes/form/Form.inc.php(314): HookRegistry::call()
#10 /home/murmur/public_html/ojs/lib/pkp/controllers/grid/users/author/form/PKPAuthorForm.inc.php(205): Form->execute()
#11 /home/murmur/public_html/ojs/lib/pkp/controllers/grid/users/author/AuthorGridHandler.inc.php(331): PKPAuthorForm->execute()
#12 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): AuthorGridHandler->updateAuthor()
#13 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest()
#14 /home/murmur/public_html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPComponentRouter->route()
#15 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#16 /home/murmur/public_html/ojs/index.php(68): PKPApplication->execute()
#17 {main}
thrown in /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php on line 1729
[17-Feb-2024 12:29:15 Europe/London] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php:36
Stack trace:
#0 /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php(36): array_merge()
#1 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): CitationsHandler->get()
#2 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()
#3 /home/murmur/public_html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route()
#4 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#5 /home/murmur/public_html/ojs/index.php(68): PKPApplication->execute()
#6 {main}
thrown in /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php on line 36
[17-Feb-2024 12:33:18 Europe/London] PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\escapeshellcmd() in /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php:1729
Stack trace:
#0 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1813): PHPMailer\PHPMailer\PHPMailer::isShellSafe()
#1 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1611): PHPMailer\PHPMailer\PHPMailer->mailSend()
#2 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1442): PHPMailer\PHPMailer\PHPMailer->postSend()
#3 /home/murmur/public_html/ojs/lib/pkp/classes/mail/Mail.inc.php(592): PHPMailer\PHPMailer\PHPMailer->send()
#4 /home/murmur/public_html/ojs/lib/pkp/classes/mail/MailTemplate.inc.php(212): Mail->send()
#5 /home/murmur/public_html/ojs/lib/pkp/classes/mail/MailTemplate.inc.php(250): MailTemplate->send()
#6 /home/murmur/public_html/ojs/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php(705): MailTemplate->sendWithParams()
#7 /home/murmur/public_html/ojs/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php(426): OrcidProfilePlugin->sendAuthorMail()
#8 /home/murmur/public_html/ojs/lib/pkp/classes/plugins/HookRegistry.inc.php(107): OrcidProfilePlugin->handleAuthorFormExecute()
#9 /home/murmur/public_html/ojs/lib/pkp/classes/form/Form.inc.php(314): HookRegistry::call()
#10 /home/murmur/public_html/ojs/lib/pkp/controllers/grid/users/author/form/PKPAuthorForm.inc.php(205): Form->execute()
#11 /home/murmur/public_html/ojs/lib/pkp/controllers/grid/users/author/AuthorGridHandler.inc.php(331): PKPAuthorForm->execute()
#12 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): AuthorGridHandler->updateAuthor()
#13 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest()
#14 /home/murmur/public_html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPComponentRouter->route()
#15 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#16 /home/murmur/public_html/ojs/index.php(68): PKPApplication->execute()
#17 {main}
thrown in /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php on line 1729


there are lots of these all the time:

[18-Feb-2024 20:12:49 Europe/London] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php:36
Stack trace:
#0 /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php(36): array_merge()
#1 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): CitationsHandler->get()
#2 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()
#3 /home/murmur/public_html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route()
#4 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#5 /home/murmur/public_html/ojs/index.php(68): PKPApplication->execute()
#6 {main}
thrown in /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php on line 36
[18-Feb-2024 20:12:51 Europe/London] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php:36
Stack trace:
#0 /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php(36): array_merge()
#1 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): CitationsHandler->get()
#2 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()
#3 /home/murmur/public_html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route()
#4 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#5 /home/murmur/public_html/ojs/index.php(68): PKPApplication->execute()
#6 {main}
thrown in /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php on line 36
[18-Feb-2024 20:17:22 Europe/London] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php:36
Stack trace:
#0 /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php(36): array_merge()
#1 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): CitationsHandler->get()
#2 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()
#3 /home/murmur/public_html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route()
#4 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#5 /home/murmur/public_html/ojs/index.php(68): PKPApplication->execute()
#6 {main}
thrown in /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php on line 36

Hi @gail,

Check your PHP disallowed functions; I suspect you’ll find that escapeshellcmd() is disallowed. OJS 3.4.0 needs this in order to send emails.

Regards,
Alec Smecher
Public Knowledge Project Team

Hallo Alec,

We are only using OJS 3.3.0.10 - does that mean that the installation of 3.4.0 is not fully uninstalled?

If so, will I be able to manage it as you describe? Please give a clue where I would find this? In the configsys file?

Hi @gail,

Sorry, I misread your version number – the change I was referring to between 3.3.0-x and 3.4.0-x was due to the shift from PHPMailer to Symfony Mailer. Each has their own particular requirements.

The PHP function that needs to be enabled is escapeshellcmd. It’s a built-in PHP function, but some hosts disable it using a PHP option called disable_functions. I’d suggest contacting your host (or adjusting your PHP configuration yourself if you can) to enable the escapeshellcmd function.

Regards,
Alec Smecher
Public Knowledge Project Team

I’ve deleted escapeshellcmd but the problem is continuing. I’ve uploaded a test file and the timer continues to go round and round. When I jump away to submissions, the file and data is all there on the system.

Here is an excerpt from the error log.

thrown in /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php on line 36
[20-Feb-2024 19:24:29 Europe/London] PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\escapeshellarg() in /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php:1730
Stack trace:
#0 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1813): PHPMailer\PHPMailer\PHPMailer::isShellSafe()
#1 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1611): PHPMailer\PHPMailer\PHPMailer->mailSend()
#2 /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php(1442): PHPMailer\PHPMailer\PHPMailer->postSend()
#3 /home/murmur/public_html/ojs/lib/pkp/classes/mail/Mail.inc.php(592): PHPMailer\PHPMailer\PHPMailer->send()
#4 /home/murmur/public_html/ojs/lib/pkp/classes/mail/MailTemplate.inc.php(212): Mail->send()
#5 /home/murmur/public_html/ojs/lib/pkp/classes/notification/PKPNotificationOperationManager.inc.php(388): MailTemplate->send()
#6 /home/murmur/public_html/ojs/lib/pkp/classes/notification/PKPNotificationOperationManager.inc.php(153): PKPNotificationOperationManager->sendNotificationEmail()
#7 /home/murmur/public_html/ojs/lib/pkp/classes/submission/form/PKPSubmissionSubmitStep4Form.inc.php(157): PKPNotificationOperationManager->createNotification()
#8 /home/murmur/public_html/ojs/classes/submission/form/SubmissionSubmitStep4Form.inc.php(36): PKPSubmissionSubmitStep4Form->execute()
#9 /home/murmur/public_html/ojs/lib/pkp/pages/submission/PKPSubmissionHandler.inc.php(177): SubmissionSubmitStep4Form->execute()
#10 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): PKPSubmissionHandler->saveStep()
#11 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()
#12 /home/murmur/public_html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route()
#13 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#14 /home/murmur/public_html/ojs/index.php(68): PKPApplication->execute()
#15 {main}
thrown in /home/murmur/public_html/ojs/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php on line 1730
[20-Feb-2024 19:28:11 Europe/London] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php:36
Stack trace:
#0 /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php(36): array_merge()
#1 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): CitationsHandler->get()
#2 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()
#3 /home/murmur/public_html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route()
#4 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#5 /home/murmur/public_html/ojs/index.php(68): PKPApplication->execute()
#6 {main}
thrown in /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php on line 36
[20-Feb-2024 19:28:28 Europe/London] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php:36
Stack trace:
#0 /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php(36): array_merge()
#1 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): CitationsHandler->get()
#2 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()
#3 /home/murmur/public_html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route()
#4 /home/murmur/public_html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#5 /home/murmur/public_html/ojs/index.php(68): PKPApplication->execute()
#6 {main}
thrown in /home/murmur/public_html/ojs/plugins/generic/citations/classes/CitationsHandler.inc.php on line 36

Same issue, same solution – now with the escapeshellarg function instead of escapeshellcmd. Hopefully that’ll get it going.

Regards,
Alec Smecher
Public Knowledge Project Team

Seems to be working with that solution, Alec. Thank you.

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