The issue
After a successful installation, I have a problem setting mail right. I'm using php mail option, provided a right email, and when I click on Send for the mail test, I have this error:
<b>Fatal error</b>: Uncaught Laminas\HttpHandlerRunner\Exception\EmitterException: Output has been emitted previously; cannot emit response in /home/clients/15f79c4857cd4aa6c51123cd609b022a/sites/forum/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:21
Stack trace:
#0 /home/clients/15f79c4857cd4aa6c51123cd609b022a/sites/forum/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(42): Laminas\HttpHandlerRunner\Exception\EmitterException::forOutputSent()
#1 /home/clients/15f79c4857cd4aa6c51123cd609b022a/sites/forum/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(22): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput()
#2 /home/clients/15f79c4857cd4aa6c51123cd609b022a/sites/forum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(75): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit(Object(Flarum\Api\JsonApiResponse))
#3 /home/clients/15f79c4857cd4aa6c51123cd609b022a/sites/forum/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#4 /home/clients/15f79c4857cd4aa6c51123cd609b022a/sites/forum/index.php(26): Flarum\Http\Server->listen()
#5 {main}
thrown in <b>/home/clients/15f79c4857cd4aa6c51123cd609b022a/sites/forum/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php</b> on line <b>21</b><br />
So I can't go any further, not sure if it sends anything.
Flarum information
Flarum core: 1.8.13
PHP version: CLI: 8.3.29, Web: 8.2.30 (MISMATCH - versions should match!)
PHP memory limit: CLI: 640M, Web: unable to detect
MySQL version: 10.11.15-MariaDB-deb11-log
Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, gmp, json, iconv, SPL, intl, session, ldap, mbstring, standard, mysqlnd, pcntl, exif, mysqli, PDO, pdo_mysql, pdo_sqlite, pgsql, Phar, posix, random, readline, Reflection, imap, SimpleXML, soap, sockets, sodium, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, cgi-fcgi, excimer, imagick, mailparse, mongodb, OAuth, raphf, ssh2, timezonedb, uploadprogress, yaz, zip, http
+--------------------------+---------+--------+-------+
| Flarum Extensions | | | |
+--------------------------+---------+--------+-------+
| ID | Version | Commit | Notes |
+--------------------------+---------+--------+-------+
| flarum-flags | v1.8.2 | | |
| flarum-approval | v1.8.2 | | |
| flarum-tags | v1.8.6 | | |
| flarum-suspend | v1.8.5 | | |
| flarum-subscriptions | v1.8.1 | | |
| flarum-sticky | v1.8.2 | | |
| flarum-statistics | v1.8.1 | | |
| flarum-mentions | v1.8.5 | | |
| flarum-markdown | v1.8.1 | | |
| flarum-lock | v1.8.2 | | |
| flarum-likes | v1.8.1 | | |
| flarum-lang-french | v4.29.1 | | |
| flarum-lang-english | v1.8.0 | | |
| flarum-extension-manager | v1.0.7 | | |
| flarum-emoji | v1.8.1 | | |
| flarum-bbcode | v1.8.0 | | |
+--------------------------+---------+--------+-------+
Base URL: xxxx
Installation path: xxxx
Queue driver: sync
Session driver: file
Mail driver: mail
Debug mode: ON
Don't forget to turn off debug mode! It should never be turned on in a production system.