The issue
When I refresh in a tag page which has no data in it. It will cause a fatal error.
Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /www/wwwroot/youqian.me/vendor/v17development/flarum-seo/src/Managers/Tag.php on line 48
Fatal error: Uncaught Laminas\HttpHandlerRunner\Exception\EmitterException: Output has been emitted previously; cannot emit response in /www/wwwroot/youqian.me/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:20 Stack trace: #0 /www/wwwroot/youqian.me/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(42): Laminas\HttpHandlerRunner\Exception\EmitterException::forOutputSent() #1 /www/wwwroot/youqian.me/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(21): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput() #2 /www/wwwroot/youqian.me/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(75): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit() #3 /www/wwwroot/youqian.me/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run() #4 /www/wwwroot/youqian.me/public/index.php(26): Flarum\Http\Server->listen() #5 {main} thrown in /www/wwwroot/youqian.me/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php on line 20
You can test in this page , Just refresh two times , the error will display.
Flarum information
Flarum core: 1.8.3
PHP version: 8.1.13
MySQL version: 5.7.40-log
Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, ctype, curl, dom, filter, ftp, gd, gettext, hash, iconv, intl, json, mbstring, SPL, session, pcntl, standard, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, mysqli, shmop, SimpleXML, soap, sockets, sodium, sysvsem, tokenizer, xml, xmlreader, xmlwriter, zip, fileinfo, exif, Zend OPcache
+---------------------------------------+---------+--------+
| Flarum Extensions | | |
+---------------------------------------+---------+--------+
| ID | Version | Commit |
+---------------------------------------+---------+--------+
| askvortsov-auto-moderator | v0.1.3 | |
| flarum-flags | v1.8.0 | |
| antoinefr-money | v1.3.1 | |
| flarum-bbcode | v1.8.0 | |
| flarum-suspend | v1.8.1 | |
| flarum-tags | v1.8.0 | |
| flarum-approval | v1.8.0 | |
| fof-polls | 1.4.2 | |
| clarkwinkelmann-scout | 0.3.5 | |
| ziiven-money-leaderboard | v0.1.7 | |
| v17development-user-badges | v1.1.0 | |
| v17development-seo | v1.8.0 | |
| the-turk-flamoji | 1.0.4 | |
| pipecraft-id-slug | v1.1.0 | |
| littlecxm-reply-to-see | 1.0.2 | |
| justoverclock-username-blacklist | 0.1.0 | |
| glowingblue-redis-setup | 1.2.1 | |
| fof-user-bio | 1.3.0 | |
| fof-upload | 1.4.1 | |
| fof-sitemap | 2.2.0 | |
| fof-profile-image-crop | 1.1.6 | |
| fof-pretty-mail | 1.1.1 | |
| fof-oauth | 1.5.3 | |
| fof-nightmode | 1.5.3 | |
| fof-links | 1.2.0 | |
| fof-ignore-users | 1.2.0 | |
| fof-gamification | 1.6.2 | |
| fof-formatting | 1.0.3 | |
| fof-default-group | 1.1.1 | |
| fof-byobu | 1.3.2 | |
| flarumite-simple-discussion-views | 1.2.1 | |
| flarum-subscriptions | v1.8.0 | |
| flarum-sticky | v1.8.0 | |
| flarum-statistics | v1.8.0 | |
| flarum-pusher | v1.8.0 | |
| flarum-nicknames | v1.8.0 | |
| flarum-mentions | v1.8.2 | |
| flarum-markdown | v1.8.0 | |
| flarum-lock | v1.8.0 | |
| flarum-lang-english | v1.8.0 | |
| flarum-lang-chinese-simplified | v1.3.0 | |
| flarum-emoji | v1.8.0 | |
| darkle-fancybox | 1.1.2 | |
| clarkwinkelmann-vote-with-money | 1.0.0 | |
| clarkwinkelmann-money-rewards | 1.0.0 | |
| clarkwinkelmann-meilisearch-dashboard | 0.1.1 | |
| blomstra-turnstile | 0.1.4 | |
+---------------------------------------+---------+--------+
Base URL: https://youqian.me
Installation path: /www/wwwroot/youqian.me
Queue driver: redis
Session driver: redis (Code override. Configured to file)
Scheduler status: Active
Mail driver: smtp
Debug mode: off