Phenomenon: When publishing a topic, the API returns the following error message. In fact, the publishing is successful, but an error message is displayed in the lower left corner, and the topic is not jumped to.
Deprecated: Callables of the form ["Swift_SendmailTransport", "Swift_Transport_SendmailTransport::__construct"] are deprecated in /www/wwwroot/wxljj.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/SendmailTransport.php on line 26
Deprecated: Callables of the form ["Swift_Message", "Swift_Mime_SimpleMessage::__construct"] are deprecated in /www/wwwroot/wxljj.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php on line 46
Fatal error: Uncaught Laminas\HttpHandlerRunner\Exception\EmitterException: Output has been emitted previously; cannot emit response in /www/wwwroot/wxljj.com/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:20 Stack trace: #0 /www/wwwroot/wxljj.com/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(42): Laminas\HttpHandlerRunner\Exception\EmitterException::forOutputSent() #1 /www/wwwroot/wxljj.com/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(21): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput() #2 /www/wwwroot/wxljj.com/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(75): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit() #3 /www/wwwroot/wxljj.com/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run() #4 /www/wwwroot/wxljj.com/public/index.php(26): Flarum\Http\Server->listen() #5 {main} thrown in /www/wwwroot/wxljj.com/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php on line 20