TypeError: League\Flysystem\Filesystem::delete(): Argument #1 ($location) must be of type string, null given, called in /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemAdapter.php on line 567 and defined in /opt/homebrew/var/www/mxmeo/vendor/league/flysystem/src/Filesystem.php:84
Stack trace:
#0 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemAdapter.php(567): League\Flysystem\Filesystem->delete(NULL)
#1 /opt/homebrew/var/www/mxmeo/app/Jobs/EncodeVideo.php(288): Illuminate\Filesystem\FilesystemAdapter->delete(Array)
#2 /opt/homebrew/var/www/mxmeo/app/Jobs/EncodeVideo.php(189): App\Jobs\EncodeVideo->deleteFile('temp/temp/12699...')
#3 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Jobs\EncodeVideo->handle()
#4 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::{closure:Illuminate\Container\BoundMethod::call():35}()
#5 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#6 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#7 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Container/Container.php(799): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#8 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(129): Illuminate\Container\Container->call(Array)
#9 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Bus\Dispatcher->{closure:Illuminate\Bus\Dispatcher::dispatchNow():126}(Object(App\Jobs\EncodeVideo))
#10 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Pipeline\Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():178}(Object(App\Jobs\EncodeVideo))
#11 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(133): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#12 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(134): Illuminate\Bus\Dispatcher->dispatchNow(Object(App\Jobs\EncodeVideo), false)
#13 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Queue\CallQueuedHandler->{closure:Illuminate\Queue\CallQueuedHandler::dispatchThroughMiddleware():127}(Object(App\Jobs\EncodeVideo))
#14 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Pipeline\Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():178}(Object(App\Jobs\EncodeVideo))
#15 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(127): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#16 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(68): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\Queue\Jobs\DatabaseJob), Object(App\Jobs\EncodeVideo))
#17 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\Queue\CallQueuedHandler->call(Object(Illuminate\Queue\Jobs\DatabaseJob), Array)
#18 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(485): Illuminate\Queue\Jobs\Job->fire()
#19 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(435): Illuminate\Queue\Worker->process('database', Object(Illuminate\Queue\Jobs\DatabaseJob), Object(Illuminate\Queue\WorkerOptions))
#20 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(201): Illuminate\Queue\Worker->runJob(Object(Illuminate\Queue\Jobs\DatabaseJob), 'database', Object(Illuminate\Queue\WorkerOptions))
#21 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(148): Illuminate\Queue\Worker->daemon('database', 'default', Object(Illuminate\Queue\WorkerOptions))
#22 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(131): Illuminate\Queue\Console\WorkCommand->runWorker('database', 'default')
#23 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Queue\Console\WorkCommand->handle()
#24 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::{closure:Illuminate\Container\BoundMethod::call():35}()
#25 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#26 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#27 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Container/Container.php(799): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#28 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\Container\Container->call(Array)
#29 /opt/homebrew/var/www/mxmeo/vendor/symfony/console/Command/Command.php(341): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#30 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#31 /opt/homebrew/var/www/mxmeo/vendor/symfony/console/Application.php(1102): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#32 /opt/homebrew/var/www/mxmeo/vendor/symfony/console/Application.php(356): Symfony\Component\Console\Application->doRunCommand(Object(Illuminate\Queue\Console\WorkCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#33 /opt/homebrew/var/www/mxmeo/vendor/symfony/console/Application.php(195): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#34 /opt/homebrew/var/www/mxmeo/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(198): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#35 /opt/homebrew/var/www/mxmeo/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#36 {main}