I've jsut notice that I can't upload new files anymore (using only local storage)
When I try to add some file:
Oops! Something went wrong. Please reload the page and try again.
From logs:
[2021-01-25 21:57:51] flarum.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Argument 1 passed to Flarum\Foundation\ValidationException::__construct() must be of the type array, string given, called in /home/prd/domains/forum.localhost/flarum/vendor/fof/upload/src/Adapters/Manager.php on line 92 in /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Foundation/ValidationException.php:19
Stack trace:
#0 /home/prd/domains/forum.localhost/flarum/vendor/fof/upload/src/Adapters/Manager.php(92): Flarum\Foundation\ValidationException->__construct()
#1 /home/prd/domains/forum.localhost/flarum/vendor/fof/upload/src/Commands/UploadHandler.php(188): FoF\Upload\Adapters\Manager->instantiate()
#2 /home/prd/domains/forum.localhost/flarum/vendor/fof/upload/src/Commands/UploadHandler.php(110): FoF\Upload\Commands\UploadHandler->getAdapter()
#3 [internal function]: FoF\Upload\Commands\UploadHandler->FoF\Upload\Commands\{closure}()
#4 /home/prd/domains/forum.localhost/flarum/vendor/illuminate/support/Collection.php(638): array_map()
#5 /home/prd/domains/forum.localhost/flarum/vendor/fof/upload/src/Commands/UploadHandler.php(169): Illuminate\Support\Collection->map()
#6 /home/prd/domains/forum.localhost/flarum/vendor/illuminate/bus/Dispatcher.php(90): FoF\Upload\Commands\UploadHandler->handle()
#7 /home/prd/domains/forum.localhost/flarum/vendor/illuminate/pipeline/Pipeline.php(130): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#8 /home/prd/domains/forum.localhost/flarum/vendor/illuminate/pipeline/Pipeline.php(105): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#9 /home/prd/domains/forum.localhost/flarum/vendor/illuminate/bus/Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then()
#10 /home/prd/domains/forum.localhost/flarum/vendor/illuminate/bus/Dispatcher.php(76): Illuminate\Bus\Dispatcher->dispatchNow()
#11 /home/prd/domains/forum.localhost/flarum/vendor/fof/upload/src/Api/Controllers/UploadController.php(51): Illuminate\Bus\Dispatcher->dispatch()
#12 /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(38): FoF\Upload\Api\Controllers\UploadController->handle()
#13 /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
#14 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\ExecuteRoute->process()
#15 /home/prd/domains/forum.localhost/flarum/vendor/kilowhat/flarum-ext-audit-free/src/Middlewares/SetLoggerActor.php(28): Laminas\Stratigility\Next->handle()
#16 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Kilowhat\Audit\Middlewares\SetLoggerActor->process()
#17 /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
#18 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Api\Middleware\ThrottleApi->process()
#19 /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(48): Laminas\Stratigility\Next->handle()
#20 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\CheckCsrfToken->process()
#21 /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle()
#22 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\ResolveRoute->process()
#23 /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(50): Laminas\Stratigility\Next->handle()
#24 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\SetLocale->process()
#25 /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(55): Laminas\Stratigility\Next->handle()
#26 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\AuthenticateWithHeader->process()
#27 /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(32): Laminas\Stratigility\Next->handle()
#28 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\AuthenticateWithSession->process()
#29 /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(51): Laminas\Stratigility\Next->handle()
#30 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\RememberFromCookie->process()
#31 /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
#32 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\StartSession->process()
#33 /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
#34 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Api\Middleware\FakeHttpMethods->process()
#35 /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
#36 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\ParseJsonBody->process()
#37 /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#38 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\HandleErrors->process()
#39 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(84): Laminas\Stratigility\Next->handle()
#40 /home/prd/domains/forum.localhost/flarum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
#41 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\RequestHandler->process()
#42 /home/prd/domains/forum.localhost/flarum/vendor/middlewares/base-path-router/src/BasePathRouter.php(97): Laminas\Stratigility\Next->handle()
#43 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\BasePathRouter->process()
#44 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(42): Laminas\Stratigility\Next->handle()
#45 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Laminas\Stratigility\Middleware\OriginalMessages->process()
#46 /home/prd/domains/forum.localhost/flarum/vendor/middlewares/base-path/src/BasePath.php(53): Laminas\Stratigility\Next->handle()
#47 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\BasePath->process()
#48 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(84): Laminas\Stratigility\Next->handle()
#49 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(73): Laminas\Stratigility\MiddlewarePipe->process()
#50 /home/prd/domains/forum.localhost/flarum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
#51 /home/prd/domains/forum.localhost/flarum/vendor/flarum/core/src/Http/Server.php(42): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#52 /home/prd/domains/forum.localhost/flarum/public/index.php(22): Flarum\Http\Server->listen()
#53 {main}
My flarum info:
$ php flarum info
Flarum core 0.1.0-beta.15
PHP version: 7.4.14
Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, intl, json, mbstring, session, standard, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, mysqli, SimpleXML, soap, sockets, sodium, exif, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, imagick, ionCube Loader
+---------------------------------+----------------+--------+
| Flarum Extensions | | |
+---------------------------------+----------------+--------+
| ID | Version | Commit |
+---------------------------------+----------------+--------+
| flarum-lang-english | v0.1.0-beta.15 | |
| flarum-flags | v0.1.0-beta.15 | |
| flarum-tags | v0.1.0-beta.15 | |
| flarum-approval | v0.1.0-beta.15 | |
| kilowhat-audit-free | 1.3.1 | |
| michaelbelgium-discussion-views | v5.0.0 | |
| flarum-emoji | v0.1.0-beta.15 | |
| clarkwinkelmann-author-change | 0.2.2 | |
| askvortsov-categories | v2.0.0 | |
| fof-best-answer | 0.3.5 | |
| fof-follow-tags | 0.6.5 | |
| fof-linguist | 0.5.0 | |
| fof-links | 0.5.3 | |
| fof-merge-discussions | 0.5.1 | |
| fof-nightmode | 0.7.1 | |
| fof-oauth | 0.2.0 | |
| fof-profile-image-crop | 0.2.1 | |
| fof-reactions | 0.5.0 | |
| fof-spamblock | 0.4.0 | |
| fof-split | 0.6.0 | |
| fof-user-bio | 0.4.2 | |
| flarum-likes | v0.1.0-beta.15 | |
| flarum-lock | v0.1.0-beta.15 | |
| flarum-markdown | v0.1.0-beta.15 | |
| flarum-mentions | v0.1.0-beta.15 | |
| flarum-statistics | v0.1.0-beta.15 | |
| flarum-sticky | v0.1.0-beta.15 | |
| flarum-subscriptions | v0.1.0-beta.15 | |
| flarum-suspend | v0.1.0-beta.15 | |
| fof-upload | 0.12.6 | |
| kyrne-websocket | 2.3.0 | |
| fof-drafts | 0.3.1 | |
| askvortsov-discussion-templates | v0.3.0 | |
| fof-user-directory | 0.5.0 | |
| fof-bbcode-details | 0.2.1 | |
| xelson-chat | v1.0.0-beta.1 | |
| fof-polls | 0.3.2 | |
+---------------------------------+----------------+--------+
Anyone have similar issue?