I uninstall PWA according to this post, which doesn't help.
The only thing I did before that is, the admin deleted a post. However, I did reload the page, and see that post was deleted successfully. Will this leads the site went down? I did the similar action(delete a post) before, the site was OK then.
Now I can use
[hrjh@lnx flarum]$ php flarum cache:clear
Clearing the cache...
which was not the case (my post) yesterday.
[2023-07-07 15:36:22] flarum.ERROR: Exception: Serialization of 'Closure' is not allowed in /home/hrjh/public_html/flarum/vendor/illuminate/queue/Queue.php:158
Stack trace:
#0 /home/hrjh/public_html/flarum/vendor/illuminate/queue/Queue.php(158): serialize(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob))
#1 /home/hrjh/public_html/flarum/vendor/illuminate/queue/Queue.php(127): Illuminate\Queue\Queue->createObjectPayload(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob), NULL)
#2 /home/hrjh/public_html/flarum/vendor/illuminate/queue/Queue.php(105): Illuminate\Queue\Queue->createPayloadArray(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob), NULL, '')
#3 /home/hrjh/public_html/flarum/vendor/illuminate/queue/SyncQueue.php(38): Illuminate\Queue\Queue->createPayload(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob), NULL, '')
#4 /home/hrjh/public_html/flarum/vendor/askvortsov/flarum-pwa/src/PushNotificationDriver.php(67): Illuminate\Queue\SyncQueue->push(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob))
#5 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Notification/NotificationSyncer.php(117): Askvortsov\FlarumPWA\PushNotificationDriver->send(Object(Flarum\Mentions\Notification\UserMentionedBlueprint), Array)
#6 /home/hrjh/public_html/flarum/vendor/flarum/mentions/src/Listener/UpdateMentionsMetadataWhenVisible.php(79): Flarum\Notification\NotificationSyncer->sync(Object(Flarum\Mentions\Notification\UserMentionedBlueprint), Array)
#7 /home/hrjh/public_html/flarum/vendor/flarum/mentions/src/Listener/UpdateMentionsMetadataWhenVisible.php(53): Flarum\Mentions\Listener\UpdateMentionsMetadataWhenVisible->syncUserMentions(Object(Flarum\Post\CommentPost), Array)
#8 /home/hrjh/public_html/flarum/vendor/illuminate/events/Dispatcher.php(424): Flarum\Mentions\Listener\UpdateMentionsMetadataWhenVisible->handle(Object(Flarum\Approval\Event\PostWasApproved))
#9 /home/hrjh/public_html/flarum/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('Flarum\\Approval...', Array)
#10 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Foundation/DispatchEventsTrait.php(33): Illuminate\Events\Dispatcher->dispatch('Flarum\\Approval...')
#11 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Post/Command/EditPostHandler.php(86): Flarum\Post\Command\EditPostHandler->dispatchEventsFor(Object(Flarum\Post\CommentPost), Object(Flarum\User\User))
#12 /home/hrjh/public_html/flarum/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Post\Command\EditPostHandler->handle(Object(Flarum\Post\Command\EditPost))
#13 /home/hrjh/public_html/flarum/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}(Object(Flarum\Post\Command\EditPost))
#14 /home/hrjh/public_html/flarum/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Flarum\Post\Command\EditPost))
#15 /home/hrjh/public_html/flarum/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#16 /home/hrjh/public_html/flarum/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow(Object(Flarum\Post\Command\EditPost))
#17 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Api/Controller/UpdatePostController.php(58): Illuminate\Bus\Dispatcher->dispatch(Object(Flarum\Post\Command\EditPost))
#18 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(116): Flarum\Api\Controller\UpdatePostController->data(Object(Laminas\Diactoros\ServerRequest), Object(Tobscure\JsonApi\Document))
#19 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractSerializeController->handle(Object(Laminas\Diactoros\ServerRequest))
#20 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}(Object(Laminas\Diactoros\ServerRequest), Array)
#21 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Closure))
#22 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#23 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#24 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#25 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#26 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#27 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#28 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#29 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#30 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#31 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#32 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#33 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#34 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#35 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#36 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#37 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#38 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#39 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\FakeHttpMethods->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#40 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#41 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#42 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#43 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#44 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#45 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#46 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#47 /home/hrjh/public_html/flarum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#48 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#49 /home/hrjh/public_html/flarum/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#50 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#51 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#52 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#53 /home/hrjh/public_html/flarum/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#54 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#55 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#56 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#57 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#58 /home/hrjh/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\EmptyPipelineHandler))
#59 /home/hrjh/public_html/flarum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(73): Laminas\Stratigility\MiddlewarePipe->handle(Object(Laminas\Diactoros\ServerRequest))
#60 /home/hrjh/public_html/flarum/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#61 /home/hrjh/public_html/flarum/public/index.php(26): Flarum\Http\Server->listen()
#62 {main}
The above is the only error in the log.
Here is my flarum info
[hrjh@lnx915 flarum]$ php flarum info
Flarum core: 1.7.0
PHP version: 8.0.29
MySQL version: 5.7.42
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, readline, Reflection, SPL, session, standard, bcmath, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, iconv, imap, exif, mysqlnd, PDO, Phar, posix, SimpleXML, sockets, sqlite3, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, pdo_sqlite, xmlreader
+------------------------------------+---------+--------+
| Flarum Extensions | | |
+------------------------------------+---------+--------+
| ID | Version | Commit |
+------------------------------------+---------+--------+
| flarum-flags | v1.7.0 | |
| flarum-approval | v1.7.0 | |
| flarum-subscriptions | v1.7.0 | |
| flarum-tags | v1.7.1 | |
| flarum-suspend | v1.7.0 | |
| flarum-bbcode | v1.7.0 | |
| fof-upload | 1.2.3 | |
| flarum-sticky | v1.7.0 | |
| fof-formatting | 1.0.3 | |
| fof-follow-tags | 1.1.7 | |
| flamarkt-backoffice | 0.1.3 | |
| fof-byobu | 1.3.0 | |
| flarum-likes | v1.7.0 | |
| fof-merge-discussions | 1.3.1 | |
| afrux-forum-widgets-core | v0.1.7 | |
| zerosonesfun-member | 1.2 | |
| zerosonesfun-featured-card | 1.0.3 | |
| zerosonesfun-collection | 1.2 | |
| zerosonesfun-bbcode-space | 1.0 | |
| zerosonesfun-bbcode-iframe | 1.0 | |
| zerosonesfun-bbcode-button | 1.1.3 | |
| zerosonesfun-bbcode-audio | 3.1.3 | |
| zerosonesfun-bbcode-advanced-image | 0.3 | |
| zequeen-acgembed-remastered | v1.1.2 | |
| v17development-user-badges | v1.1.0 | |
| v17development-seo | v1.8.0 | |
| the-turk-stickiest | 2.0.3 | |
| the-turk-quiet-edits | 0.1.3 | |
| the-turk-nodp | 1.0.1 | |
| the-turk-flamoji | 1.0.4 | |
| sycho-lite-youtube | v0.1.1 | |
| sycho-discussion-canonical-url | 0.1.1 | |
| ramesh-dada-bbcode-alerts | 6.21 | |
| nearata-related-discussions | 1.4.0 | |
| nearata-internal-links-noreload | v2.1.3 | |
| nearata-copy-code-to-clipboard | v2.1.0 | |
| katosdev-signature | 1.2 | |
| justoverclock-hashtag | 1.0.1 | |
| justoverclock-guestengagement | 1.0.3 | |
| itnt-uitab | v0.4.2 | |
| imshuzai-right-and-center-bbcode | 1.0.0 | |
| imshuzai-phonetic-bbcode | 1.0.0 | |
| ianm-synopsis | 1.3.0 | |
| ianm-no-meta-title | 1.1.0 | |
| ianm-follow-users | 1.3.0 | |
| fof-split | 1.1.0 | |
| fof-socialprofile | 1.1.5 | |
| fof-sitemap | 1.0.3 | |
| fof-profile-image-crop | 1.1.1 | |
| fof-pretty-mail | 1.1.1 | |
| fof-polls | 1.4.1 | |
| fof-pages | 1.0.5 | |
| fof-oauth | 1.3.2 | |
| fof-masquerade | 1.0.0 | |
| fof-links | 1.1.4 | |
| fof-linguist | 1.1.1 | |
| fof-impersonate | 1.1.1 | |
| fof-ignore-users | 1.2.0 | |
| fof-html-errors | 1.1.1 | |
| fof-geoip | 1.1.0 | |
| fof-drafts | 1.2.2 | |
| fof-discussion-thumbnail | 1.1.2 | |
| fof-best-answer | 1.2.5 | |
| fof-bbcode-tabs | 1.0.3 | |
| fof-bbcode-details | 1.1.1 | |
| fof-ban-ips | 1.0.3 | |
| fof-analytics | 1.1.0 | |
| flarumtr-mobile-search | v1.2 | |
| flarumite-simple-spoilers | 1.0.0 | |
| flarumite-simple-discussion-views | 1.1.6 | |
| flarum-statistics | v1.7.0 | |
| flarum-nicknames | v1.7.0 | |
| flarum-mentions | v1.7.0 | |
| flarum-markdown | v1.7.0 | |
| flarum-lock | v1.7.0 | |
| flarum-lang-english | v1.7.0 | |
| flarum-lang-chinese-simplified | v1.3.0 | |
| flarum-emoji | v1.7.0 | |
| ecnu-im-sticky-sidenav | v1.1.0 | |
| davwheat-share | v1.1.0 | |
| davwheat-session-keepalive | 1.1.0 | |
| davwheat-ads | 1.2.0 | |
| datlechin-scroll-buttons | v1.1.0 | |
| darkle-fancybox | 0.2 | |
| clarkwinkelmann-status | 1.0.0 | |
| clarkwinkelmann-post-bookmarks | 1.0.0 | |
| clarkwinkelmann-likes-received | 1.0.2 | |
| clarkwinkelmann-discussion-lists | 1.0.0 | |
| clarkwinkelmann-author-change | 1.0.3 | |
| blomstra-turnstile | 0.1.2 | |
| blomstra-flag-duplicates | 0.1.8 | |
| aurorum-better-iframe | v2.0.2 | |
| askvortsov-markdown-tables | v1.2.1 | |
| askvortsov-help-tags | v1.1.0 | |
| askvortsov-discussion-templates | v0.8.3 | |
| antoinefr-bbcode-fa | v1.0.0 | |
| afrux-online-users-widget | v0.1.6 | |
| afrux-news-widget | v0.1.1 | |
| acpl-my-tags | 1.2.1 | |
+------------------------------------+---------+--------+
Base URL: https://www.hrjh.org
Queue driver: sync
Session driver: file
Scheduler status: core.admin.dashboard.status.scheduler.never-run
Mail driver: smtp
Debug mode: off