Closed DursunCanPoyraz closed 3 years ago
[2020-12-26 19:24:56] flarum.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Argument 1 passed to FoF\Webhooks\Response::setDescription() must be of the type string or null, array given, called in /var/www/flarumgentr/vendor/fof/webhooks/src/Actions/Post/Deleted.php on line 41 in /var/www/flarumgentr/vendor/fof/webhooks/src/Response.php:96 Stack trace: #0 /var/www/flarumgentr/vendor/fof/webhooks/src/Actions/Post/Deleted.php(41): FoF\Webhooks\Response->setDescription() #1 /var/www/flarumgentr/vendor/fof/webhooks/src/Jobs/HandleEvent.php(47): FoF\Webhooks\Actions\Post\Deleted->listen() #2 /var/www/flarumgentr/vendor/illuminate/container/BoundMethod.php(36): FoF\Webhooks\Jobs\HandleEvent->handle() #3 /var/www/flarumgentr/vendor/illuminate/container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #4 /var/www/flarumgentr/vendor/illuminate/container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure() #5 /var/www/flarumgentr/vendor/illuminate/container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod() #6 /var/www/flarumgentr/vendor/illuminate/container/Container.php(590): Illuminate\Container\BoundMethod::call() #7 /var/www/flarumgentr/vendor/illuminate/bus/Dispatcher.php(94): Illuminate\Container\Container->call() #8 /var/www/flarumgentr/vendor/illuminate/pipeline/Pipeline.php(130): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}() #9 /var/www/flarumgentr/vendor/illuminate/pipeline/Pipeline.php(105): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #10 /var/www/flarumgentr/vendor/illuminate/bus/Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then() #11 /var/www/flarumgentr/vendor/illuminate/queue/CallQueuedHandler.php(83): Illuminate\Bus\Dispatcher->dispatchNow() #12 /var/www/flarumgentr/vendor/illuminate/pipeline/Pipeline.php(130): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}() #13 /var/www/flarumgentr/vendor/illuminate/pipeline/Pipeline.php(105): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #14 /var/www/flarumgentr/vendor/illuminate/queue/CallQueuedHandler.php(85): Illuminate\Pipeline\Pipeline->then() #15 /var/www/flarumgentr/vendor/illuminate/queue/CallQueuedHandler.php(59): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware() #16 /var/www/flarumgentr/vendor/illuminate/queue/Jobs/Job.php(88): Illuminate\Queue\CallQueuedHandler->call() #17 /var/www/flarumgentr/vendor/illuminate/queue/SyncQueue.php(45): Illuminate\Queue\Jobs\Job->fire() #18 /var/www/flarumgentr/vendor/fof/webhooks/src/Listener/TriggerListener.php(86): Illuminate\Queue\SyncQueue->push() #19 /var/www/flarumgentr/vendor/illuminate/events/Dispatcher.php(366): FoF\Webhooks\Listener\TriggerListener->run() #20 /var/www/flarumgentr/vendor/illuminate/events/Dispatcher.php(218): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}() #21 /var/www/flarumgentr/vendor/flarum/core/src/Foundation/DispatchEventsTrait.php(33): Illuminate\Events\Dispatcher->dispatch() #22 /var/www/flarumgentr/vendor/flarum/core/src/Post/Command/DeletePostHandler.php(55): Flarum\Post\Command\DeletePostHandler->dispatchEventsFor() #23 /var/www/flarumgentr/vendor/illuminate/bus/Dispatcher.php(90): Flarum\Post\Command\DeletePostHandler->handle() #24 /var/www/flarumgentr/vendor/illuminate/pipeline/Pipeline.php(130): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}() #25 /var/www/flarumgentr/vendor/illuminate/pipeline/Pipeline.php(105): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #26 /var/www/flarumgentr/vendor/illuminate/bus/Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then() #27 /var/www/flarumgentr/vendor/illuminate/bus/Dispatcher.php(76): Illuminate\Bus\Dispatcher->dispatchNow() #28 /var/www/flarumgentr/vendor/flarum/core/src/Api/Controller/DeletePostController.php(38): Illuminate\Bus\Dispatcher->dispatch() #29 /var/www/flarumgentr/vendor/flarum/core/src/Api/Controller/AbstractDeleteController.php(24): Flarum\Api\Controller\DeletePostController->delete() #30 /var/www/flarumgentr/vendor/flarum/core/src/Http/RouteHandlerFactory.php(38): Flarum\Api\Controller\AbstractDeleteController->handle() #31 /var/www/flarumgentr/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}() #32 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\ExecuteRoute->process() #33 /var/www/flarumgentr/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle() #34 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Api\Middleware\ThrottleApi->process() #35 /var/www/flarumgentr/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(48): Laminas\Stratigility\Next->handle() #36 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\CheckCsrfToken->process() #37 /var/www/flarumgentr/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle() #38 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\ResolveRoute->process() #39 /var/www/flarumgentr/vendor/flarum/core/src/Http/Middleware/SetLocale.php(50): Laminas\Stratigility\Next->handle() #40 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\SetLocale->process() #41 /var/www/flarumgentr/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(55): Laminas\Stratigility\Next->handle() #42 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\AuthenticateWithHeader->process() #43 /var/www/flarumgentr/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(32): Laminas\Stratigility\Next->handle() #44 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\AuthenticateWithSession->process() #45 /var/www/flarumgentr/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(51): Laminas\Stratigility\Next->handle() #46 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\RememberFromCookie->process() #47 /var/www/flarumgentr/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle() #48 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\StartSession->process() #49 /var/www/flarumgentr/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle() #50 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Api\Middleware\FakeHttpMethods->process() #51 /var/www/flarumgentr/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle() #52 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\ParseJsonBody->process() #53 /var/www/flarumgentr/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle() #54 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\HandleErrors->process() #55 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(84): Laminas\Stratigility\Next->handle() #56 /var/www/flarumgentr/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process() #57 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\RequestHandler->process() #58 /var/www/flarumgentr/vendor/middlewares/base-path-router/src/BasePathRouter.php(97): Laminas\Stratigility\Next->handle() #59 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\BasePathRouter->process() #60 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(42): Laminas\Stratigility\Next->handle() #61 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Laminas\Stratigility\Middleware\OriginalMessages->process() #62 /var/www/flarumgentr/vendor/middlewares/base-path/src/BasePath.php(53): Laminas\Stratigility\Next->handle() #63 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\BasePath->process() #64 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(84): Laminas\Stratigility\Next->handle() #65 /var/www/flarumgentr/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(73): Laminas\Stratigility\MiddlewarePipe->process() #66 /var/www/flarumgentr/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle() #67 /var/www/flarumgentr/vendor/flarum/core/src/Http/Server.php(42): Laminas\HttpHandlerRunner\RequestHandlerRunner->run() #68 /var/www/flarumgentr/public/index.php(26): Flarum\Http\Server->listen() #69 {main}
Fixed with a85bc417d4dcb4186354cfc8b19e3b21141ba065.