I get the following error when I try to edit author in a submission or when using the quicksubmit module. I use OJS 3.3.0.8, PHP Version 7.3.18, on CentOS
“Failed Ajax request or invalid JSON returned.”
The following error from the log:
[Mon Oct 18 08:42:16.878951 2021] [php7:error] [pid 20568] [client 10.243.0.205:1033] PHP Fatal error: Uncaught Error: Call to a member function getData() on null in /var/www/html/journal/cache/t_compile/7db64108c3736ceeaac8d8726935be2c7e0e8a7c^06932f1259fee8e7c6747e1a2b9752b223abefd1_0.app.controllersgridusersautho.php:36\nStack trace:\n#0 /var/www/html/journal/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_616d13050081e4_78021557(Object(Smarty_Internal_Template))\n#1 /var/www/html/journal/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))\n#2 /var/www/html/journal/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))\n#3 /var/www/html/journal/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 0)\n#4 /var/www/html/journal/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smart in /var/www/html/journal/cache/t_compile/7db64108c3736ceeaac8d8726935be2c7e0e8a7c^06932f1259fee8e7c6747e1a2b9752b223abefd1_0.app.controllersgridusersautho.php on line 36, referer: https://journal.se/management/importexport/plugin/QuickSubmitPlugin
Hi all
This maybe solved, but I’m having a similar when an user try to upload a Galley (either from the quicksubmit or during normal process of the final publication).
PHP Fatal error: Uncaught Error: Call to undefined method SubmissionFileDAO::getAllFileStages() in \controllers\wizard\fileUpload\FileUploadWizardHandler.inc.php:35\nStack trace:\n#0 \lib\pkp\classes\core\PKPRouter.inc.php(387): FileUploadWizardHandler->authorize(Object(Request), Array, Array)\n#1 \lib\pkp\classes\core\PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array)\n#2 \lib\pkp\classes\core\Dispatcher.inc.php(144): PKPComponentRouter->route(Object(Request))\n#3 \lib\pkp\classes\core\PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request))\n#4 \index.php(68): PKPApplication->execute()\n#5 {main}\n thrown in \controllers\wizard\fileUpload\FileUploadWizardHandler.inc.php on line 35, referer: http://localhost/netxtraosj/index.php/jcrm/management/importexport/plugin/QuickSubmitPlugin
and the same error when an user try to upload document on copyediting or publication stage:
Thank you for asking, all my plugins are updated… Fatal error: Uncaught Error: Call to undefined method SubmissionFileDAO::getAllFileStages() in /www/htdocs/journal/controllers/wizard/fileUpload/FileUploadWizardHandler.inc.php:35 Stack trace: #0 /www/htdocs/journal/lib/pkp/classes/core/PKPRouter.inc.php(387): FileUploadWizardHandler->authorize(Object(Request), Array, Array) #1 /www/htdocs/journal/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array) #2 /www/htdocs/journal/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPComponentRouter->route(Object(Request)) #3 /www/htdocs/journal/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request)) #4 /www/htdocs/journal/index.php(68): PKPApplication->execute() #5 {main} thrown in /www/htdocs/journal/controllers/wizard/fileUpload/FileUploadWizardHandler.inc.php on line 35