I successfully updated from OJS 3.3.0-15 to OJS 3.4.0-4. But I encountered two problems.
I cannot add discussions and send Notify inParticipants.
I have Cyberpanel on the server and I am using php 8.1.
You can see the error in the image below.
The error log is as follows:
2023-12-07 18:08:23.329509 [NOTICE] [366387] [kayit4076.655340] add child process pid: 413098
2023-12-07 18:08:23.329698 [INFO] [366387] [kayit4076.655340]: unlocked pid file [/tmp/lshttpd/kayit4076.sock.pid].
2023-12-07 18:08:24.002051 [NOTICE] [366387] [89.252.131.116:42127-Q:366FF423EAFCFA44-0#ojs] [STDERR] PHP Fatal error: Uncaught TypeError: Symfony\Component\Mailer\Transport\Dsn::__construct(): Argument #2 ($host) must be of type string, null given, called in /public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php on line 186 and defined in /public_html/lib/pkp/lib/vendor/symfony/mailer/Transport/Dsn.php:28
Stack trace:
#0 /public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(186): Symfony\Component\Mailer\Transport\Dsn->__construct()
#1 /public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(164): Illuminate\Mail\MailManager->createSmtpTransport()
#2 /public_html/lib/pkp/classes/core/MailServiceProvider.php(61): Illuminate\Mail\MailManager->createSymfonyTransport()
#3 /public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(97): Illuminate\Mail\MailManager@anonymous->resolve()
#4 /public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(75): Illuminate\Mail\MailManager->get()
#5 /public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(554): Illuminate\Mail\MailManager->mailer()
#6 /public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\Mail\MailManager->__call()
#7 /public_html/lib/pkp/classes/mail/variables/ContextEmailVariable.php(112): Illuminate\Support\Facades\Facade::__callStatic()
#8 /public_html/classes/mail/variables/ContextEmailVariable.php(55): PKP\mail\variables\ContextEmailVariable->getContextSignature()
#9 /public_html/lib/pkp/classes/mail/Mailable.php(234): APP\mail\variables\ContextEmailVariable->values()
#10 /public_html/lib/pkp/classes/mail/Mailable.php(219): PK
2023-12-07 18:08:24.002107 [NOTICE] [366387] [89.252.131.116:42127-Q:366FF423EAFCFA44-0#ojs] [STDERR] P\mail\Mailable->setData()
#11 /public_html/lib/pkp/controllers/grid/queries/form/QueryForm.php(272): PKP\mail\Mailable->getData()
#12 /public_html/lib/pkp/controllers/grid/queries/QueriesGridHandler.php(362): PKP\controllers\grid\queries\form\QueryForm->fetch()
#13 [internal function]: PKP\controllers\grid\queries\QueriesGridHandler->addQuery()
#14 /public_html/lib/pkp/classes/core/PKPRouter.php(334): call_user_func()
#15 /public_html/lib/pkp/classes/core/PKPComponentRouter.php(291): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest()
#16 /public_html/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPComponentRouter->route()
#17 /public_html/lib/pkp/classes/core/PKPApplication.php(388): PKP\core\Dispatcher->dispatch()
#18 /public_html/index.php(21): PKP\core\PKPApplication->execute()
#19 {main}
thrown in /public_html/lib/pkp/lib/vendor/symfony/mailer/Transport/Dsn.php on line 28
2023-12-07 18:08:28.472548 [NOTICE] [366387] [89.252.131.116:42127-Q:366FF423EAFCFA44-4#ojs] [STDERR] PHP Fatal error: Uncaught TypeError: Symfony\Component\Mailer\Transport\Dsn::__construct(): Argument #2 ($host) must be of type string, null given, called in /public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php on line 186 and defined in /public_html/lib/pkp/lib/vendor/symfony/mailer/Transport/Dsn.php:28
Stack trace:
#0 /public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(186): Symfony\Component\Mailer\Transport\Dsn->__construct()
#1 /public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(164): Illuminate\Mail\MailManager->createSmtpTransport()
#2 /public_html/lib/pkp/classes/core/MailServiceProvider.php(61): Illuminate\Mail\MailManager->createSymfonyTransport()
#3 /public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(97): Illuminate\Mail\MailManager@anonymous->resolve()
#4 /public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(75): Illuminate\Mail\MailManager->get()
#5 /public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(554): Illuminate\Mail\MailManager->mailer()
#6 /public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\Mail\MailManager->__call()
#7 /public_html/lib/pkp/classes/mail/variables/ContextEmailVariable.php(112): Illuminate\Support\Facades\Facade::__callStatic()
#8 /public_html/classes/mail/variables/ContextEmailVariable.php(55): PKP\mail\variables\ContextEmailVariable->getContextSignature()
#9 /public_html/lib/pkp/classes/mail/Mailable.php(234): APP\mail\variables\ContextEmailVariable->values()
#10 /public_html/lib/pkp/classes/mail/Mailable.php(219): PK
2023-12-07 18:08:28.472601 [NOTICE] [366387] [89.252.131.116:42127-Q:366FF423EAFCFA44-4#ojs] [STDERR] P\mail\Mailable->setData()
#11 /public_html/lib/pkp/controllers/grid/users/stageParticipant/form/PKPStageParticipantNotifyForm.php(104): PKP\mail\Mailable->getData()
#12 /public_html/lib/pkp/controllers/grid/users/stageParticipant/StageParticipantGridHandler.php(527): PKP\controllers\grid\users\stageParticipant\form\PKPStageParticipantNotifyForm->fetch()
#13 [internal function]: PKP\controllers\grid\users\stageParticipant\StageParticipantGridHandler->viewNotify()
#14 /public_html/lib/pkp/classes/core/PKPRouter.php(334): call_user_func()
#15 /public_html/lib/pkp/classes/core/PKPComponentRouter.php(291): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest()
#16 /public_html/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPComponentRouter->route()
#17 /public_html/lib/pkp/classes/core/PKPApplication.php(388): PKP\core\Dispatcher->dispatch()
#18 /public_html/index.php(21): PKP\core\PKPApplication->execute()
#19 {main}
thrown in /public_html/lib/pkp/lib/vendor/symfony/mailer/Transport/Dsn.php on line 28
Can you help me?
Regards,