We've come across a possible bug in integration with Pusher
[2021-05-25 08:44:12] flarum.ERROR: ArgumentCountError: Too few arguments to function resolve(), 0 passed in /var/www/flarum/forum.aire.link/vendor/xelson/flarum-ext-chat/src/PusherWrapper.php on line 41 and at least 1 expected in /var/www/flarum/forum.aire.link/vendor/flarum/core/src/helpers.php:20
Stack trace:
#0 /var/www/flarum/forum.aire.link/vendor/xelson/flarum-ext-chat/src/PusherWrapper.php(41): resolve()
#1 /var/www/flarum/forum.aire.link/vendor/xelson/flarum-ext-chat/src/PusherWrapper.php(70): Xelson\Chat\PusherWrapper->buildPusher()
#2 /var/www/flarum/forum.aire.link/vendor/xelson/flarum-ext-chat/src/ChatSocket.php(17): Xelson\Chat\PusherWrapper->pusher()
#3 /var/www/flarum/forum.aire.link/vendor/xelson/flarum-ext-chat/src/Listener/PushChatEvents.php(111): Xelson\Chat\ChatSocket->sendChatEvent()
#4 /var/www/flarum/forum.aire.link/vendor/illuminate/events/Dispatcher.php(392): Xelson\Chat\Listener\PushChatEvents->whenMessageSaved()
#5 /var/www/flarum/forum.aire.link/vendor/illuminate/events/Dispatcher.php(237): Illuminate\Events\Dispatcher->Illuminate\Events{closure}()
#6 /var/www/flarum/forum.aire.link/vendor/xelson/flarum-ext-chat/src/Commands/PostMessageHandler.php(78): Illuminate\Events\Dispatcher->dispatch()
#7 /var/www/flarum/forum.aire.link/vendor/illuminate/bus/Dispatcher.php(122): Xelson\Chat\Commands\PostMessageHandler->handle()
#8 /var/www/flarum/forum.aire.link/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}()
#9 /var/www/flarum/forum.aire.link/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#10 /var/www/flarum/forum.aire.link/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#11 /var/www/flarum/forum.aire.link/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
#12 /var/www/flarum/forum.aire.link/vendor/xelson/flarum-ext-chat/src/Api/Controllers/PostMessageController.php(62): Illuminate\Bus\Dispatcher->dispatch()
#13 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(102): Xelson\Chat\Api\Controllers\PostMessageController->data()
#14 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Http/RouteHandlerFactory.php(38): Flarum\Api\Controller\AbstractSerializeController->handle()
#15 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http{closure}()
#16 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\ExecuteRoute->process()
#17 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
#18 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Api\Middleware\ThrottleApi->process()
#19 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
#20 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\CheckCsrfToken->process()
#21 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle()
#22 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\ResolveRoute->process()
#23 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Http/Middleware/SetLocale.php(50): Laminas\Stratigility\Next->handle()
#24 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\SetLocale->process()
#25 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(55): Laminas\Stratigility\Next->handle()
#26 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\AuthenticateWithHeader->process()
#27 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(32): Laminas\Stratigility\Next->handle()
#28 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\AuthenticateWithSession->process()
#29 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
#30 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\RememberFromCookie->process()
#31 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
#32 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\StartSession->process()
#33 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
#34 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Api\Middleware\FakeHttpMethods->process()
#35 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
#36 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\ParseJsonBody->process()
#37 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#38 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\HandleErrors->process()
#39 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(84): Laminas\Stratigility\Next->handle()
#40 /var/www/flarum/forum.aire.link/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
#41 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\RequestHandler->process()
#42 /var/www/flarum/forum.aire.link/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
#43 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\BasePathRouter->process()
#44 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(42): Laminas\Stratigility\Next->handle()
#45 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Laminas\Stratigility\Middleware\OriginalMessages->process()
#46 /var/www/flarum/forum.aire.link/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
#47 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\BasePath->process()
#48 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
#49 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\ProcessIp->process()
#50 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(84): Laminas\Stratigility\Next->handle()
#51 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(73): Laminas\Stratigility\MiddlewarePipe->process()
#52 /var/www/flarum/forum.aire.link/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
#53 /var/www/flarum/forum.aire.link/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#54 /var/www/flarum/forum.aire.link/public/index.php(26): Flarum\Http\Server->listen()
#55 {main}