[OJS 3.4.0-8] PHP Fatal error: Uncaught TypeError: PKP\\mail\\Mailer::compileParams(): Argument #1 ($view) must be of type string, null given

juancure
Tue, 29 Jul 2025 19:30:40 +0000
Software Support

Describe the issue or problem
Hi I had found the error Failed Ajax request or invalid JSON returned trying to assign a reviewer to a submission on the review stage.

Steps I took leading up to the issue

1. Select a submission on the review stage

2. Click on Add Reviewer

3. Appear a dialog box with the error message

What application are you using?
I am using OJS 3.4.0-8

Additional information
This is the log output:

[Tue Jul 29 17:31:19.253447 2025] [php:error] [pid 4079:tid 4079] [client 192.168.2.1:56882] PHP Fatal error: Uncaught TypeError: PKP\mail\Mailer::compileParams(): Argument #1 ($view) must be of type string, null given, called in /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php on line 554 and defined in /var/www/html/lib/pkp/classes/mail/Mailer.php:93\nStack trace:
#0 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(554): PKP\mail\Mailer->compileParams()
#1 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\Mail\MailManager->__call()
#2 /var/www/html/lib/pkp/controllers/grid/users/reviewer/form/AdvancedSearchReviewerForm.php(83): Illuminate\Support\Facades\Facade::__callStatic()
#3 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Collections/LazyCollection.php(825): PKP\controllers\grid\users\reviewer\form\AdvancedSearchReviewerForm->PKP\controllers\grid\users\reviewer\form\{closure}()
#4 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Collections/LazyCollection.php(788): Illuminate\Support\LazyCollection->Illuminate\Support\{closure}()
#5 [internal function]: Illuminate\Support\LazyCollection->Illuminate\Support\{closure}()
#6 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Collections/LazyCollection.php(105): iterator_to_array()
#7 /var/www/html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(847): Illuminate\Support\LazyCollection->all()
#8 /var/www/html/lib/pkp/controllers/grid/users/reviewer/form/AdvancedSearchReviewerForm.php(87): Illuminate\Support\LazyCollection->toArray()
#9 /var/www/html/lib/pkp/classes/controllers/grid/users/reviewer/PKPReviewerGridHandler.php(1108): PKP\controllers\grid\users\reviewer\form\AdvancedSearchReviewerForm->initData()
#10 /var/www/html/lib/pkp/classes/controllers/grid/users/reviewer/PKPReviewerGridHandler.php(354): PKP\controllers\grid\users\reviewer\PKPReviewerGridHandler->_fetchReviewerForm()
#11 [internal function]: PKP\controllers\grid\users\reviewer\PKPReviewerGridHandler->showReviewerForm()
#12 /var/www/html/lib/pkp/classes/core/PKPRouter.php(334): call_user_func()
#13 /var/www/html/lib/pkp/classes/core/PKPComponentRouter.php(291): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest()
#14 /var/www/html/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPComponentRouter->route()
#15 /var/www/html/lib/pkp/classes/core/PKPApplication.php(395): PKP\core\Dispatcher->dispatch()
#16 /var/www/html/index.php(21): PKP\core\PKPApplication->execute()
#17 {main}
thrown in /var/www/html/lib/pkp/classes/mail/Mailer.php on line 93, referer: ``http://journal/index.php/pde/workflow/index/70445/3

I have seen that 2 topics had asked about the same error, but there isn’t response yet. Someone from the PKP forum could help about this?

Thanks a lot for your attention.

Best Regards.

2 posts - 1 participant