Kyrne
POST https://domain.com/api/fof/upload
{
"errors": [
{
"status": "500",
"code": "unknown",
"detail": "Intervention\\Image\\Exception\\NotReadableException: Image source not readable in /var/www/beta13/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php:346\nStack trace:\n#0 /var/www/beta13/vendor/intervention/image/src/Intervention/Image/AbstractDriver.php(66): Intervention\\Image\\AbstractDecoder->init('/var/www/beta13...')\n#1 /var/www/beta13/vendor/intervention/image/src/Intervention/Image/Gd/Commands/InsertCommand.php(23): Intervention\\Image\\AbstractDriver->init('/var/www/beta13...')\n#2 /var/www/beta13/vendor/intervention/image/src/Intervention/Image/AbstractDriver.php(94): Intervention\\Image\\Gd\\Commands\\InsertCommand->execute(Object(Intervention\\Image\\Image))\n#3 /var/www/beta13/vendor/intervention/image/src/Intervention/Image/Image.php(108): Intervention\\Image\\AbstractDriver->executeCommand(Object(Intervention\\Image\\Image), 'insert', Array)\n#4 /var/www/beta13/vendor/fof/upload/src/Processors/ImageProcessor.php(82): Intervention\\Image\\Image->__call('insert', Array)\n#5 /var/www/beta13/vendor/fof/upload/src/Processors/ImageProcessor.php(47): FoF\\Upload\\Processors\\ImageProcessor->watermark(Object(Intervention\\Image\\Image))\n#6 /var/www/beta13/vendor/fof/upload/src/Extenders/AddImageProcessor.php(22): FoF\\Upload\\Processors\\ImageProcessor->process(Object(FoF\\Upload\\File), Object(Symfony\\Component\\HttpFoundation\\File\\UploadedFile), 'image/jpeg')\n#7 /var/www/beta13/vendor/illuminate/events/Dispatcher.php(360): FoF\\Upload\\Extenders\\AddImageProcessor->processor(Object(FoF\\Upload\\Events\\File\\WillBeUploaded))\n#8 /var/www/beta13/vendor/illuminate/events/Dispatcher.php(209): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('FoF\\\\Upload\\\\Even...', Array)\n#9 /var/www/beta13/vendor/illuminate/events/Dispatcher.php(182): Illuminate\\Events\\Dispatcher->dispatch('FoF\\\\Upload\\\\Even...', Array, false)\n#10 /var/www/beta13/vendor/fof/upload/src/Commands/UploadHandler.php(114): Illuminate\\Events\\Dispatcher->fire(Object(FoF\\Upload\\Events\\File\\WillBeUploaded))\n#11 [internal function]: FoF\\Upload\\Commands\\UploadHandler->FoF\\Upload\\Commands\\{closure}(Object(FoF\\Upload\\File), 0)\n#12 /var/www/beta13/vendor/illuminate/support/Collection.php(1034): array_map(Object(Closure), Array, Array)\n#13 /var/www/beta13/vendor/fof/upload/src/Commands/UploadHandler.php(155): Illuminate\\Support\\Collection->map(Object(Closure))\n#14 /var/www/beta13/vendor/illuminate/bus/Dispatcher.php(90): FoF\\Upload\\Commands\\UploadHandler->handle(Object(FoF\\Upload\\Commands\\Upload))\n#15 /var/www/beta13/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(FoF\\Upload\\Commands\\Upload))\n#16 /var/www/beta13/vendor/illuminate/pipeline/Pipeline.php(104): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(FoF\\Upload\\Commands\\Upload))\n#17 /var/www/beta13/vendor/illuminate/bus/Dispatcher.php(98): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#18 /var/www/beta13/vendor/illuminate/bus/Dispatcher.php(76): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(FoF\\Upload\\Commands\\Upload))\n#19 /var/www/beta13/vendor/fof/upload/src/Api/Controllers/UploadController.php(41): Illuminate\\Bus\\Dispatcher->dispatch(Object(FoF\\Upload\\Commands\\Upload))\n#20 /var/www/beta13/vendor/flarum/core/src/Http/RouteHandlerFactory.php(38): FoF\\Upload\\Api\\Controllers\\UploadController->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#21 /var/www/beta13/vendor/flarum/core/src/Http/Middleware/DispatchRoute.php(65): Flarum\\Http\\RouteHandlerFactory->Flarum\\Http\\{closure}(Object(Laminas\\Diactoros\\ServerRequest), Array)\n#22 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\\Http\\Middleware\\DispatchRoute->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Closure))\n#23 /var/www/beta13/vendor/flarum/core/src/Http/Middleware/SetLocale.php(50): Laminas\\Stratigility\\Next->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#24 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\\Http\\Middleware\\SetLocale->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\Next))\n#25 /var/www/beta13/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(45): Laminas\\Stratigility\\Next->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#26 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\\Http\\Middleware\\CheckCsrfToken->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\Next))\n#27 /var/www/beta13/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(55): Laminas\\Stratigility\\Next->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#28 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\\Http\\Middleware\\AuthenticateWithHeader->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\Next))\n#29 /var/www/beta13/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(32): Laminas\\Stratigility\\Next->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#30 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\\Http\\Middleware\\AuthenticateWithSession->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\Next))\n#31 /var/www/beta13/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(51): Laminas\\Stratigility\\Next->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#32 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\\Http\\Middleware\\RememberFromCookie->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\Next))\n#33 /var/www/beta13/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\\Stratigility\\Next->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#34 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\\Http\\Middleware\\StartSession->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\Next))\n#35 /var/www/beta13/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\\Stratigility\\Next->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#36 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\\Api\\Middleware\\FakeHttpMethods->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\Next))\n#37 /var/www/beta13/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\\Stratigility\\Next->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#38 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\\Http\\Middleware\\ParseJsonBody->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\Next))\n#39 /var/www/beta13/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\\Stratigility\\Next->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#40 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\\Http\\Middleware\\HandleErrors->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\Next))\n#41 /var/www/beta13/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(84): Laminas\\Stratigility\\Next->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#42 /var/www/beta13/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\\Stratigility\\MiddlewarePipe->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\Next))\n#43 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\\RequestHandler->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\Next))\n#44 /var/www/beta13/vendor/middlewares/base-path-router/src/BasePathRouter.php(97): Laminas\\Stratigility\\Next->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#45 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\\BasePathRouter->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\Next))\n#46 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(42): Laminas\\Stratigility\\Next->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#47 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Next.php(61): Laminas\\Stratigility\\Middleware\\OriginalMessages->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\Next))\n#48 /var/www/beta13/vendor/middlewares/base-path/src/BasePath.php(53): Laminas\\Stratigility\\Next->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#49 /var/www/beta13/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\\BasePath->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\Next))\n#50 /var/www/beta13/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(84): Laminas\\Stratigility\\Next->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#51 /var/www/beta13/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(73): Laminas\\Stratigility\\MiddlewarePipe->process(Object(Laminas\\Diactoros\\ServerRequest), Object(Laminas\\Stratigility\\EmptyPipelineHandler))\n#52 /var/www/beta13/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\\Stratigility\\MiddlewarePipe->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#53 /var/www/beta13/vendor/flarum/core/src/Http/Server.php(42): Laminas\\HttpHandlerRunner\\RequestHandlerRunner->run()\n#54 /var/www/beta13/public/index.php(26): Flarum\\Http\\Server->listen()\n#55 {main}"
}
]
}