PHP Fatal while viewing submission

Attempting to view some (all?) active submissions in a journal is generating the following error:

PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function UserAccessibleWorkflowStageRequiredPolicy::__construct(), 0 passed in /home1l/librojs/web/cas/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 627 and at least 1 expected in /home1l/librojs/web/cas/lib/pkp/classes/security/authorization/internal/UserAccessibleWorkflowStageRequiredPolicy.inc.php:32

Any insight into why this is happening? OJS 3.3.0.22 and PHP 8.2.32. Full stack trace is:

PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function UserAccessibleWorkflowStageRequiredPolicy::__construct(), 0 passed in /home1l/librojs/web/cas/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 627 and at least 1 expected in /home1l/librojs/web/cascopy/lib/pkp/classes/security/authorization/internal/UserAccessibleWorkflowStageRequiredPolicy.inc.php:32
Stack trace:
#0 /home1l/librojs/web/cas/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(627): UserAccessibleWorkflowStageRequiredPolicy->__construct()
#1 /home1l/librojs/web/cas/cache/t_compile/ee131ee78aae66ec621d8f4e466e22416bf8d89c^5b2b400be3d78bc0ae391c12ce66fa93bd43d118_0.app.workflowworkflow.tpl.php(25): Smarty_Internal_Template->_loadInheritance()
#2 /home1l/librojs/web/cas/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6aa7fd94b88151_24278544()
#3 /home1l/librojs/web/cas/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#4 /home1l/librojs/web/cas/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#5 /home1l/librojs/web/cas/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#6 /home1l/librojs/web/cas/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute()
#7 /home1l/librojs/web/cas/lib/pkp/classes/template/PKPTemplateManager.inc.php(1250): Smarty_Internal_TemplateBase->display()
#8 /home1l/librojs/web/cas/lib/pkp/pages/workflow/PKPWorkflowHandler.inc.php(414): PKPTemplateManager->display()
#9 /home1l/librojs/web/cas/lib/pkp/classes/core/PKPRouter.inc.php(397): PKPWorkflowHandler->index()
#10 /home1l/librojs/web/cas/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()
#11 /home1l/librojs/web/cas/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route()
#12 /home1l/librojs/web/cas/lib/pkp/classes/core/PKPApplication.inc.php(360): Dispatcher->dispatch()
#13 /home1l/librojs/web/cas/index.php(68): PKPApplication->execute()
#14 {main}
thrown in /home1l/librojs/web/cas/lib/pkp/classes/security/authorization/internal/UserAccessibleWorkflowStageRequiredPolicy.inc.php on line 32

Thanks

After persisting for several days, this issue appears to have been resolved this morning. The server hosting our OJS was updated/rebooted last night, with a minor PHP upgrade from 8.2.32 to 8.2.33 included in the update. That’s the most likely explanation for the solution, however other installations of OJS on the same server were not exhibiting this issue.

So I’m pleased it’s resolved, but still curious to know what the root cause was, if anyone has any ideas. Thanks…