After flushing the cache on the dashboard, the UI is broken.
[2024-08-05 08:14:11] flarum.ERROR: TypeError: s9e\TextFormatter\Renderers\PHP::at(): Argument #1 ($root) must be of type DOMNode, null given, called in /home/meme/webapps/discuss/storage/formatter/Renderer_f1aee4dfa982f4663e2f4b2880649f402b888b25.php on line 111 and defined in /home/meme/webapps/discuss/vendor/s9e/text-formatter/src/Renderers/PHP.php:80
Stack trace:
#0 /home/meme/webapps/discuss/storage/formatter/Renderer_f1aee4dfa982f4663e2f4b2880649f402b888b25.php(111): s9e\TextFormatter\Renderers\PHP->at()
#1 /home/meme/webapps/discuss/vendor/s9e/text-formatter/src/Renderers/PHP.php(244): Renderer_f1aee4dfa982f4663e2f4b2880649f402b888b25->renderQuickTemplate()
#2 [internal function]: s9e\TextFormatter\Renderers\PHP->renderQuickCallback()
#3 /home/meme/webapps/discuss/vendor/s9e/text-formatter/src/Renderers/PHP.php(199): preg_replace_callback()
#4 /home/meme/webapps/discuss/vendor/s9e/text-formatter/src/Renderers/PHP.php(292): s9e\TextFormatter\Renderers\PHP->renderQuick()
#5 /home/meme/webapps/discuss/vendor/s9e/text-formatter/src/Renderer.php(66): s9e\TextFormatter\Renderers\PHP->renderRichText()
#6 /home/meme/webapps/discuss/vendor/flarum/core/src/Formatter/Formatter.php(126): s9e\TextFormatter\Renderer->render()
#7 /home/meme/webapps/discuss/vendor/flarum/core/src/Post/CommentPost.php(176): Flarum\Formatter\Formatter->render()
#8 /home/meme/webapps/discuss/vendor/flarum/core/src/Api/Serializer/BasicPostSerializer.php(63): Flarum\Post\CommentPost->formatContent()
#9 /home/meme/webapps/discuss/vendor/flarum/core/src/Api/Serializer/AbstractSerializer.php(88): Flarum\Api\Serializer\BasicPostSerializer->getDefaultAttributes()
#10 /home/meme/webapps/discuss/vendor/sycho/json-api/src/Resource.php(183): Flarum\Api\Serializer\AbstractSerializer->getAttributes()
#11 /home/meme/webapps/discuss/vendor/sycho/json-api/src/Resource.php(81): Tobscure\JsonApi\Resource->getAttributes()
#12 /home/meme/webapps/discuss/vendor/sycho/json-api/src/Document.php(194): Tobscure\JsonApi\Resource->toArray()
#13 [internal function]: Tobscure\JsonApi\Document->Tobscure\JsonApi\{closure}()
#14 /home/meme/webapps/discuss/vendor/sycho/json-api/src/Document.php(193): array_map()
#15 /home/meme/webapps/discuss/vendor/sycho/json-api/src/Document.php(232): Tobscure\JsonApi\Document->toArray()
#16 /home/meme/webapps/discuss/vendor/flarum/core/src/Api/JsonApiResponse.php(27): Tobscure\JsonApi\Document->jsonSerialize()
#17 /home/meme/webapps/discuss/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(139): Flarum\Api\JsonApiResponse->__construct()
#18 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractSerializeController->handle()
#19 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
#20 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ExecuteRoute->process()
#21 /home/meme/webapps/discuss/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
#22 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Api\Middleware\ThrottleApi->process()
#23 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle()
#24 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ResolveRoute->process()
#25 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
#26 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\SetLocale->process()
#27 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#28 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\HandleErrors->process()
#29 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(77): Laminas\Stratigility\Next->handle()
#30 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(66): Laminas\Stratigility\MiddlewarePipe->process()
#31 /home/meme/webapps/discuss/vendor/flarum/core/src/Api/Client.php(141): Laminas\Stratigility\MiddlewarePipe->handle()
#32 /home/meme/webapps/discuss/vendor/flarum/core/src/Api/Client.php(91): Flarum\Api\Client->send()
#33 /home/meme/webapps/discuss/vendor/flarum/core/src/Forum/Content/Index.php(108): Flarum\Api\Client->get()
#34 /home/meme/webapps/discuss/vendor/flarum/core/src/Forum/Content/Index.php(85): Flarum\Forum\Content\Index->getApiDocument()
#35 /home/meme/webapps/discuss/vendor/flarum/core/src/Frontend/Frontend.php(62): Flarum\Forum\Content\Index->__invoke()
#36 /home/meme/webapps/discuss/vendor/flarum/core/src/Frontend/Frontend.php(54): Flarum\Frontend\Frontend->populate()
#37 /home/meme/webapps/discuss/vendor/flarum/core/src/Frontend/Controller.php(32): Flarum\Frontend\Frontend->document()
#38 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Frontend\Controller->handle()
#39 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
#40 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ExecuteRoute->process()
#41 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/ContentTypeOptionsHeader.php(21): Laminas\Stratigility\Next->handle()
#42 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ContentTypeOptionsHeader->process()
#43 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/ReferrerPolicyHeader.php(30): Laminas\Stratigility\Next->handle()
#44 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ReferrerPolicyHeader->process()
#45 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/FlarumPromotionHeader.php(30): Laminas\Stratigility\Next->handle()
#46 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\FlarumPromotionHeader->process()
#47 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/ShareErrorsFromSession.php(57): Laminas\Stratigility\Next->handle()
#48 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ShareErrorsFromSession->process()
#49 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(36): Laminas\Stratigility\Next->handle()
#50 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\CheckCsrfToken->process()
#51 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle()
#52 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ResolveRoute->process()
#53 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
#54 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\SetLocale->process()
#55 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
#56 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\AuthenticateWithSession->process()
#57 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
#58 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\RememberFromCookie->process()
#59 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
#60 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\StartSession->process()
#61 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/CollectGarbage.php(46): Laminas\Stratigility\Next->handle()
#62 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\CollectGarbage->process()
#63 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
#64 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ParseJsonBody->process()
#65 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#66 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\HandleErrors->process()
#67 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
#68 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\InjectActorReference->process()
#69 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(77): Laminas\Stratigility\Next->handle()
#70 /home/meme/webapps/discuss/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
#71 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Middlewares\RequestHandler->process()
#72 /home/meme/webapps/discuss/vendor/middlewares/base-path-router/src/BasePathRouter.php(99): Laminas\Stratigility\Next->handle()
#73 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Middlewares\BasePathRouter->process()
#74 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
#75 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Laminas\Stratigility\Middleware\OriginalMessages->process()
#76 /home/meme/webapps/discuss/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
#77 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Middlewares\BasePath->process()
#78 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
#79 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ProcessIp->process()
#80 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(77): Laminas\Stratigility\Next->handle()
#81 /home/meme/webapps/discuss/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(66): Laminas\Stratigility\MiddlewarePipe->process()
#82 /home/meme/webapps/discuss/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(73): Laminas\Stratigility\MiddlewarePipe->handle()
#83 /home/meme/webapps/discuss/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#84 /home/meme/webapps/discuss/public/index.php(26): Flarum\Http\Server->listen()
#85 {main}
Flarum information
Flarum core: 1.8.5
PHP version: 8.3.9
MySQL version: 10.11.8-MariaDB-ubu2204
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, dom, enchant, FFI, filter, gmp, hash, json, pcntl, random, Reflection, SPL, session, standard, mysqlnd, PDO, readline, xml, xmlreader, xmlwriter, bcmath, bz2, calendar, ctype, curl, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imap, intl, exif, memcache, memcached, msgpack, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, pspell, realpath_turbo, redis, shmop, SimpleXML, soap, sockets, sodium, sqlite3, swoole, sysvmsg, sysvsem, sysvshm, tidy, timezonedb, tokenizer, xmlrpc, xsl, zip, Zend OPcache
+---------------------------------+----------+--------+
| Flarum Extensions | | |
+---------------------------------+----------+--------+
| ID | Version | Commit |
+---------------------------------+----------+--------+
| flarum-flags | v1.8.0 | |
| flarum-tags | v1.8.0 | |
| flarum-approval | v1.8.1 | |
| flarum-mentions | v1.8.3 | |
| flarum-subscriptions | v1.8.0 | |
| fof-follow-tags | 1.2.5 | |
| flarum-suspend | v1.8.1 | |
| flarum-markdown | v1.8.0 | |
| ianm-follow-users | 1.4.7 | |
| fof-user-bio | 1.4.0 | |
| fof-upload | 1.5.5 | |
| fof-socialprofile | 1.1.6 | |
| fof-recaptcha | 1.3.4 | |
| fof-profile-image-crop | 1.1.6 | |
| fof-polls | 2.2.3 | |
| fof-drafts | 1.2.10 | |
| fof-best-answer | 1.4.5 | |
| flarum-sticky | v1.8.0 | |
| flarum-statistics | v1.8.0 | |
| flarum-nicknames | v1.8.0 | |
| flarum-lock | v1.8.0 | |
| flarum-likes | v1.8.0 | |
| flarum-lang-vietnamese | v1.10.0 | |
| flarum-lang-english | v1.8.0 | |
| flarum-extension-manager | v1.0.3 | |
| flarum-emoji | v1.8.0 | |
| flarum-bbcode | v1.8.0 | |
| datlechin-link-preview | v0.1.8 | |
| datlechin-copy-links | v1.0.1 | |
| bluecoral-meme-header | dev-main | |
| askvortsov-rich-text | v2.1.7 | |
| askvortsov-discussion-templates | v0.8.3 | |
+---------------------------------+----------+--------+
Base URL: https://discuss.meme.asia
Installation path: /home/meme/webapps/discuss
Queue driver: sync
Session driver: file
Scheduler status: Không bao giờ chạy
Mail driver: mail
Debug mode: off
Other
I have clear cache by CLI "php Flarum cache:clear" and force delete file in cache & formatter but is not working.