I am using php 8.2
I made an error when posting the thread. It prompted this error
<br />
<b>Deprecated</b>: Callables of the form ["Swift_SmtpTransport", "Swift_Transport_EsmtpTransport::__construct"] are deprecated in <b>/www/wwwroot/wyz.xyz/vendor/swiftmailer/swiftmailer/lib/classes/Swift/SmtpTransport.php</b> on line <b>36</b><br />
<br />
<b>Fatal error</b>: Uncaught Laminas\HttpHandlerRunner\Exception\EmitterException: Output has been emitted previously; cannot emit response in /www/wwwroot/wyz.xyz/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:20
Stack trace:
#0 /www/wwwroot/wyz.xyz/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(42): Laminas\HttpHandlerRunner\Exception\EmitterException::forOutputSent()
#1 /www/wwwroot/wyz.xyz/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(21): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput()
#2 /www/wwwroot/wyz.xyz/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(75): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit()
#3 /www/wwwroot/wyz.xyz/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#4 /www/wwwroot/wyz.xyz/public/index.php(22): Flarum\Http\Server->listen()
#5 {main}
thrown in <b>/www/wwwroot/wyz.xyz/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php</b> on line <b>20</b><br />
But the fact that the post was successfully published
I don't know if it has anything to do with that:
https://www.interactivetools.com/forum/forum-posts.php?New-PHP8.2-error-Swift-Mailer-5-82650
If it is, then it might be a bug. Can the author fix this bug?