Email sending never completes

I successfully updated from OJS 3.3.0-15 to OJS 3.4.0-4.

I used SMTP options again, which worked successfully in the previous version.

However, when I try to send an email, the window never closes. There is no error or success notification either.


Error logis as follows:

2023-12-07 18:30:47.930635 [INFO] [366387] [kayit4076.655340]: locked pid file [/tmp/lshttpd/kayit4076.sock.pid].
2023-12-07 18:30:47.930677 [INFO] [366387] [kayit4076.655340] remove unix socket for detached process: /tmp/lshttpd/kayit4076.sock
2023-12-07 18:30:47.930818 [NOTICE] [366387] [LocalWorker::workerExec] VHost:ojs suExec check uid 65534 gid 65534 setuidmode 0.
2023-12-07 18:30:47.930830 [NOTICE] [366387] [LocalWorker::workerExec] Config[kayit4076.655340]: suExec uid 1006 gid 1006 cmd /usr/local/lsws/lsphp81/bin/lsphp, final uid 1006 gid 1006, flags: 0.
2023-12-07 18:30:47.931365 [NOTICE] [366387] [kayit4076.655340] add child process pid: 413630
2023-12-07 18:30:47.931476 [INFO] [366387] [kayit4076.655340]: unlocked pid file [/tmp/lshttpd/kayit4076.sock.pid].
2023-12-07 18:30:50.938081 [NOTICE] [366387] [89.252.131.116:34562-Q:9755207BDF85D9CE-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/controllers/grid/settings/user/form/UserEmailForm.php(104): Illuminate\Support\Facades\Facade::__callStatic()
#8 /public_html/lib/pkp/controllers/grid/settings/user/UserGridHandler.php(634): PKP\controllers\grid\settings\user\form\UserEmailForm->execute()
#9 [internal function]: PKP\controllers\grid\settings\user\UserGridHandler->sendEmail()
#10 /public_html/lib/pkp/classes/core/PKPRouter.php(334): call_user_func()
#11 /h
2023-12-07 18:30:50.938126 [NOTICE] [366387] [89.252.131.116:34562-Q:9755207BDF85D9CE-4#ojs] [STDERR] ome/ojs/public_html/lib/pkp/classes/core/PKPComponentRouter.php(291): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest()
#12 /public_html/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPComponentRouter->route()
#13 /public_html/lib/pkp/classes/core/PKPApplication.php(388): PKP\core\Dispatcher->dispatch()
#14 /public_html/index.php(21): PKP\core\PKPApplication->execute()
#15 {main}
  thrown in /public_html/lib/pkp/lib/vendor/symfony/mailer/Transport/Dsn.php on line 28

By the way, I do not receive e-mails in cases such as I forgot my password etc.

Thank you for your help.

Regards,

Hi @Mustafa_COKYASAR,

This is the same issue mentioned in your other thread:

Regards,
Alec Smecher
Public Knowledge Project Team