Slove this issue by changing the Email Driver.
In Email - Choose a Driver choose Mail instead of SMTP.
I got the idea from this post. Thank you, @askvortsov.
No "Oops! Something went wrong. Please reload the page and try again." anymore!! YEAH! 🌻 Thank you everyone for help and this supportive community.
With
katosdev-signature 1.2
Flarum 1.7.0
PHP 8.0.30
In the end it's my EMAIL DRIVER SETTINGS. 😃
By the way, do we have any extension, that we can check logs easily from admin page, rather than checking the files under storage/logs?
Later Updates:
I enabled the following extensions again,
- Subscription
- FoF follow Tags
As long as you don't enable My Tags and Follow Users(Oops message seen on laptop browser but not on cellphone web browser, is it a mystery?), the katosdev-signature 1.2 won't have any issue. Check the error messages below for more details:
[2023-11-10 21:13:35] flarum.ERROR: ParseError: syntax error, unexpected identifier "AlgorithmManager", expecting variable in /home/domain/public_html/flarum/vendor/web-token/jwt-signature/JWSBuilder.php:42
Stack trace:
#0 /home/domain/public_html/flarum/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/domain/publ...')
#1 /home/domain/public_html/flarum/vendor/minishlink/web-push/src/VAPID.php(131): Composer\Autoload\ClassLoader->loadClass('Jose\Component\...')
#2 /home/domain/public_html/flarum/vendor/minishlink/web-push/src/WebPush.php(383): Minishlink\WebPush\VAPID::getVapidHeaders('https://sg2p.no...', 'https://www.hrj...', '\x04\xC5\xA7q]\xD5\xE4F\xEE\x10Op$\x86M...', '\x0F(\x8E\xA7\x04\xF7\x93\xDDk\x9C\xB4]\x9F7j...', 'aesgcm')
#3 /home/domain/public_html/flarum/vendor/minishlink/web-push/src/WebPush.php(267): Minishlink\WebPush\WebPush->getVAPIDHeaders('https://sg2p.no...', 'aesgcm', Array)
#4 /home/domain/public_html/flarum/vendor/minishlink/web-push/src/WebPush.php(171): Minishlink\WebPush\WebPush->prepare(Array)
#5 /home/domain/public_html/flarum/vendor/askvortsov/flarum-pwa/src/PushSender.php(146): Minishlink\WebPush\WebPush->flush()
#6 /home/domain/public_html/flarum/vendor/askvortsov/flarum-pwa/src/Job/SendPushNotificationsJob.php(39): Askvortsov\FlarumPWA\PushSender->notify(Object(IanM\FollowUsers\Notifications\NewDiscussionBlueprint), Array)
#7 /home/domain/public_html/flarum/vendor/illuminate/container/BoundMethod.php(36): Askvortsov\FlarumPWA\Job\SendPushNotificationsJob->handle(Object(Askvortsov\FlarumPWA\PushSender))
#8 /home/domain/public_html/flarum/vendor/illuminate/container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container{closure}()
#9 /home/domain/public_html/flarum/vendor/illuminate/container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#10 /home/domain/public_html/flarum/vendor/illuminate/container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Container\Container), Array, Object(Closure))
#11 /home/domain/public_html/flarum/vendor/illuminate/container/Container.php(653): Illuminate\Container\BoundMethod::call(Object(Illuminate\Container\Container), Array, Array, NULL)
#12 /home/domain/public_html/flarum/vendor/illuminate/bus/Dispatcher.php(128): Illuminate\Container\Container->call(Array)
#13 /home/domain/public_html/flarum/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob))
#14 /home/domain/public_html/flarum/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob))
#15 /home/domain/public_html/flarum/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#16 /home/domain/public_html/flarum/vendor/illuminate/queue/CallQueuedHandler.php(120): Illuminate\Bus\Dispatcher->dispatchNow(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob), false)
#17 /home/domain/public_html/flarum/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue{closure}(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob))
#18 /home/domain/public_html/flarum/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob))
#19 /home/domain/public_html/flarum/vendor/illuminate/queue/CallQueuedHandler.php(122): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#20 /home/domain/public_html/flarum/vendor/illuminate/queue/CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\Queue\Jobs\SyncJob), Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob))
#21 /home/domain/public_html/flarum/vendor/illuminate/queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call(Object(Illuminate\Queue\Jobs\SyncJob), Array)
#22 /home/domain/public_html/flarum/vendor/illuminate/queue/SyncQueue.php(43): Illuminate\Queue\Jobs\Job->fire()
#23 /home/domain/public_html/flarum/vendor/askvortsov/flarum-pwa/src/PushNotificationDriver.php(67): Illuminate\Queue\SyncQueue->push(Object(Askvortsov\FlarumPWA\Job\SendPushNotificationsJob))
#24 /home/domain/public_html/flarum/vendor/flarum/core/src/Notification/NotificationSyncer.php(117): Askvortsov\FlarumPWA\PushNotificationDriver->send(Object(IanM\FollowUsers\Notifications\NewDiscussionBlueprint), Array)
#25 /home/domain/public_html/flarum/vendor/ianm/follow-users/src/Jobs/SendNotificationWhenDiscussionIsStarted.php(59): Flarum\Notification\NotificationSyncer->sync(Object(IanM\FollowUsers\Notifications\NewDiscussionBlueprint), Array)
#26 /home/domain/public_html/flarum/vendor/illuminate/container/BoundMethod.php(36): IanM\FollowUsers\Jobs\SendNotificationWhenDiscussionIsStarted->handle(Object(Flarum\Notification\NotificationSyncer))
#27 /home/domain/public_html/flarum/vendor/illuminate/container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container{closure}()
#28 /home/domain/public_html/flarum/vendor/illuminate/container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#29 /home/domain/public_html/flarum/vendor/illuminate/container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Container\Container), Array, Object(Closure))
#30 /home/domain/public_html/flarum/vendor/illuminate/container/Container.php(653): Illuminate\Container\BoundMethod::call(Object(Illuminate\Container\Container), Array, Array, NULL)
#31 /home/domain/public_html/flarum/vendor/illuminate/bus/Dispatcher.php(128): Illuminate\Container\Container->call(Array)
#32 /home/domain/public_html/flarum/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}(Object(IanM\FollowUsers\Jobs\SendNotificationWhenDiscussionIsStarted))
#33 /home/domain/public_html/flarum/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(IanM\FollowUsers\Jobs\SendNotificationWhenDiscussionIsStarted))
#34 /home/domain/public_html/flarum/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#35 /home/domain/public_html/flarum/vendor/illuminate/queue/CallQueuedHandler.php(120): Illuminate\Bus\Dispatcher->dispatchNow(Object(IanM\FollowUsers\Jobs\SendNotificationWhenDiscussionIsStarted), false)
#36 /home/domain/public_html/flarum/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue{closure}(Object(IanM\FollowUsers\Jobs\SendNotificationWhenDiscussionIsStarted))
#37 /home/domain/public_html/flarum/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(IanM\FollowUsers\Jobs\SendNotificationWhenDiscussionIsStarted))
#38 /home/domain/public_html/flarum/vendor/illuminate/queue/CallQueuedHandler.php(122): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#39 /home/domain/public_html/flarum/vendor/illuminate/queue/CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\Queue\Jobs\SyncJob), Object(IanM\FollowUsers\Jobs\SendNotificationWhenDiscussionIsStarted))
#40 /home/domain/public_html/flarum/vendor/illuminate/queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call(Object(Illuminate\Queue\Jobs\SyncJob), Array)
#41 /home/domain/public_html/flarum/vendor/illuminate/queue/SyncQueue.php(43): Illuminate\Queue\Jobs\Job->fire()
#42 /home/domain/public_html/flarum/vendor/ianm/follow-users/src/Listeners/QueueNotificationJobs.php(54): Illuminate\Queue\SyncQueue->push(Object(IanM\FollowUsers\Jobs\SendNotificationWhenDiscussionIsStarted))
#43 /home/domain/public_html/flarum/vendor/flarum/core/src/Database/AbstractModel.php(73): IanM\FollowUsers\Listeners\QueueNotificationJobs->IanM\FollowUsers\Listeners{closure}(Object(Flarum\Discussion\Discussion))
#44 /home/domain/public_html/flarum/vendor/illuminate/events/Dispatcher.php(404): Flarum\Database\AbstractModel::Flarum\Database{closure}(Object(Flarum\Discussion\Discussion))
#45 /home/domain/public_html/flarum/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events{closure}('eloquent.saved:...', Array)
#46 /home/domain/public_html/flarum/vendor/illuminate/database/Eloquent/Concerns/HasEvents.php(189): Illuminate\Events\Dispatcher->dispatch('eloquent.saved:...', Array)
#47 /home/domain/public_html/flarum/vendor/illuminate/database/Eloquent/Model.php(1035): Illuminate\Database\Eloquent\Model->fireModelEvent('saved', false)
#48 /home/domain/public_html/flarum/vendor/illuminate/database/Eloquent/Model.php(1006): Illuminate\Database\Eloquent\Model->finishSave(Array)
#49 /home/domain/public_html/flarum/vendor/flarum/core/src/Discussion/Command/StartDiscussionHandler.php(99): Illuminate\Database\Eloquent\Model->save()
#50 /home/domain/public_html/flarum/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Discussion\Command\StartDiscussionHandler->handle(Object(Flarum\Discussion\Command\StartDiscussion))
#51 /home/domain/public_html/flarum/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}(Object(Flarum\Discussion\Command\StartDiscussion))
#52 /home/domain/public_html/flarum/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Flarum\Discussion\Command\StartDiscussion))
#53 /home/domain/public_html/flarum/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#54 /home/domain/public_html/flarum/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow(Object(Flarum\Discussion\Command\StartDiscussion))
#55 /home/domain/public_html/flarum/vendor/flarum/core/src/Api/Controller/CreateDiscussionController.php(62): Illuminate\Bus\Dispatcher->dispatch(Object(Flarum\Discussion\Command\StartDiscussion))
#56 /home/domain/public_html/flarum/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(116): Flarum\Api\Controller\CreateDiscussionController->data(Object(Laminas\Diactoros\ServerRequest), Object(Tobscure\JsonApi\Document))
#57 /home/domain/public_html/flarum/vendor/flarum/core/src/Api/Controller/AbstractCreateController.php(22): Flarum\Api\Controller\AbstractSerializeController->handle(Object(Laminas\Diactoros\ServerRequest))
#58 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractCreateController->handle(Object(Laminas\Diactoros\ServerRequest))
#59 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http{closure}(Object(Laminas\Diactoros\ServerRequest), Array)
#60 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Closure))
#61 /home/domain/public_html/flarum/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#62 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#63 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#64 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#65 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#66 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#67 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#68 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#69 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#70 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#71 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#72 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#73 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#74 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#75 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#76 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#77 /home/domain/public_html/flarum/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#78 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\FakeHttpMethods->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#79 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#80 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#81 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#82 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#83 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#84 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#85 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#86 /home/domain/public_html/flarum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#87 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#88 /home/domain/public_html/flarum/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#89 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#90 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#91 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#92 /home/domain/public_html/flarum/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#93 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#94 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#95 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#96 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#97 /home/domain/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\EmptyPipelineHandler))
#98 /home/domain/public_html/flarum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(73): Laminas\Stratigility\MiddlewarePipe->handle(Object(Laminas\Diactoros\ServerRequest))
#99 /home/domain/public_html/flarum/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#100 /home/domain/public_html/flarum/public/index.php(26): Flarum\Http\Server->listen()
#101 {main}