POST https://tpxmc.xyz/api/discussions
ErrorException: [VAPID] Public key should be 65 bytes long when decoded. in F:\wwwroot\127.0.0.1\vendor\minishlink\web-push\src\VAPID.php:71
Stack trace:
#0 F:\wwwroot\127.0.0.1\vendor\minishlink\web-push\src\WebPush.php(88): Minishlink\WebPush\VAPID::validate(Array)
#1 F:\wwwroot\127.0.0.1\vendor\askvortsov\flarum-pwa\src\PushNotificationDriver.php(123): Minishlink\WebPush\WebPush->__construct(Array, Array)
#2 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Notification\NotificationSyncer.php(110): Askvortsov\FlarumPWA\PushNotificationDriver->send(Object(Flarum\Subscriptions\Notification\NewPostBlueprint), Array)
#3 F:\wwwroot\127.0.0.1\vendor\flarum\subscriptions\src\Job\SendReplyNotification.php(57): Flarum\Notification\NotificationSyncer->sync(Object(Flarum\Subscriptions\Notification\NewPostBlueprint), Array)
#4 F:\wwwroot\127.0.0.1\vendor\illuminate\container\BoundMethod.php(36): Flarum\Subscriptions\Job\SendReplyNotification->handle(Object(Flarum\Notification\NotificationSyncer))
#5 F:\wwwroot\127.0.0.1\vendor\illuminate\container\Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container{closure}()
#6 F:\wwwroot\127.0.0.1\vendor\illuminate\container\BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#7 F:\wwwroot\127.0.0.1\vendor\illuminate\container\BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Container\Container), Array, Object(Closure))
#8 F:\wwwroot\127.0.0.1\vendor\illuminate\container\Container.php(653): Illuminate\Container\BoundMethod::call(Object(Illuminate\Container\Container), Array, Array, NULL)
#9 F:\wwwroot\127.0.0.1\vendor\illuminate\bus\Dispatcher.php(128): Illuminate\Container\Container->call(Array)
#10 F:\wwwroot\127.0.0.1\vendor\illuminate\pipeline\Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}(Object(Flarum\Subscriptions\Job\SendReplyNotification))
#11 F:\wwwroot\127.0.0.1\vendor\illuminate\pipeline\Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Flarum\Subscriptions\Job\SendReplyNotification))
#12 F:\wwwroot\127.0.0.1\vendor\illuminate\bus\Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#13 F:\wwwroot\127.0.0.1\vendor\illuminate\queue\CallQueuedHandler.php(120): Illuminate\Bus\Dispatcher->dispatchNow(Object(Flarum\Subscriptions\Job\SendReplyNotification), false)
#14 F:\wwwroot\127.0.0.1\vendor\illuminate\pipeline\Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue{closure}(Object(Flarum\Subscriptions\Job\SendReplyNotification))
#15 F:\wwwroot\127.0.0.1\vendor\illuminate\pipeline\Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Flarum\Subscriptions\Job\SendReplyNotification))
#16 F:\wwwroot\127.0.0.1\vendor\illuminate\queue\CallQueuedHandler.php(122): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#17 F:\wwwroot\127.0.0.1\vendor\illuminate\queue\CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\Queue\Jobs\SyncJob), Object(Flarum\Subscriptions\Job\SendReplyNotification))
#18 F:\wwwroot\127.0.0.1\vendor\illuminate\queue\Jobs\Job.php(98): Illuminate\Queue\CallQueuedHandler->call(Object(Illuminate\Queue\Jobs\SyncJob), Array)
#19 F:\wwwroot\127.0.0.1\vendor\illuminate\queue\SyncQueue.php(43): Illuminate\Queue\Jobs\Job->fire()
#20 F:\wwwroot\127.0.0.1\vendor\flarum\subscriptions\src\Listener\SendNotificationWhenReplyIsPosted.php(31): Illuminate\Queue\SyncQueue->push(Object(Flarum\Subscriptions\Job\SendReplyNotification))
#21 F:\wwwroot\127.0.0.1\vendor\illuminate\events\Dispatcher.php(424): Flarum\Subscriptions\Listener\SendNotificationWhenReplyIsPosted->handle(Object(Flarum\Post\Event\Posted))
#22 F:\wwwroot\127.0.0.1\vendor\illuminate\events\Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events{closure}(‘Flarum\Post\Eve…’, Array)
#23 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Foundation\DispatchEventsTrait.php(33): Illuminate\Events\Dispatcher->dispatch(‘Flarum\Post\Eve…’)
#24 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Post\Command\PostReplyHandler.php(104): Flarum\Post\Command\PostReplyHandler->dispatchEventsFor(Object(Flarum\Post\CommentPost), Object(Flarum\User\User))
#25 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Notification\NotificationSyncer.php(148): Flarum\Post\Command\PostReplyHandler->Flarum\Post\Command{closure}()
#26 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Post\Command\PostReplyHandler.php(105): Flarum\Notification\NotificationSyncer->onePerUser(Object(Closure))
#27 F:\wwwroot\127.0.0.1\vendor\illuminate\bus\Dispatcher.php(122): Flarum\Post\Command\PostReplyHandler->handle(Object(Flarum\Post\Command\PostReply))
#28 F:\wwwroot\127.0.0.1\vendor\illuminate\pipeline\Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}(Object(Flarum\Post\Command\PostReply))
#29 F:\wwwroot\127.0.0.1\vendor\illuminate\pipeline\Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Flarum\Post\Command\PostReply))
#30 F:\wwwroot\127.0.0.1\vendor\illuminate\bus\Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#31 F:\wwwroot\127.0.0.1\vendor\illuminate\bus\Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow(Object(Flarum\Post\Command\PostReply))
#32 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Discussion\Command\StartDiscussionHandler.php(82): Illuminate\Bus\Dispatcher->dispatch(Object(Flarum\Post\Command\PostReply))
#33 F:\wwwroot\127.0.0.1\vendor\illuminate\bus\Dispatcher.php(122): Flarum\Discussion\Command\StartDiscussionHandler->handle(Object(Flarum\Discussion\Command\StartDiscussion))
#34 F:\wwwroot\127.0.0.1\vendor\illuminate\pipeline\Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}(Object(Flarum\Discussion\Command\StartDiscussion))
#35 F:\wwwroot\127.0.0.1\vendor\illuminate\pipeline\Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Flarum\Discussion\Command\StartDiscussion))
#36 F:\wwwroot\127.0.0.1\vendor\illuminate\bus\Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#37 F:\wwwroot\127.0.0.1\vendor\illuminate\bus\Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow(Object(Flarum\Discussion\Command\StartDiscussion))
#38 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Api\Controller\CreateDiscussionController.php(61): Illuminate\Bus\Dispatcher->dispatch(Object(Flarum\Discussion\Command\StartDiscussion))
#39 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Api\Controller\AbstractSerializeController.php(110): Flarum\Api\Controller\CreateDiscussionController->data(Object(Laminas\Diactoros\ServerRequest), Object(Tobscure\JsonApi\Document))
#40 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Api\Controller\AbstractCreateController.php(22): Flarum\Api\Controller\AbstractSerializeController->handle(Object(Laminas\Diactoros\ServerRequest))
#41 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Http\RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractCreateController->handle(Object(Laminas\Diactoros\ServerRequest))
#42 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Http\Middleware\ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http{closure}(Object(Laminas\Diactoros\ServerRequest), Array)
#43 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Flarum\Http\Middleware\ExecuteRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Closure))
#44 F:\wwwroot\127.0.0.1\vendor\malago\flarum-achievements\src\Middlewares\MiddlewarePosted.php(27): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#45 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Malago\Achievements\Middlewares\MiddlewarePosted->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#46 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Api\Middleware\ThrottleApi.php(33): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#47 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Flarum\Api\Middleware\ThrottleApi->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#48 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Http\Middleware\CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#49 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Flarum\Http\Middleware\CheckCsrfToken->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#50 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Http\Middleware\ResolveRoute.php(67): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#51 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Flarum\Http\Middleware\ResolveRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#52 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Http\Middleware\SetLocale.php(51): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#53 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Flarum\Http\Middleware\SetLocale->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#54 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Http\Middleware\AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#55 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Flarum\Http\Middleware\AuthenticateWithHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#56 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Http\Middleware\AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#57 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#58 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Http\Middleware\RememberFromCookie.php(52): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#59 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Flarum\Http\Middleware\RememberFromCookie->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#60 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Http\Middleware\StartSession.php(61): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#61 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Flarum\Http\Middleware\StartSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#62 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Api\Middleware\FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#63 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Flarum\Api\Middleware\FakeHttpMethods->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#64 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Http\Middleware\ParseJsonBody.php(28): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#65 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Flarum\Http\Middleware\ParseJsonBody->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#66 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Http\Middleware\HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#67 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#68 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Http\Middleware\InjectActorReference.php(25): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#69 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Flarum\Http\Middleware\InjectActorReference->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#70 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#71 F:\wwwroot\127.0.0.1\vendor\middlewares\request-handler\src\RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#72 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Middlewares\RequestHandler->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#73 F:\wwwroot\127.0.0.1\vendor\middlewares\base-path-router\src\BasePathRouter.php(101): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#74 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Middlewares\BasePathRouter->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#75 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Middleware\OriginalMessages.php(36): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#76 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Laminas\Stratigility\Middleware\OriginalMessages->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#77 F:\wwwroot\127.0.0.1\vendor\middlewares\base-path\src\BasePath.php(73): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#78 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Middlewares\BasePath->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#79 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Http\Middleware\ProcessIp.php(24): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#80 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\Next.php(51): Flarum\Http\Middleware\ProcessIp->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#81 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#82 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-stratigility\src\MiddlewarePipe.php(65): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\EmptyPipelineHandler))
#83 F:\wwwroot\127.0.0.1\vendor\laminas\laminas-httphandlerrunner\src\RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle(Object(Laminas\Diactoros\ServerRequest))
#84 F:\wwwroot\127.0.0.1\vendor\flarum\core\src\Http\Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#85 F:\wwwroot\127.0.0.1\public\index.php(26): Flarum\Http\Server->listen()
#86 {main}