Fatal error: Uncaught TypeError: Illuminate\Database\Query\Builder::orWhereExists(): Argument #1 ($callback) must be of type Closure, string given, called in /var/www/html/ojs-3.4.0-10/lib/pkp/classes/submission/Collector.php on line 369 and defined in /var/www/html/ojs-3.4.0-10/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1696 Stack trace: #0 /var/www/html/ojs-3.4.0-10/lib/pkp/classes/submission/Collector.php(369): Illuminate\Database\Query\Builder->orWhereExists() #1 /var/www/html/ojs-3.4.0-10/classes/submission/Collector.php(54): PKP\submission\Collector->getQueryBuilder() #2 /var/www/html/ojs-3.4.0-10/lib/pkp/classes/submission/DAO.php(93): APP\submission\Collector->getQueryBuilder() #3 /var/www/html/ojs-3.4.0-10/lib/pkp/classes/submission/Collector.php(83): PKP\submission\DAO->getCount() #4 /var/www/html/ojs-3.4.0-10/plugins/generic/recommendBySimilarity/RecommendBySimilarityPlugin.php(84): PKP\submission\Collector->getCount() #5 /var/www/html/ojs-3.4.0-10/plugins/generic/recommendBySimilarity/RecommendBySimilarityPlugin.php(46): APP\plugins\generic\recommendBySimilarity\RecommendBySimilarityPlugin->buildTemplate() #6 [internal function]: APP\plugins\generic\recommendBySimilarity\RecommendBySimilarityPlugin->APP\plugins\generic\recommendBySimilarity\{closure}() #7 /var/www/html/ojs-3.4.0-10/lib/pkp/classes/plugins/Hook.php(139): call_user_func_array() #8 /var/www/html/ojs-3.4.0-10/lib/pkp/classes/plugins/Hook.php(113): PKP\plugins\Hook::run() #9 /var/www/html/ojs-3.4.0-10/lib/pkp/classes/template/PKPTemplateManager.php(1788): PKP\plugins\Hook::call() #10 /var/www/html/ojs-3.4.0-10/cache/t_compile/5344c657d475ac490e5be9e38a89fff34c6138fd^1c372c95cd85572e0fbc9a53d0323a0b229cfc78_0.app.frontendpagesarticle.tpl.php(43): PKP\template\PKPTemplateManager->smartyCallHook() #11 /var/www/html/ojs-3.4.0-10/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6a4cb8d99f89e4_70209840() #12 /var/www/html/ojs-3.4.0-10/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #13 /var/www/html/ojs-3.4.0-10/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #14 /var/www/html/ojs-3.4.0-10/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #15 /var/www/html/ojs-3.4.0-10/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute() #16 /var/www/html/ojs-3.4.0-10/lib/pkp/classes/template/PKPTemplateManager.php(1373): Smarty_Internal_TemplateBase->display() #17 /var/www/html/ojs-3.4.0-10/pages/article/ArticleHandler.php(355): PKP\template\PKPTemplateManager->display() #18 [internal function]: APP\pages\article\ArticleHandler->view() #19 /var/www/html/ojs-3.4.0-10/lib/pkp/classes/core/PKPRouter.php(334): call_user_func() #20 /var/www/html/ojs-3.4.0-10/lib/pkp/classes/core/PKPPageRouter.php(278): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest() #21 /var/www/html/ojs-3.4.0-10/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPPageRouter->route() #22 /var/www/html/ojs-3.4.0-10/lib/pkp/classes/core/PKPApplication.php(395): PKP\core\Dispatcher->dispatch() #23 /var/www/html/ojs-3.4.0-10/index.php(21): PKP\core\PKPApplication->execute() #24 {main} thrown in /var/www/html/ojs-3.4.0-10/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php on line 1696