Save the legacy B2 configuration result to error
I am using the master application key from b2.
Code:
Chevere\Throwable\Exceptions\ErrorException thrown in /var/www/pic.ke.fo/app/vendor/obregonco/backblaze-b2/src/File.php:5
# Message [Code #1]
During inheritance of JsonSerializable: Uncaught Chevere\Throwable\Exceptions\ErrorException: Return type of obregonco\B2\File::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/pic.ke.fo/app/vendor/obregonco/backblaze-b2/src/File.php:112 Stack trace: #0 /var/www/pic.ke.fo/app/vendor/obregonco/backblaze-b2/src/File.php(5): Chevere\ThrowableHandler\errorAsException() #1 /var/www/pic.ke.fo/app/vendor/composer/ClassLoader.php(571): include('/var/www/pic.ke...') #2 /var/www/pic.ke.fo/app/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile() #3 /var/www/pic.ke.fo/app/vendor/obregonco/backblaze-b2/src/Client.php(651): Composer\Autoload\ClassLoader->loadClass() #4 /var/www/pic.ke.fo/app/vendor/obregonco/backblaze-b2/src/Client.php(248): obregonco\B2\Client->uploadStandardFile() #5 /var/www/pic.ke.fo/app/src/Legacy/Classes/Storage.php(257): obregonco\B2\Client->upload() #6 /var/www/pic.ke.fo/app/src/Legacy/Classes/Storage.php(474): Chevereto\Legacy\Classes\Storage::uploadFiles() #7 /var/www/pic.ke.fo/app/src/Legacy/Classes/Storage.php(573): Chevereto\Legacy\Classes\Storage::test() #8 /var/www/pic.ke.fo/app/legacy/routes/json.php(635): Chevereto\Legacy\Classes\Storage::update() #9 /var/www/pic.ke.fo/app/src/Legacy/G/Handler.php(227): Chevereto\Legacy\G\Handler->{closure}() #10 /var/www/pic.ke.fo/app/src/Legacy/G/Handler.php(151): Chevereto\Legacy\G\Handler->processRequest() #11 /var/www/pic.ke.fo/app/legacy/load/web.php(447): Chevereto\Legacy\G\Handler->__construct() #12 /var/www/pic.ke.fo/app/legacy/entrypoints/index.php(25): require_once('/var/www/pic.ke...') #13 /var/www/pic.ke.fo/index.php(12): require_once('/var/www/pic.ke...') #14 {main}
I am using the master application key from b2.