[2026-10-28 00:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 00:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 00:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 00:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 01:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 01:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 01:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 01:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 02:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 02:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 02:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 02:45:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 03:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 03:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 03:30:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 03:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 04:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 04:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 04:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 04:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 05:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 05:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 05:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 05:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 06:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 06:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 06:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 06:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 07:00:02] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 07:00:02] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 07:00:02] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 07:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 07:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 07:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 08:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 08:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 08:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 08:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 09:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 09:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 09:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 09:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 09:51:22] local.WARNING: OTP test number used: a fixed code was issued and no message was sent. {"identifier":"+963*******71"} 
[2026-10-28 10:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 10:02:52] local.CRITICAL: A route plan delayed a customer beyond the batch limit. {"driver_id":1,"order_id":154,"promised_at":"2026-10-27T17:00:11+03:00","new_eta_at":"2026-10-28T10:39:41+03:00","delay_seconds":63570.64041500000166706740856170654296875,"limit_seconds":360.0} 
[2026-10-28 10:02:52] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 10:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 10:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 10:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 11:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 11:01:07] local.ERROR: read error on connection to 127.0.0.1:6379 {"exception":"[object] (RedisException(code: 0): read error on connection to 127.0.0.1:6379 at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php:120)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(120): Redis->select(1)
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Support/helpers.php(393): Illuminate\\Redis\\Connectors\\PhpRedisConnector->Illuminate\\Redis\\Connectors\\{closure}(Object(Redis))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(84): tap(Object(Redis), Object(Closure))
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(34): Illuminate\\Redis\\Connectors\\PhpRedisConnector->createClient(Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(39): Illuminate\\Redis\\Connectors\\PhpRedisConnector->Illuminate\\Redis\\Connectors\\{closure}()
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/RedisManager.php(112): Illuminate\\Redis\\Connectors\\PhpRedisConnector->connect(Array, Array)
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/RedisManager.php(93): Illuminate\\Redis\\RedisManager->resolve('cache')
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(409): Illuminate\\Redis\\RedisManager->connection('cache')
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(82): Illuminate\\Cache\\RedisStore->connection()
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('illuminate:queu...')
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(938): Illuminate\\Cache\\Repository->get('illuminate:queu...')
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(239): Illuminate\\Queue\\Worker->getTimestampOfLastQueueRestart()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#20 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#22 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#23 /home/mohammed/public_html/captain-api/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))
#24 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#25 /home/mohammed/public_html/captain-api/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))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#27 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#28 {main}
"} 
[2026-10-28 11:01:07] local.ERROR: read error on connection to 127.0.0.1:6379 {"exception":"[object] (RedisException(code: 0): read error on connection to 127.0.0.1:6379 at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php:120)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(120): Redis->select(1)
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Support/helpers.php(393): Illuminate\\Redis\\Connectors\\PhpRedisConnector->Illuminate\\Redis\\Connectors\\{closure}(Object(Redis))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(84): tap(Object(Redis), Object(Closure))
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(34): Illuminate\\Redis\\Connectors\\PhpRedisConnector->createClient(Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(39): Illuminate\\Redis\\Connectors\\PhpRedisConnector->Illuminate\\Redis\\Connectors\\{closure}()
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/RedisManager.php(112): Illuminate\\Redis\\Connectors\\PhpRedisConnector->connect(Array, Array)
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/RedisManager.php(93): Illuminate\\Redis\\RedisManager->resolve('cache')
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(409): Illuminate\\Redis\\RedisManager->connection('cache')
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(82): Illuminate\\Cache\\RedisStore->connection()
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('illuminate:queu...')
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(938): Illuminate\\Cache\\Repository->get('illuminate:queu...')
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(239): Illuminate\\Queue\\Worker->getTimestampOfLastQueueRestart()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#20 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#22 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#23 /home/mohammed/public_html/captain-api/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))
#24 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#25 /home/mohammed/public_html/captain-api/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))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#27 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#28 {main}
"} 
[2026-10-28 11:01:07] local.ERROR: read error on connection to 127.0.0.1:6379 {"exception":"[object] (RedisException(code: 0): read error on connection to 127.0.0.1:6379 at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php:120)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(120): Redis->select(1)
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Support/helpers.php(393): Illuminate\\Redis\\Connectors\\PhpRedisConnector->Illuminate\\Redis\\Connectors\\{closure}(Object(Redis))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(84): tap(Object(Redis), Object(Closure))
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(34): Illuminate\\Redis\\Connectors\\PhpRedisConnector->createClient(Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php(39): Illuminate\\Redis\\Connectors\\PhpRedisConnector->Illuminate\\Redis\\Connectors\\{closure}()
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/RedisManager.php(112): Illuminate\\Redis\\Connectors\\PhpRedisConnector->connect(Array, Array)
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/RedisManager.php(93): Illuminate\\Redis\\RedisManager->resolve('cache')
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(409): Illuminate\\Redis\\RedisManager->connection('cache')
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(82): Illuminate\\Cache\\RedisStore->connection()
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('laravel:reverb:...')
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(600): Illuminate\\Cache\\Repository->get('laravel:reverb:...')
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(364): Illuminate\\Cache\\CacheManager->__call('get', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/reverb/src/Servers/Reverb/Console/Commands/StartServer.php(108): Illuminate\\Support\\Facades\\Facade::__callStatic('get', Array)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/reverb/src/Servers/Reverb/Console/Commands/StartServer.php(73): Laravel\\Reverb\\Servers\\Reverb\\Console\\Commands\\StartServer->ensureRestartCommandIsRespected(Object(Laravel\\Reverb\\Servers\\Reverb\\Http\\Server), Object(React\\EventLoop\\StreamSelectLoop), '0.0.0.0', '8080')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Laravel\\Reverb\\Servers\\Reverb\\Console\\Commands\\StartServer->handle()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#20 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#22 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#23 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Laravel\\Reverb\\Servers\\Reverb\\Console\\Commands\\StartServer), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#24 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#25 /home/mohammed/public_html/captain-api/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))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#27 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#28 {main}
"} 
[2026-10-28 11:01:07] local.ERROR: LOADING Redis is loading the dataset in memory {"exception":"[object] (RedisException(code: 0): LOADING Redis is loading the dataset in memory at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:124)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(124): Redis->get('laravel-cache-i...')
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(637): Illuminate\\Redis\\Connections\\Connection->command('get', Array)
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(121): Illuminate\\Redis\\Connections\\PhpRedisConnection->command('get', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(84): Illuminate\\Redis\\Connections\\PhpRedisConnection->get('laravel-cache-i...')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('illuminate:queu...')
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(938): Illuminate\\Cache\\Repository->get('illuminate:queu...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(239): Illuminate\\Queue\\Worker->getTimestampOfLastQueueRestart()
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#15 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#17 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#18 /home/mohammed/public_html/captain-api/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))
#19 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#20 /home/mohammed/public_html/captain-api/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))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#22 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#23 {main}
"} 
[2026-10-28 11:01:07] local.ERROR: LOADING Redis is loading the dataset in memory {"exception":"[object] (RedisException(code: 0): LOADING Redis is loading the dataset in memory at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:124)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(124): Redis->get('laravel-cache-i...')
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(637): Illuminate\\Redis\\Connections\\Connection->command('get', Array)
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(121): Illuminate\\Redis\\Connections\\PhpRedisConnection->command('get', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(84): Illuminate\\Redis\\Connections\\PhpRedisConnection->get('laravel-cache-i...')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('illuminate:queu...')
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(938): Illuminate\\Cache\\Repository->get('illuminate:queu...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(239): Illuminate\\Queue\\Worker->getTimestampOfLastQueueRestart()
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#15 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#17 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#18 /home/mohammed/public_html/captain-api/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))
#19 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#20 /home/mohammed/public_html/captain-api/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))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#22 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#23 {main}
"} 
[2026-10-28 11:01:08] local.ERROR: LOADING Redis is loading the dataset in memory {"userId":1,"exception":"[object] (RedisException(code: 0): LOADING Redis is loading the dataset in memory at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:124)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(124): Redis->get('laravel-cache-f...')
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(637): Illuminate\\Redis\\Connections\\Connection->command('get', Array)
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(121): Illuminate\\Redis\\Connections\\PhpRedisConnection->command('get', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(84): Illuminate\\Redis\\Connections\\PhpRedisConnection->get('laravel-cache-f...')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('f1f70ec40aaa556...')
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\Repository->get('f1f70ec40aaa556...', 0)
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PacksPhpRedisValues.php(115): Illuminate\\Cache\\RateLimiter->Illuminate\\Cache\\{closure}()
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(312): Illuminate\\Redis\\Connections\\PhpRedisConnection->withoutSerializationOrCompression(Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\RateLimiter->withoutSerializationOrCompression(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(130): Illuminate\\Cache\\RateLimiter->attempts('f1f70ec40aaa556...')
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(157): Illuminate\\Cache\\RateLimiter->tooManyAttempts('f1f70ec40aaa556...', 30)
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'driver', 'admin')
#16 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#50 {main}
"} 
[2026-10-28 11:01:08] local.ERROR: LOADING Redis is loading the dataset in memory {"userId":1,"exception":"[object] (RedisException(code: 0): LOADING Redis is loading the dataset in memory at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:124)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(124): Redis->get('laravel-cache-f...')
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(637): Illuminate\\Redis\\Connections\\Connection->command('get', Array)
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(121): Illuminate\\Redis\\Connections\\PhpRedisConnection->command('get', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(84): Illuminate\\Redis\\Connections\\PhpRedisConnection->get('laravel-cache-f...')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('f1f70ec40aaa556...')
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\Repository->get('f1f70ec40aaa556...', 0)
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PacksPhpRedisValues.php(115): Illuminate\\Cache\\RateLimiter->Illuminate\\Cache\\{closure}()
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(312): Illuminate\\Redis\\Connections\\PhpRedisConnection->withoutSerializationOrCompression(Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\RateLimiter->withoutSerializationOrCompression(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(130): Illuminate\\Cache\\RateLimiter->attempts('f1f70ec40aaa556...')
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(157): Illuminate\\Cache\\RateLimiter->tooManyAttempts('f1f70ec40aaa556...', 30)
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'driver', 'admin')
#16 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#50 {main}
"} 
[2026-10-28 11:01:08] local.ERROR: LOADING Redis is loading the dataset in memory {"userId":1,"exception":"[object] (RedisException(code: 0): LOADING Redis is loading the dataset in memory at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:124)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(124): Redis->get('laravel-cache-f...')
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(637): Illuminate\\Redis\\Connections\\Connection->command('get', Array)
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(121): Illuminate\\Redis\\Connections\\PhpRedisConnection->command('get', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(84): Illuminate\\Redis\\Connections\\PhpRedisConnection->get('laravel-cache-f...')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('f1f70ec40aaa556...')
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\Repository->get('f1f70ec40aaa556...', 0)
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PacksPhpRedisValues.php(115): Illuminate\\Cache\\RateLimiter->Illuminate\\Cache\\{closure}()
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(312): Illuminate\\Redis\\Connections\\PhpRedisConnection->withoutSerializationOrCompression(Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\RateLimiter->withoutSerializationOrCompression(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(130): Illuminate\\Cache\\RateLimiter->attempts('f1f70ec40aaa556...')
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(157): Illuminate\\Cache\\RateLimiter->tooManyAttempts('f1f70ec40aaa556...', 30)
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#16 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#50 {main}
"} 
[2026-10-28 11:01:08] local.ERROR: LOADING Redis is loading the dataset in memory {"userId":1,"exception":"[object] (RedisException(code: 0): LOADING Redis is loading the dataset in memory at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:124)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(124): Redis->get('laravel-cache-f...')
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(637): Illuminate\\Redis\\Connections\\Connection->command('get', Array)
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(121): Illuminate\\Redis\\Connections\\PhpRedisConnection->command('get', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(84): Illuminate\\Redis\\Connections\\PhpRedisConnection->get('laravel-cache-f...')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('f1f70ec40aaa556...')
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\Repository->get('f1f70ec40aaa556...', 0)
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PacksPhpRedisValues.php(115): Illuminate\\Cache\\RateLimiter->Illuminate\\Cache\\{closure}()
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(312): Illuminate\\Redis\\Connections\\PhpRedisConnection->withoutSerializationOrCompression(Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\RateLimiter->withoutSerializationOrCompression(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(130): Illuminate\\Cache\\RateLimiter->attempts('f1f70ec40aaa556...')
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(157): Illuminate\\Cache\\RateLimiter->tooManyAttempts('f1f70ec40aaa556...', 30)
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#16 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#50 {main}
"} 
[2026-10-28 11:01:08] local.ERROR: LOADING Redis is loading the dataset in memory {"userId":1,"exception":"[object] (RedisException(code: 0): LOADING Redis is loading the dataset in memory at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:124)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(124): Redis->get('laravel-cache-f...')
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(637): Illuminate\\Redis\\Connections\\Connection->command('get', Array)
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(121): Illuminate\\Redis\\Connections\\PhpRedisConnection->command('get', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(84): Illuminate\\Redis\\Connections\\PhpRedisConnection->get('laravel-cache-f...')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('f1f70ec40aaa556...')
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\Repository->get('f1f70ec40aaa556...', 0)
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PacksPhpRedisValues.php(115): Illuminate\\Cache\\RateLimiter->Illuminate\\Cache\\{closure}()
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(312): Illuminate\\Redis\\Connections\\PhpRedisConnection->withoutSerializationOrCompression(Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\RateLimiter->withoutSerializationOrCompression(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(130): Illuminate\\Cache\\RateLimiter->attempts('f1f70ec40aaa556...')
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(157): Illuminate\\Cache\\RateLimiter->tooManyAttempts('f1f70ec40aaa556...', 30)
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'driver', 'admin')
#16 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#50 {main}
"} 
[2026-10-28 11:01:08] local.ERROR: LOADING Redis is loading the dataset in memory {"userId":1,"exception":"[object] (RedisException(code: 0): LOADING Redis is loading the dataset in memory at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:124)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(124): Redis->get('laravel-cache-f...')
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(637): Illuminate\\Redis\\Connections\\Connection->command('get', Array)
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(121): Illuminate\\Redis\\Connections\\PhpRedisConnection->command('get', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(84): Illuminate\\Redis\\Connections\\PhpRedisConnection->get('laravel-cache-f...')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('f1f70ec40aaa556...')
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\Repository->get('f1f70ec40aaa556...', 0)
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PacksPhpRedisValues.php(115): Illuminate\\Cache\\RateLimiter->Illuminate\\Cache\\{closure}()
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(312): Illuminate\\Redis\\Connections\\PhpRedisConnection->withoutSerializationOrCompression(Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\RateLimiter->withoutSerializationOrCompression(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(130): Illuminate\\Cache\\RateLimiter->attempts('f1f70ec40aaa556...')
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(157): Illuminate\\Cache\\RateLimiter->tooManyAttempts('f1f70ec40aaa556...', 30)
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'driver', 'admin')
#16 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#50 {main}
"} 
[2026-10-28 11:01:08] local.ERROR: LOADING Redis is loading the dataset in memory {"userId":1,"exception":"[object] (RedisException(code: 0): LOADING Redis is loading the dataset in memory at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:124)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(124): Redis->get('laravel-cache-f...')
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(637): Illuminate\\Redis\\Connections\\Connection->command('get', Array)
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(121): Illuminate\\Redis\\Connections\\PhpRedisConnection->command('get', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(84): Illuminate\\Redis\\Connections\\PhpRedisConnection->get('laravel-cache-f...')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('f1f70ec40aaa556...')
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\Repository->get('f1f70ec40aaa556...', 0)
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PacksPhpRedisValues.php(115): Illuminate\\Cache\\RateLimiter->Illuminate\\Cache\\{closure}()
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(312): Illuminate\\Redis\\Connections\\PhpRedisConnection->withoutSerializationOrCompression(Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\RateLimiter->withoutSerializationOrCompression(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(130): Illuminate\\Cache\\RateLimiter->attempts('f1f70ec40aaa556...')
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(157): Illuminate\\Cache\\RateLimiter->tooManyAttempts('f1f70ec40aaa556...', 30)
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#16 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#50 {main}
"} 
[2026-10-28 11:01:08] local.ERROR: LOADING Redis is loading the dataset in memory {"userId":1,"exception":"[object] (RedisException(code: 0): LOADING Redis is loading the dataset in memory at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:124)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(124): Redis->get('laravel-cache-f...')
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(637): Illuminate\\Redis\\Connections\\Connection->command('get', Array)
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(121): Illuminate\\Redis\\Connections\\PhpRedisConnection->command('get', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(84): Illuminate\\Redis\\Connections\\PhpRedisConnection->get('laravel-cache-f...')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('f1f70ec40aaa556...')
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\Repository->get('f1f70ec40aaa556...', 0)
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PacksPhpRedisValues.php(115): Illuminate\\Cache\\RateLimiter->Illuminate\\Cache\\{closure}()
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(312): Illuminate\\Redis\\Connections\\PhpRedisConnection->withoutSerializationOrCompression(Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\RateLimiter->withoutSerializationOrCompression(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(130): Illuminate\\Cache\\RateLimiter->attempts('f1f70ec40aaa556...')
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(157): Illuminate\\Cache\\RateLimiter->tooManyAttempts('f1f70ec40aaa556...', 30)
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'driver', 'admin')
#16 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#50 {main}
"} 
[2026-10-28 11:01:08] local.ERROR: LOADING Redis is loading the dataset in memory {"userId":1,"exception":"[object] (RedisException(code: 0): LOADING Redis is loading the dataset in memory at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:124)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(124): Redis->get('laravel-cache-f...')
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(637): Illuminate\\Redis\\Connections\\Connection->command('get', Array)
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(121): Illuminate\\Redis\\Connections\\PhpRedisConnection->command('get', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(84): Illuminate\\Redis\\Connections\\PhpRedisConnection->get('laravel-cache-f...')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('f1f70ec40aaa556...')
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\Repository->get('f1f70ec40aaa556...', 0)
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PacksPhpRedisValues.php(115): Illuminate\\Cache\\RateLimiter->Illuminate\\Cache\\{closure}()
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(312): Illuminate\\Redis\\Connections\\PhpRedisConnection->withoutSerializationOrCompression(Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\RateLimiter->withoutSerializationOrCompression(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(130): Illuminate\\Cache\\RateLimiter->attempts('f1f70ec40aaa556...')
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(157): Illuminate\\Cache\\RateLimiter->tooManyAttempts('f1f70ec40aaa556...', 30)
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'driver', 'admin')
#16 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#50 {main}
"} 
[2026-10-28 11:01:08] local.ERROR: LOADING Redis is loading the dataset in memory {"userId":1,"exception":"[object] (RedisException(code: 0): LOADING Redis is loading the dataset in memory at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:124)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(124): Redis->get('laravel-cache-f...')
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(637): Illuminate\\Redis\\Connections\\Connection->command('get', Array)
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(121): Illuminate\\Redis\\Connections\\PhpRedisConnection->command('get', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(84): Illuminate\\Redis\\Connections\\PhpRedisConnection->get('laravel-cache-f...')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('f1f70ec40aaa556...')
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\Repository->get('f1f70ec40aaa556...', 0)
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PacksPhpRedisValues.php(115): Illuminate\\Cache\\RateLimiter->Illuminate\\Cache\\{closure}()
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(312): Illuminate\\Redis\\Connections\\PhpRedisConnection->withoutSerializationOrCompression(Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\RateLimiter->withoutSerializationOrCompression(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(130): Illuminate\\Cache\\RateLimiter->attempts('f1f70ec40aaa556...')
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(157): Illuminate\\Cache\\RateLimiter->tooManyAttempts('f1f70ec40aaa556...', 30)
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#16 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#50 {main}
"} 
[2026-10-28 11:01:08] local.ERROR: LOADING Redis is loading the dataset in memory {"userId":1,"exception":"[object] (RedisException(code: 0): LOADING Redis is loading the dataset in memory at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:124)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(124): Redis->get('laravel-cache-f...')
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(637): Illuminate\\Redis\\Connections\\Connection->command('get', Array)
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PhpRedisConnection.php(121): Illuminate\\Redis\\Connections\\PhpRedisConnection->command('get', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(84): Illuminate\\Redis\\Connections\\PhpRedisConnection->get('laravel-cache-f...')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(138): Illuminate\\Cache\\RedisStore->get('f1f70ec40aaa556...')
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\Repository->get('f1f70ec40aaa556...', 0)
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Redis/Connections/PacksPhpRedisValues.php(115): Illuminate\\Cache\\RateLimiter->Illuminate\\Cache\\{closure}()
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(312): Illuminate\\Redis\\Connections\\PhpRedisConnection->withoutSerializationOrCompression(Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(207): Illuminate\\Cache\\RateLimiter->withoutSerializationOrCompression(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Cache/RateLimiter.php(130): Illuminate\\Cache\\RateLimiter->attempts('f1f70ec40aaa556...')
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(157): Illuminate\\Cache\\RateLimiter->tooManyAttempts('f1f70ec40aaa556...', 30)
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#16 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#50 {main}
"} 
[2026-10-28 11:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 11:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 11:45:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 12:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 12:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 12:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 12:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 13:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 13:03:09] local.WARNING: OTP test number used: a fixed code was issued and no message was sent. {"identifier":"+963*******08"} 
[2026-10-28 13:03:42] local.WARNING: OTP test number used: a fixed code was issued and no message was sent. {"identifier":"+963*******71"} 
[2026-10-28 13:10:52] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":116.2000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":116.2000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 116.18293, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:10:52] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":116.2000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":116.2000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 2)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 116.18293, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:10:52] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":76.900000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":76.900000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 76.932986, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:10:52] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":76.900000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":76.900000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 16)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 76.932986, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:10:52] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":156,"suggestion_id":690,"candidates":2,"total_ms":227,"routing_elements":18,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":156,\"suggestion_id\":690,\"candidates\":2,\"total_ms\":227,\"routing_elements\":18,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:10:57] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {"order_id":156,"driver_id":64,"suggestion_id":690,"chosen_rank":1,"batched":false,"metric":"assignment.made"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {\"order_id\":156,\"driver_id\":64,\"suggestion_id\":690,\"chosen_rank\":1,\"batched\":false,\"metric\":\"assignment.made\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'assignment.made', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('assignment.made', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'assignment.made', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('assignment.made', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(44): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), false, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 690, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fd-bebe-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fd-bebe-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a17d7e-1847-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a181fd-bebe-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:10:57] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {"order_id":156,"driver_id":64,"suggestion_id":690,"chosen_rank":1,"batched":false,"metric":"suggestion.chosen"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {\"order_id\":156,\"driver_id\":64,\"suggestion_id\":690,\"chosen_rank\":1,\"batched\":false,\"metric\":\"suggestion.chosen\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(54): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), false, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 690, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fd-bebe-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fd-bebe-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a17d7e-1847-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a181fd-bebe-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:10:57] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen_first
Context: {"order_id":156,"driver_id":64,"suggestion_id":690,"chosen_rank":1,"batched":false,"metric":"suggestion.chosen_first"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen_first
Context: {\"order_id\":156,\"driver_id\":64,\"suggestion_id\":690,\"chosen_rank\":1,\"batched\":false,\"metric\":\"suggestion.chosen_first\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(57): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), false, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 690, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fd-bebe-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fd-bebe-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a17d7e-1847-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a181fd-bebe-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:10:57] local.CRITICAL: A route plan delayed a customer beyond the batch limit. {"driver_id":64,"order_id":156,"promised_at":"2026-10-27T16:37:44+03:00","new_eta_at":"2026-10-28T13:35:26+03:00","delay_seconds":75462.78148999999393709003925323486328125,"limit_seconds":360.0} 
[2026-10-28 13:10:57] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:10:57] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:10:57] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":77.2000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":77.2000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 77.195978, 1, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:10:57] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":77.2000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":77.2000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 1)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 77.195978, 1, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:10:57] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:10:58] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":476.8999999999999772626324556767940521240234375,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":476.8999999999999772626324556767940521240234375,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 476.911166, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(64, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:10:58] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":476.8999999999999772626324556767940521240234375,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":476.8999999999999772626324556767940521240234375,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 25)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 476.911166, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(64, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:10:58] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":156,"suggestion_id":691,"candidates":2,"total_ms":591,"routing_elements":26,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":156,\"suggestion_id\":691,\"candidates\":2,\"total_ms\":591,\"routing_elements\":26,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:10:58] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":156,"suggestion_id":692,"candidates":2,"total_ms":26,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":156,\"suggestion_id\":692,\"candidates\":2,\"total_ms\":26,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:10:58] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":156,"suggestion_id":693,"candidates":2,"total_ms":25,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":156,\"suggestion_id\":693,\"candidates\":2,\"total_ms\":25,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:11:13] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:11:13] local.ERROR: هذا الطلب غير مسند إليك. {"userId":64,"exception":"[object] (App\\Exceptions\\ApiException(code: 0): هذا الطلب غير مسند إليك. at /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php:2476)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(390): App\\Services\\Order\\OrderService->guardAgainstForeignDriver(Object(App\\Models\\Order), Object(App\\Models\\Driver))
#1 /home/mohammed/public_html/captain-api/app/Http/Controllers/Mobile/Order/OrderController.php(75): App\\Services\\Order\\OrderService->detailForCaptain('01a17d7e-1847-7...', Object(App\\Models\\Driver))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Mobile\\Order\\OrderController->show(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...')
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Mobile\\Order\\OrderController), 'show')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'driver')
#17 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#51 {main}
"} 
[2026-10-28 13:11:20] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/dashboard/orders/01a17d7e-1847-7210-ab7b-2440ab2198e1","method":"GET","ip":"135.136.39.35"} 
[2026-10-28 13:11:22] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/dashboard/orders/01a17d7e-1847-7210-ab7b-2440ab2198e1","method":"GET","ip":"135.136.39.35"} 
[2026-10-28 13:11:30] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":75.7999999999999971578290569595992565155029296875,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":75.7999999999999971578290569595992565155029296875,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 75.753035, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:11:30] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":75.7999999999999971578290569595992565155029296875,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":75.7999999999999971578290569595992565155029296875,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 2)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 75.753035, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:11:30] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":75.599999999999994315658113919198513031005859375,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":75.599999999999994315658113919198513031005859375,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 75.6115, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:11:30] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":75.599999999999994315658113919198513031005859375,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":75.599999999999994315658113919198513031005859375,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 16)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 75.6115, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:11:30] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":155,"suggestion_id":694,"candidates":2,"total_ms":186,"routing_elements":18,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":155,\"suggestion_id\":694,\"candidates\":2,\"total_ms\":186,\"routing_elements\":18,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:11:32] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {"order_id":155,"driver_id":64,"suggestion_id":694,"chosen_rank":1,"batched":false,"metric":"assignment.made"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {\"order_id\":155,\"driver_id\":64,\"suggestion_id\":694,\"chosen_rank\":1,\"batched\":false,\"metric\":\"assignment.made\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'assignment.made', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('assignment.made', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'assignment.made', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('assignment.made', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(44): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), false, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 694, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fe-5159-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fe-5159-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a17d77-04ac-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a181fe-5159-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:11:32] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {"order_id":155,"driver_id":64,"suggestion_id":694,"chosen_rank":1,"batched":false,"metric":"suggestion.chosen"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {\"order_id\":155,\"driver_id\":64,\"suggestion_id\":694,\"chosen_rank\":1,\"batched\":false,\"metric\":\"suggestion.chosen\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(54): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), false, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 694, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fe-5159-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fe-5159-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a17d77-04ac-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a181fe-5159-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:11:32] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen_first
Context: {"order_id":155,"driver_id":64,"suggestion_id":694,"chosen_rank":1,"batched":false,"metric":"suggestion.chosen_first"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen_first
Context: {\"order_id\":155,\"driver_id\":64,\"suggestion_id\":694,\"chosen_rank\":1,\"batched\":false,\"metric\":\"suggestion.chosen_first\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(57): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), false, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 694, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fe-5159-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fe-5159-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a17d77-04ac-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a181fe-5159-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:11:33] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":76.400000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":76.400000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 76.354154, 1, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:11:33] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":76.400000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":76.400000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 1)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 76.354154, 1, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:11:33] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":82.7999999999999971578290569595992565155029296875,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":82.7999999999999971578290569595992565155029296875,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 82.803347, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(64, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:11:33] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":82.7999999999999971578290569595992565155029296875,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":82.7999999999999971578290569595992565155029296875,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 25)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 82.803347, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(64, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:11:33] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":155,"suggestion_id":695,"candidates":2,"total_ms":190,"routing_elements":26,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":155,\"suggestion_id\":695,\"candidates\":2,\"total_ms\":190,\"routing_elements\":26,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:11:33] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":155,"suggestion_id":696,"candidates":2,"total_ms":23,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":155,\"suggestion_id\":696,\"candidates\":2,\"total_ms\":23,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:11:33] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":155,"suggestion_id":697,"candidates":2,"total_ms":22,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":155,\"suggestion_id\":697,\"candidates\":2,\"total_ms\":22,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:11:34] local.CRITICAL: A route plan delayed a customer beyond the batch limit. {"driver_id":64,"order_id":155,"promised_at":"2026-10-27T17:11:33+03:00","new_eta_at":"2026-10-28T13:31:58+03:00","delay_seconds":73225.376923999996506609022617340087890625,"limit_seconds":360.0} 
[2026-10-28 13:11:34] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:11:34] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:11:34] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:11:34] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":68.599999999999994315658113919198513031005859375,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":68.599999999999994315658113919198513031005859375,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 68.556471, 1, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:11:34] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":68.599999999999994315658113919198513031005859375,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":68.599999999999994315658113919198513031005859375,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 1)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 68.556471, 1, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:11:34] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":79.7000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":79.7000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 79.748354, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(64, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:11:34] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":79.7000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":79.7000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 25)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 79.748354, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(64, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:11:34] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":156,"suggestion_id":698,"candidates":2,"total_ms":173,"routing_elements":26,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":156,\"suggestion_id\":698,\"candidates\":2,\"total_ms\":173,\"routing_elements\":26,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:11:37] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {"order_id":156,"driver_id":64,"suggestion_id":698,"chosen_rank":2,"batched":true,"metric":"assignment.made"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {\"order_id\":156,\"driver_id\":64,\"suggestion_id\":698,\"chosen_rank\":2,\"batched\":true,\"metric\":\"assignment.made\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'assignment.made', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('assignment.made', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'assignment.made', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('assignment.made', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(44): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), true, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 698, 2, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fe-629c-7...', 2, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fe-629c-7...', 2, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a17d7e-1847-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a181fe-629c-7...', 2)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:11:37] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.batched
Context: {"order_id":156,"driver_id":64,"suggestion_id":698,"chosen_rank":2,"batched":true,"metric":"assignment.batched"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.batched
Context: {\"order_id\":156,\"driver_id\":64,\"suggestion_id\":698,\"chosen_rank\":2,\"batched\":true,\"metric\":\"assignment.batched\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'assignment.batc...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('assignment.batc...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'assignment.batc...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('assignment.batc...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(47): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), true, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 698, 2, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fe-629c-7...', 2, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fe-629c-7...', 2, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a17d7e-1847-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a181fe-629c-7...', 2)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:11:37] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {"order_id":156,"driver_id":64,"suggestion_id":698,"chosen_rank":2,"batched":true,"metric":"suggestion.chosen"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {\"order_id\":156,\"driver_id\":64,\"suggestion_id\":698,\"chosen_rank\":2,\"batched\":true,\"metric\":\"suggestion.chosen\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(54): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), true, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 698, 2, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fe-629c-7...', 2, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a181fe-629c-7...', 2, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a17d7e-1847-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a181fe-629c-7...', 2)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:11:38] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":156,"suggestion_id":699,"candidates":1,"total_ms":20,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":156,\"suggestion_id\":699,\"candidates\":1,\"total_ms\":20,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:11:38] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":156,"suggestion_id":700,"candidates":1,"total_ms":19,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":156,\"suggestion_id\":700,\"candidates\":1,\"total_ms\":19,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:11:38] local.CRITICAL: A route plan delayed a customer beyond the batch limit. {"driver_id":64,"order_id":156,"promised_at":"2026-10-28T13:35:26+03:00","new_eta_at":"2026-10-28T13:51:26+03:00","delay_seconds":960.754263000000037209247238934040069580078125,"limit_seconds":360.0} 
[2026-10-28 13:11:38] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:11:38] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:11:38] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:11:38] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":156,"suggestion_id":701,"candidates":1,"total_ms":22,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":156,\"suggestion_id\":701,\"candidates\":1,\"total_ms\":22,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 13:15:48] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:15:48] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:15:48] local.ERROR: هذا الطلب غير مسند إليك. {"userId":64,"exception":"[object] (App\\Exceptions\\ApiException(code: 0): هذا الطلب غير مسند إليك. at /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php:2476)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(390): App\\Services\\Order\\OrderService->guardAgainstForeignDriver(Object(App\\Models\\Order), Object(App\\Models\\Driver))
#1 /home/mohammed/public_html/captain-api/app/Http/Controllers/Mobile/Order/OrderController.php(75): App\\Services\\Order\\OrderService->detailForCaptain('01a17d7e-1847-7...', Object(App\\Models\\Driver))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Mobile\\Order\\OrderController->show(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...')
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Mobile\\Order\\OrderController), 'show')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'driver')
#17 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#51 {main}
"} 
[2026-10-28 13:15:52] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:15:53] local.ERROR: هذا الطلب غير مسند إليك. {"userId":64,"exception":"[object] (App\\Exceptions\\ApiException(code: 0): هذا الطلب غير مسند إليك. at /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php:2476)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(390): App\\Services\\Order\\OrderService->guardAgainstForeignDriver(Object(App\\Models\\Order), Object(App\\Models\\Driver))
#1 /home/mohammed/public_html/captain-api/app/Http/Controllers/Mobile/Order/OrderController.php(75): App\\Services\\Order\\OrderService->detailForCaptain('01a17d77-04ac-7...', Object(App\\Models\\Driver))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Mobile\\Order\\OrderController->show(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...')
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Mobile\\Order\\OrderController), 'show')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'driver')
#17 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#51 {main}
"} 
[2026-10-28 13:16:11] local.ERROR: هذا الطلب غير مسند إليك. {"userId":64,"exception":"[object] (App\\Exceptions\\ApiException(code: 0): هذا الطلب غير مسند إليك. at /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php:2476)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(390): App\\Services\\Order\\OrderService->guardAgainstForeignDriver(Object(App\\Models\\Order), Object(App\\Models\\Driver))
#1 /home/mohammed/public_html/captain-api/app/Http/Controllers/Mobile/Order/OrderController.php(75): App\\Services\\Order\\OrderService->detailForCaptain('01a17d7e-1847-7...', Object(App\\Models\\Driver))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Mobile\\Order\\OrderController->show(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...')
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Mobile\\Order\\OrderController), 'show')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'driver')
#17 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#51 {main}
"} 
[2026-10-28 13:16:30] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/profile","method":"GET","ip":"9.246.91.126"} 
[2026-10-28 13:17:13] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:17:13] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:17:19] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":75.099999999999994315658113919198513031005859375,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":75.099999999999994315658113919198513031005859375,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 75.109893, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:17:19] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":75.099999999999994315658113919198513031005859375,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":75.099999999999994315658113919198513031005859375,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 2)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 75.109893, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:17:20] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":47.39999999999999857891452847979962825775146484375,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":47.39999999999999857891452847979962825775146484375,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 47.395488, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:17:20] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":47.39999999999999857891452847979962825775146484375,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":47.39999999999999857891452847979962825775146484375,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 16)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 47.395488, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:17:20] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":156,"suggestion_id":702,"candidates":2,"total_ms":156,"routing_elements":18,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":156,\"suggestion_id\":702,\"candidates\":2,\"total_ms\":156,\"routing_elements\":18,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:17:26] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {"order_id":156,"driver_id":64,"suggestion_id":702,"chosen_rank":2,"batched":false,"metric":"assignment.made"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {\"order_id\":156,\"driver_id\":64,\"suggestion_id\":702,\"chosen_rank\":2,\"batched\":false,\"metric\":\"assignment.made\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'assignment.made', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('assignment.made', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'assignment.made', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('assignment.made', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(44): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), false, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 702, 2, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18203-a7b7-7...', 2, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18203-a7b7-7...', 2, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a17d7e-1847-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a18203-a7b7-7...', 2)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:17:26] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {"order_id":156,"driver_id":64,"suggestion_id":702,"chosen_rank":2,"batched":false,"metric":"suggestion.chosen"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {\"order_id\":156,\"driver_id\":64,\"suggestion_id\":702,\"chosen_rank\":2,\"batched\":false,\"metric\":\"suggestion.chosen\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(54): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), false, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 702, 2, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18203-a7b7-7...', 2, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18203-a7b7-7...', 2, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a17d7e-1847-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a18203-a7b7-7...', 2)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:17:27] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:17:27] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:17:27] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":42.2999999999999971578290569595992565155029296875,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":42.2999999999999971578290569595992565155029296875,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 42.251606, 1, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:17:27] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":42.2999999999999971578290569595992565155029296875,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":42.2999999999999971578290569595992565155029296875,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 1)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 42.251606, 1, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:17:27] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:17:27] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":73,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":73,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 73.041507, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(64, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:17:27] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":73,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":73,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 25)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 73.041507, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(64, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:17:27] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":156,"suggestion_id":703,"candidates":2,"total_ms":145,"routing_elements":26,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":156,\"suggestion_id\":703,\"candidates\":2,\"total_ms\":145,\"routing_elements\":26,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d7e-1847-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:17:27] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/dashboard/orders/01a17d7e-1847-7210-ab7b-2440ab2198e1/captains","method":"GET","ip":"135.136.39.35"} 
[2026-10-28 13:17:28] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/dashboard/orders/01a17d7e-1847-7210-ab7b-2440ab2198e1/captains","method":"GET","ip":"135.136.39.35"} 
[2026-10-28 13:17:30] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":86.400000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":86.400000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 86.417515, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:17:30] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":86.400000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":86.400000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 2)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 86.417515, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:17:30] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":72.2000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":72.2000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 72.202255, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:17:30] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":72.2000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":72.2000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 16)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 72.202255, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:17:30] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":66.599999999999994315658113919198513031005859375,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":66.599999999999994315658113919198513031005859375,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 66.584159, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(64, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:17:30] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":66.599999999999994315658113919198513031005859375,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":66.599999999999994315658113919198513031005859375,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 25)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 66.584159, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(64, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:17:30] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":155,"suggestion_id":704,"candidates":2,"total_ms":257,"routing_elements":43,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":155,\"suggestion_id\":704,\"candidates\":2,\"total_ms\":257,\"routing_elements\":43,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:17:34] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {"order_id":155,"driver_id":64,"suggestion_id":704,"chosen_rank":2,"batched":true,"metric":"assignment.made"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {\"order_id\":155,\"driver_id\":64,\"suggestion_id\":704,\"chosen_rank\":2,\"batched\":true,\"metric\":\"assignment.made\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'assignment.made', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('assignment.made', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'assignment.made', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('assignment.made', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(44): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), true, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 704, 2, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18203-cfe8-7...', 2, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18203-cfe8-7...', 2, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a17d77-04ac-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a18203-cfe8-7...', 2)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:17:34] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.batched
Context: {"order_id":155,"driver_id":64,"suggestion_id":704,"chosen_rank":2,"batched":true,"metric":"assignment.batched"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.batched
Context: {\"order_id\":155,\"driver_id\":64,\"suggestion_id\":704,\"chosen_rank\":2,\"batched\":true,\"metric\":\"assignment.batched\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'assignment.batc...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('assignment.batc...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'assignment.batc...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('assignment.batc...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(47): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), true, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 704, 2, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18203-cfe8-7...', 2, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18203-cfe8-7...', 2, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a17d77-04ac-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a18203-cfe8-7...', 2)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:17:34] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {"order_id":155,"driver_id":64,"suggestion_id":704,"chosen_rank":2,"batched":true,"metric":"suggestion.chosen"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {\"order_id\":155,\"driver_id\":64,\"suggestion_id\":704,\"chosen_rank\":2,\"batched\":true,\"metric\":\"suggestion.chosen\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(54): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), true, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 704, 2, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18203-cfe8-7...', 2, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18203-cfe8-7...', 2, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a17d77-04ac-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a18203-cfe8-7...', 2)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:17:35] local.CRITICAL: A route plan delayed a customer beyond the batch limit. {"driver_id":64,"order_id":156,"promised_at":"2026-10-28T13:41:56+03:00","new_eta_at":"2026-10-28T13:57:22+03:00","delay_seconds":926.1471820000000434447429142892360687255859375,"limit_seconds":360.0} 
[2026-10-28 13:17:35] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:17:35] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:17:35] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:17:35] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":155,"suggestion_id":705,"candidates":1,"total_ms":21,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":155,\"suggestion_id\":705,\"candidates\":1,\"total_ms\":21,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:17:35] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":155,"suggestion_id":706,"candidates":1,"total_ms":24,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":155,\"suggestion_id\":706,\"candidates\":1,\"total_ms\":24,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:17:35] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":155,"suggestion_id":707,"candidates":1,"total_ms":20,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":155,\"suggestion_id\":707,\"candidates\":1,\"total_ms\":20,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a17d77-04ac-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a17d77-04ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:24:29] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:24:29] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:24:29] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:24:33] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":59.7999999999999971578290569595992565155029296875,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":59.7999999999999971578290569595992565155029296875,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 59.798, 1, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820a-35ac-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:24:33] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":59.7999999999999971578290569595992565155029296875,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":59.7999999999999971578290569595992565155029296875,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 1)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 59.798, 1, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820a-35ac-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:24:34] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":92.7999999999999971578290569595992565155029296875,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":92.7999999999999971578290569595992565155029296875,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 92.753947, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820a-35ac-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:24:34] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":92.7999999999999971578290569595992565155029296875,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":92.7999999999999971578290569595992565155029296875,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 16)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 92.753947, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820a-35ac-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:24:34] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":157,"suggestion_id":708,"candidates":1,"total_ms":186,"routing_elements":17,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":157,\"suggestion_id\":708,\"candidates\":1,\"total_ms\":186,\"routing_elements\":17,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820a-35ac-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:24:41] local.ERROR: هذا الطلب غير مسند إليك. {"userId":64,"exception":"[object] (App\\Exceptions\\ApiException(code: 0): هذا الطلب غير مسند إليك. at /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php:2476)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(390): App\\Services\\Order\\OrderService->guardAgainstForeignDriver(Object(App\\Models\\Order), Object(App\\Models\\Driver))
#1 /home/mohammed/public_html/captain-api/app/Http/Controllers/Mobile/Order/OrderController.php(75): App\\Services\\Order\\OrderService->detailForCaptain('01a17d7e-1847-7...', Object(App\\Models\\Driver))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Mobile\\Order\\OrderController->show(Object(Illuminate\\Http\\Request), '01a17d7e-1847-7...')
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Mobile\\Order\\OrderController), 'show')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'driver')
#17 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#51 {main}
"} 
[2026-10-28 13:24:41] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:24:41] local.CRITICAL: A route plan delayed a customer beyond the batch limit. {"driver_id":64,"order_id":155,"promised_at":"2026-10-28T13:37:58+03:00","new_eta_at":"2026-10-28T13:44:37+03:00","delay_seconds":399.94242800000000670479494147002696990966796875,"limit_seconds":360.0} 
[2026-10-28 13:24:41] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:24:45] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:24:48] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:24:48] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:24:48] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/orders/01a17d77-04ac-7006-b609-2fdd5c11f5ad/on-the-way","method":"PATCH","ip":"9.246.91.126"} 
[2026-10-28 13:24:51] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:24:56] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":45.60000000000000142108547152020037174224853515625,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":45.60000000000000142108547152020037174224853515625,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 45.606358, 1, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820a-35ac-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:24:56] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":45.60000000000000142108547152020037174224853515625,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":45.60000000000000142108547152020037174224853515625,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 1)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 45.606358, 1, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820a-35ac-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:24:56] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":47.10000000000000142108547152020037174224853515625,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":47.10000000000000142108547152020037174224853515625,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 47.133428, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(64, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820a-35ac-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:24:56] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":47.10000000000000142108547152020037174224853515625,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":47.10000000000000142108547152020037174224853515625,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 16)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 47.133428, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(64, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820a-35ac-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:24:56] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":157,"suggestion_id":709,"candidates":2,"total_ms":120,"routing_elements":17,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":157,\"suggestion_id\":709,\"candidates\":2,\"total_ms\":120,\"routing_elements\":17,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820a-35ac-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:25:00] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {"order_id":157,"driver_id":64,"suggestion_id":709,"chosen_rank":1,"batched":true,"metric":"assignment.made"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {\"order_id\":157,\"driver_id\":64,\"suggestion_id\":709,\"chosen_rank\":1,\"batched\":true,\"metric\":\"assignment.made\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'assignment.made', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('assignment.made', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'assignment.made', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('assignment.made', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(44): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), true, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 709, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820a-a074-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820a-a074-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a1820a-35ac-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a1820a-a074-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:25:00] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.batched
Context: {"order_id":157,"driver_id":64,"suggestion_id":709,"chosen_rank":1,"batched":true,"metric":"assignment.batched"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.batched
Context: {\"order_id\":157,\"driver_id\":64,\"suggestion_id\":709,\"chosen_rank\":1,\"batched\":true,\"metric\":\"assignment.batched\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'assignment.batc...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('assignment.batc...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'assignment.batc...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('assignment.batc...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(47): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), true, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 709, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820a-a074-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820a-a074-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a1820a-35ac-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a1820a-a074-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:25:00] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {"order_id":157,"driver_id":64,"suggestion_id":709,"chosen_rank":1,"batched":true,"metric":"suggestion.chosen"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {\"order_id\":157,\"driver_id\":64,\"suggestion_id\":709,\"chosen_rank\":1,\"batched\":true,\"metric\":\"suggestion.chosen\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(54): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), true, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 709, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820a-a074-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820a-a074-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a1820a-35ac-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a1820a-a074-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:25:00] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen_first
Context: {"order_id":157,"driver_id":64,"suggestion_id":709,"chosen_rank":1,"batched":true,"metric":"suggestion.chosen_first"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen_first
Context: {\"order_id\":157,\"driver_id\":64,\"suggestion_id\":709,\"chosen_rank\":1,\"batched\":true,\"metric\":\"suggestion.chosen_first\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(57): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), true, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 709, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820a-a074-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820a-a074-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a1820a-35ac-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a1820a-a074-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:25:00] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:25:00] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:25:00] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:25:00] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":157,"suggestion_id":710,"candidates":1,"total_ms":17,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":157,\"suggestion_id\":710,\"candidates\":1,\"total_ms\":17,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820a-35ac-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:25:01] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":157,"suggestion_id":711,"candidates":1,"total_ms":22,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":157,\"suggestion_id\":711,\"candidates\":1,\"total_ms\":22,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820a-35ac-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820a-35ac-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:25:27] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/route-plan","method":"GET","ip":"9.246.91.126"} 
[2026-10-28 13:25:27] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/orders/01a17d77-04ac-7006-b609-2fdd5c11f5ad","method":"GET","ip":"9.246.91.126"} 
[2026-10-28 13:25:29] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/location","method":"POST","ip":"9.246.91.126"} 
[2026-10-28 13:25:30] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/orders?page=1&rows=25&state=active","method":"GET","ip":"9.246.91.126"} 
[2026-10-28 13:25:42] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/orders/01a17d77-04ac-7006-b609-2fdd5c11f5ad","method":"GET","ip":"9.246.91.126"} 
[2026-10-28 13:25:46] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/availability","method":"GET","ip":"9.246.91.126"} 
[2026-10-28 13:25:50] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/location","method":"POST","ip":"9.246.91.126"} 
[2026-10-28 13:25:50] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/orders?page=1&rows=25&state=active","method":"GET","ip":"9.246.91.126"} 
[2026-10-28 13:26:54] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:26:54] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:26:54] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:27:06] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:27:06] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:27:06] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:27:07] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:27:07] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:27:07] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:27:07] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:27:15] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":79.2000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":79.2000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 79.218454, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:27:15] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":79.2000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":79.2000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 2)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 79.218454, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:27:15] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":83.7000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":83.7000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 83.726016, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(64, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:27:15] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":83.7000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":83.7000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 25)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 83.726016, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(64, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:27:15] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":50.2999999999999971578290569595992565155029296875,"over_budget":false,"metric":"routing.answered"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":50.2999999999999971578290569595992565155029296875,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 50.262815, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:27:15] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":50.2999999999999971578290569595992565155029296875,"over_budget":false,"metric":"routing.elements"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":50.2999999999999971578290569595992565155029296875,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 16)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 50.262815, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 13:27:15] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":158,"suggestion_id":712,"candidates":2,"total_ms":248,"routing_elements":43,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":158,\"suggestion_id\":712,\"candidates\":2,\"total_ms\":248,\"routing_elements\":43,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:27:19] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {"order_id":158,"driver_id":64,"suggestion_id":712,"chosen_rank":1,"batched":true,"metric":"assignment.made"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {\"order_id\":158,\"driver_id\":64,\"suggestion_id\":712,\"chosen_rank\":1,\"batched\":true,\"metric\":\"assignment.made\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'assignment.made', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('assignment.made', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'assignment.made', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('assignment.made', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(44): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), true, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 712, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820c-bef9-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820c-bef9-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a1820c-635d-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a1820c-bef9-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:27:19] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.batched
Context: {"order_id":158,"driver_id":64,"suggestion_id":712,"chosen_rank":1,"batched":true,"metric":"assignment.batched"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.batched
Context: {\"order_id\":158,\"driver_id\":64,\"suggestion_id\":712,\"chosen_rank\":1,\"batched\":true,\"metric\":\"assignment.batched\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'assignment.batc...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('assignment.batc...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'assignment.batc...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('assignment.batc...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(47): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), true, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 712, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820c-bef9-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820c-bef9-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a1820c-635d-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a1820c-bef9-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:27:19] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {"order_id":158,"driver_id":64,"suggestion_id":712,"chosen_rank":1,"batched":true,"metric":"suggestion.chosen"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {\"order_id\":158,\"driver_id\":64,\"suggestion_id\":712,\"chosen_rank\":1,\"batched\":true,\"metric\":\"suggestion.chosen\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(54): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), true, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 712, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820c-bef9-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820c-bef9-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a1820c-635d-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a1820c-bef9-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:27:19] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen_first
Context: {"order_id":158,"driver_id":64,"suggestion_id":712,"chosen_rank":1,"batched":true,"metric":"suggestion.chosen_first"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen_first
Context: {\"order_id\":158,\"driver_id\":64,\"suggestion_id\":712,\"chosen_rank\":1,\"batched\":true,\"metric\":\"suggestion.chosen_first\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(57): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), true, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 712, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820c-bef9-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(64, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1820c-bef9-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a1820c-635d-7...', '01m5s6zd74xhw3y...', Object(App\\Models\\Admin), '01a1820c-bef9-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 13:27:19] local.CRITICAL: A route plan delayed a customer beyond the batch limit. {"driver_id":64,"order_id":157,"promised_at":"2026-10-28T13:54:19+03:00","new_eta_at":"2026-10-28T14:03:07+03:00","delay_seconds":528.487194000000044979969970881938934326171875,"limit_seconds":360.0} 
[2026-10-28 13:27:19] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:27:19] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:27:19] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:27:19] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":158,"suggestion_id":713,"candidates":1,"total_ms":28,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":158,\"suggestion_id\":713,\"candidates\":1,\"total_ms\":28,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:27:20] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":158,"suggestion_id":714,"candidates":1,"total_ms":18,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":1,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":158,\"suggestion_id\":714,\"candidates\":1,\"total_ms\":18,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 13:27:39] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/route-plan","method":"GET","ip":"9.246.91.126"} 
[2026-10-28 13:27:39] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/orders?page=1&rows=25&status=awaiting_return","method":"GET","ip":"9.246.91.126"} 
[2026-10-28 13:27:39] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/profile","method":"GET","ip":"9.246.91.126"} 
[2026-10-28 13:27:42] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/orders/01a1820a-35ac-7281-8ffa-960aca4fbdde","method":"GET","ip":"9.246.91.126"} 
[2026-10-28 13:27:42] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/orders/01a1820a-35ac-7281-8ffa-960aca4fbdde","method":"GET","ip":"9.246.91.126"} 
[2026-10-28 13:27:46] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/availability","method":"GET","ip":"9.246.91.126"} 
[2026-10-28 13:27:53] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/location","method":"POST","ip":"9.246.91.126"} 
[2026-10-28 13:27:53] local.WARNING: Too many requests {"exception":"Illuminate\\Http\\Exceptions\\ThrottleRequestsException","message":"Too Many Attempts.","file":"/home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php","line":256,"url":"https://captain.kapitano.shop/api/driver/orders?page=1&rows=25&state=active","method":"GET","ip":"9.246.91.126"} 
[2026-10-28 13:30:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 13:30:01] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:30:01] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:35:01] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:35:01] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:37:19] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 13:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 14:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 14:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 14:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 14:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 15:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 15:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 15:21:01] local.WARNING: OTP test number used: a fixed code was issued and no message was sent. {"identifier":"+963*******08"} 
[2026-10-28 15:30:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 15:36:39] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 15:36:39] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 15:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 15:48:23] local.WARNING: OTP test number used: a fixed code was issued and no message was sent. {"identifier":"+963*******88"} 
[2026-10-28 15:49:39] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":94.5,"over_budget":false,"metric":"routing.answered"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":94.5,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 94.459859, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 15:49:39] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":94.5,"over_budget":false,"metric":"routing.elements"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":94.5,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 2)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 94.459859, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 15:49:39] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":97.900000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.answered"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":97.900000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 97.940131, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 15:49:39] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":97.900000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.elements"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":97.900000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 16)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 97.940131, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 15:49:39] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":158,"suggestion_id":715,"candidates":2,"total_ms":225,"routing_elements":18,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":158,\"suggestion_id\":715,\"candidates\":2,\"total_ms\":225,\"routing_elements\":18,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 15:49:44] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":158,"suggestion_id":716,"candidates":2,"total_ms":17,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":158,\"suggestion_id\":716,\"candidates\":2,\"total_ms\":17,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 15:51:20] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":89.099999999999994315658113919198513031005859375,"over_budget":false,"metric":"routing.answered"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":89.099999999999994315658113919198513031005859375,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 89.12823, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 15:51:20] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":89.099999999999994315658113919198513031005859375,"over_budget":false,"metric":"routing.elements"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":89.099999999999994315658113919198513031005859375,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 2)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 89.12823, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 15:51:20] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":77.099999999999994315658113919198513031005859375,"over_budget":false,"metric":"routing.answered"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":77.099999999999994315658113919198513031005859375,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 77.104946, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 15:51:20] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":77.099999999999994315658113919198513031005859375,"over_budget":false,"metric":"routing.elements"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":77.099999999999994315658113919198513031005859375,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 16)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 77.104946, 16, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 15:51:20] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":158,"suggestion_id":717,"candidates":2,"total_ms":196,"routing_elements":18,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":158,\"suggestion_id\":717,\"candidates\":2,\"total_ms\":196,\"routing_elements\":18,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 15:51:27] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {"order_id":158,"driver_id":70,"suggestion_id":717,"chosen_rank":1,"batched":false,"metric":"assignment.made"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {\"order_id\":158,\"driver_id\":70,\"suggestion_id\":717,\"chosen_rank\":1,\"batched\":false,\"metric\":\"assignment.made\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'assignment.made', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('assignment.made', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'assignment.made', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('assignment.made', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(44): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), false, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 717, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18290-a906-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(70, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18290-a906-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a1820c-635d-7...', '01m6186ccs5s3np...', Object(App\\Models\\Admin), '01a18290-a906-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 15:51:27] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {"order_id":158,"driver_id":70,"suggestion_id":717,"chosen_rank":1,"batched":false,"metric":"suggestion.chosen"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {\"order_id\":158,\"driver_id\":70,\"suggestion_id\":717,\"chosen_rank\":1,\"batched\":false,\"metric\":\"suggestion.chosen\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(54): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), false, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 717, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18290-a906-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(70, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18290-a906-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a1820c-635d-7...', '01m6186ccs5s3np...', Object(App\\Models\\Admin), '01a18290-a906-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 15:51:27] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen_first
Context: {"order_id":158,"driver_id":70,"suggestion_id":717,"chosen_rank":1,"batched":false,"metric":"suggestion.chosen_first"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen_first
Context: {\"order_id\":158,\"driver_id\":70,\"suggestion_id\":717,\"chosen_rank\":1,\"batched\":false,\"metric\":\"suggestion.chosen_first\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(57): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), false, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 717, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18290-a906-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(70, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a18290-a906-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a1820c-635d-7...', '01m6186ccs5s3np...', Object(App\\Models\\Admin), '01a18290-a906-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 15:51:27] local.CRITICAL: A route plan delayed a customer beyond the batch limit. {"driver_id":70,"order_id":158,"promised_at":"2026-10-28T14:02:34+03:00","new_eta_at":"2026-10-28T16:18:34+03:00","delay_seconds":8160.534705000000030850060284137725830078125,"limit_seconds":360.0} 
[2026-10-28 15:51:27] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 15:51:27] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 15:51:27] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 15:51:27] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":67.7000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.answered"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":67.7000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 67.701523, 1, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 15:51:27] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":67.7000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.elements"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":67.7000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 1)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 67.701523, 1, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 15:51:27] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":42.7000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.answered"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":42.7000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 42.717617, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(70, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 15:51:27] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":42.7000000000000028421709430404007434844970703125,"over_budget":false,"metric":"routing.elements"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":42.7000000000000028421709430404007434844970703125,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 25)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 42.717617, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(70, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 15:51:27] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":158,"suggestion_id":718,"candidates":2,"total_ms":138,"routing_elements":26,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":158,\"suggestion_id\":718,\"candidates\":2,\"total_ms\":138,\"routing_elements\":26,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 15:51:28] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":158,"suggestion_id":719,"candidates":2,"total_ms":19,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":158,\"suggestion_id\":719,\"candidates\":2,\"total_ms\":19,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a1820c-635d-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 15:52:47] local.ERROR: هذا الطلب غير مسند إليك. {"userId":70,"exception":"[object] (App\\Exceptions\\ApiException(code: 0): هذا الطلب غير مسند إليك. at /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php:2476)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(390): App\\Services\\Order\\OrderService->guardAgainstForeignDriver(Object(App\\Models\\Order), Object(App\\Models\\Driver))
#1 /home/mohammed/public_html/captain-api/app/Http/Controllers/Mobile/Order/OrderController.php(75): App\\Services\\Order\\OrderService->detailForCaptain('01a1820c-635d-7...', Object(App\\Models\\Driver))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Mobile\\Order\\OrderController->show(Object(Illuminate\\Http\\Request), '01a1820c-635d-7...')
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Mobile\\Order\\OrderController), 'show')
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'driver')
#17 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#51 {main}
"} 
[2026-10-28 15:52:47] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 16:01:34] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:01:34] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:01:34] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:01:34] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:01:34] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:02:01] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:02:25] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:02:25] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:02:31] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:02:38] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":80.900000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.answered"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":80.900000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 80.948306, 4, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a18299-ffc0-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 16:02:38] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":80.900000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.elements"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":80.900000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 4)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 80.948306, 4, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a18299-ffc0-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 16:02:38] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":77.400000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.answered"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":77.400000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 77.401241, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a18299-ffc0-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 16:02:38] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":77.400000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.elements"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":77.400000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 25)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 77.401241, 25, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(1, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a18299-ffc0-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 16:02:38] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":160,"suggestion_id":720,"candidates":2,"total_ms":187,"routing_elements":29,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":160,\"suggestion_id\":720,\"candidates\":2,\"total_ms\":187,\"routing_elements\":29,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a18299-ffc0-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 16:03:04] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {"order_id":160,"driver_id":70,"suggestion_id":720,"chosen_rank":1,"batched":false,"metric":"assignment.made"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: assignment.made
Context: {\"order_id\":160,\"driver_id\":70,\"suggestion_id\":720,\"chosen_rank\":1,\"batched\":false,\"metric\":\"assignment.made\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'assignment.made', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('assignment.made', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'assignment.made', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('assignment.made', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(44): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), false, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 720, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1829a-fe42-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(70, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1829a-fe42-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a18299-ffc0-7...', '01m6186ccs5s3np...', Object(App\\Models\\Admin), '01a1829a-fe42-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 16:03:04] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {"order_id":160,"driver_id":70,"suggestion_id":720,"chosen_rank":1,"batched":false,"metric":"suggestion.chosen"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen
Context: {\"order_id\":160,\"driver_id\":70,\"suggestion_id\":720,\"chosen_rank\":1,\"batched\":false,\"metric\":\"suggestion.chosen\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(54): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), false, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 720, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1829a-fe42-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(70, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1829a-fe42-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a18299-ffc0-7...', '01m6186ccs5s3np...', Object(App\\Models\\Admin), '01a1829a-fe42-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 16:03:04] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen_first
Context: {"order_id":160,"driver_id":70,"suggestion_id":720,"chosen_rank":1,"batched":false,"metric":"suggestion.chosen_first"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.chosen_first
Context: {\"order_id\":160,\"driver_id\":70,\"suggestion_id\":720,\"chosen_rank\":1,\"batched\":false,\"metric\":\"suggestion.chosen_first\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.chos...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.chos...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.chos...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.chos...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordAssignmentMetrics.php(57): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordAssignmentMetrics->handle(Object(App\\Events\\Order\\OrderAssigned))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Order\\OrderAssigned))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Order\\OrderAssigned))
#15 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(518): App\\Events\\Order\\OrderAssigned::dispatch(Object(App\\Models\\Order), Object(App\\Models\\Driver), false, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(213): App\\Services\\Order\\OrderService->assignTo(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), 720, 1, false)
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(146): App\\Services\\Dispatch\\AssignmentService->writeAssignment(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1829a-fe42-7...', 1, false)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentLock.php(55): App\\Services\\Dispatch\\AssignmentService->App\\Services\\Dispatch\\{closure}()
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(124): App\\Services\\Dispatch\\AssignmentLock->hold(70, Object(Closure))
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AssignmentService.php(76): App\\Services\\Dispatch\\AssignmentService->assign(Object(App\\Models\\Order), Object(App\\Models\\Driver), Object(App\\Models\\Admin), '01a1829a-fe42-7...', 1, false)
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(168): App\\Services\\Dispatch\\AssignmentService->assignByIdentifier('01a18299-ffc0-7...', '01m6186ccs5s3np...', Object(App\\Models\\Admin), '01a1829a-fe42-7...', 1)
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->assign(Object(App\\Http\\Requests\\Dashboard\\Order\\AssignOrderRequest), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\AssignmentService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'assign')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 16:03:05] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":89.900000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.answered"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":89.900000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 89.926371, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a18299-ffc0-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 16:03:05] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":89.900000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.elements"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":89.900000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 2)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 89.926371, 2, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionCache.php(74): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array, NULL)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/AdjustedEtaCalculator.php(72): App\\Services\\Dispatch\\SuggestionCache->matrix(Array, Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(139): App\\Services\\Dispatch\\AdjustedEtaCalculator->calculate(Object(App\\Models\\Order), Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#21 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a18299-ffc0-7...', Object(App\\Models\\Admin))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#29 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 16:03:05] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {"engine":"google","operation":"matrix","elapsed_ms":98.900000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.answered"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.answered
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":98.900000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.answered\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.answere...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.answere...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.answere...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.answere...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(39): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 98.897874, 49, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(70, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a18299-ffc0-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 16:03:05] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {"engine":"google","operation":"matrix","elapsed_ms":98.900000000000005684341886080801486968994140625,"over_budget":false,"metric":"routing.elements"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: routing.elements
Context: {\"engine\":\"google\",\"operation\":\"matrix\",\"elapsed_ms\":98.900000000000005684341886080801486968994140625,\"over_budget\":false,\"metric\":\"routing.elements\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'routing.element...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('routing.element...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'routing.element...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('routing.element...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordRoutingMetrics.php(43): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array, 49)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordRoutingMetrics->handle(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Disp...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(306): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Disp...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(505): Illuminate\\Events\\Dispatcher->dispatch(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php(15): event(Object(App\\Events\\Dispatch\\RoutingCallCompleted))
#15 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(115): App\\Events\\Dispatch\\RoutingCallCompleted::dispatch(Object(App\\Enums\\Dispatch\\RoutingEngineType), Object(App\\Enums\\Dispatch\\RoutingOperation), true, 98.897874, 49, NULL, false)
#16 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Routing/RoutingEngineManager.php(65): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->attempt(Object(App\\Enums\\Dispatch\\RoutingOperation), Object(Closure), Object(Closure))
#17 /home/mohammed/public_html/captain-api/app/Services/Dispatch/TravelMatrixCache.php(72): App\\Services\\Dispatch\\Routing\\RoutingEngineManager->matrix(Array, Array)
#18 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(206): App\\Services\\Dispatch\\TravelMatrixCache->square(Array)
#19 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(129): App\\Services\\Dispatch\\BatchCompatibilityService->travelTimes(Array)
#20 /home/mohammed/public_html/captain-api/app/Services/Dispatch/BatchCompatibilityService.php(89): App\\Services\\Dispatch\\BatchCompatibilityService->evaluate(70, Object(App\\Models\\Order), Object(App\\DTOs\\Dispatch\\GeoPoint), Object(App\\Models\\Order), Array, Object(App\\DTOs\\Dispatch\\GeoPoint))
#21 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(140): App\\Services\\Dispatch\\BatchCompatibilityService->check(Object(App\\Models\\Order), Array)
#22 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#23 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a18299-ffc0-7...', Object(App\\Models\\Admin))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#43 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#74 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#75 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#76 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#77 {main}
"} 
[2026-10-28 16:03:05] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":160,"suggestion_id":721,"candidates":2,"total_ms":236,"routing_elements":51,"cache_hit":false,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":160,\"suggestion_id\":721,\"candidates\":2,\"total_ms\":236,\"routing_elements\":51,\"cache_hit\":false,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a18299-ffc0-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 16:03:06] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":160,"suggestion_id":722,"candidates":2,"total_ms":24,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":160,\"suggestion_id\":722,\"candidates\":2,\"total_ms\":24,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a18299-ffc0-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 16:03:06] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {"order_id":160,"suggestion_id":723,"candidates":2,"total_ms":28,"routing_elements":0,"cache_hit":true,"ranking_degraded":false,"metric":"suggestion.generated"} {"userId":3,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: suggestion.generated
Context: {\"order_id\":160,\"suggestion_id\":723,\"candidates\":2,\"total_ms\":28,\"routing_elements\":0,\"cache_hit\":true,\"ranking_degraded\":false,\"metric\":\"suggestion.generated\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'suggestion.gene...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('suggestion.gene...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'suggestion.gene...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('suggestion.gene...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(177): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/app/Services/Dispatch/SuggestionService.php(82): App\\Services\\Dispatch\\SuggestionService->suggest(Object(App\\Models\\Order), Object(App\\Models\\Admin))
#11 /home/mohammed/public_html/captain-api/app/Http/Controllers/Dashboard/Order/OrderController.php(142): App\\Services\\Dispatch\\SuggestionService->suggestFor('01a18299-ffc0-7...', Object(App\\Models\\Admin))
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Dashboard\\Order\\OrderController->captains(Object(Illuminate\\Http\\Request), '01a18299-ffc0-7...', Object(App\\Services\\Dispatch\\SuggestionService))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Dashboard\\Order\\OrderController), 'captains')
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/mohammed/public_html/captain-api/vendor/spatie/laravel-permission/src/Middleware/PermissionMiddleware.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Spatie\\Permission\\Middleware\\PermissionMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'orders.assign', 'admin')
#19 /home/mohammed/public_html/captain-api/app/Http/Middleware/AnswerNotModified.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\AnswerNotModified->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin')
#31 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#65 {main}
"} 
[2026-10-28 16:03:06] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:03:06] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:03:06] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:03:43] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:03:43] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:05:13] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:06:19] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:06:37] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:06:37] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"route-...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'route-plan.upda...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'route-plan.upda...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:06:52] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:08:10] local.ERROR: The stream or file "/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: delivery.completed
Context: {"order_id":160,"driver_id":70,"metric":"delivery.completed"} {"userId":70,"exception":"[object] (UnexpectedValueException(code: 0): The stream or file \"/home/mohammed/public_html/captain-api/storage/logs/dispatch-2026-10-28.log\" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: delivery.completed
Context: {\"order_id\":160,\"driver_id\":70,\"metric\":\"delivery.completed\"} at /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:168)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(114): Monolog\\Handler\\StreamHandler->write(Object(Monolog\\LogRecord))
#1 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(44): Monolog\\Handler\\RotatingFileHandler->write(Object(Monolog\\LogRecord))
#2 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(399): Monolog\\Handler\\AbstractProcessingHandler->handle(Object(Monolog\\LogRecord))
#3 /home/mohammed/public_html/captain-api/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(Object(Monolog\\Level), 'delivery.comple...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(187): Monolog\\Logger->info('delivery.comple...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Log/Logger.php(132): Illuminate\\Log\\Logger->writeLog('info', 'delivery.comple...', Array)
#6 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): Illuminate\\Log\\Logger->info('delivery.comple...', Array)
#7 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(65): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->App\\Services\\Dispatch\\Metrics\\{closure}()
#8 /home/mohammed/public_html/captain-api/app/Services/Dispatch/Metrics/DispatchMetrics.php(52): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->quietly(Object(Closure))
#9 /home/mohammed/public_html/captain-api/app/Listeners/Dispatch/RecordDeliveryMetrics.php(35): App\\Services\\Dispatch\\Metrics\\DispatchMetrics->record(Object(App\\Enums\\Dispatch\\DispatchMetric), Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(516): App\\Listeners\\Dispatch\\RecordDeliveryMetrics->handle(Object(App\\Events\\Order\\OrderStatusChanged))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(326): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}('App\\\\Events\\\\Orde...', Array)
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(300): Illuminate\\Events\\Dispatcher->invokeListeners('App\\\\Events\\\\Orde...', Array, false)
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Database/DatabaseTransactionRecord.php(86): Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}()
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(65): Illuminate\\Database\\DatabaseTransactionRecord->executeCallbacks()
#15 [internal function]: Illuminate\\Support\\HigherOrderCollectionProxy->Illuminate\\Support\\{closure}(Object(Illuminate\\Database\\DatabaseTransactionRecord), 1)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Arr.php(858): array_map(Object(Closure), Array, Array)
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(833): Illuminate\\Support\\Arr::map(Array, Object(Closure))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(62): Illuminate\\Support\\Collection->map(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Database/DatabaseTransactionsManager.php(94): Illuminate\\Support\\HigherOrderCollectionProxy->__call('executeCallback...', Array)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Database/Concerns/ManagesTransactions.php(66): Illuminate\\Database\\DatabaseTransactionsManager->commit('mysql', 1, 0)
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(502): Illuminate\\Database\\Connection->transaction(Object(Closure))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(364): Illuminate\\Database\\DatabaseManager->__call('transaction', Array)
#23 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(2028): Illuminate\\Support\\Facades\\Facade::__callStatic('transaction', Array)
#24 /home/mohammed/public_html/captain-api/app/Services/Order/OrderService.php(425): App\\Services\\Order\\OrderService->markDelivered(Object(App\\Models\\Order), Object(App\\Models\\Driver), NULL, NULL, NULL, 1)
#25 /home/mohammed/public_html/captain-api/app/Http/Controllers/Mobile/Order/OrderController.php(186): App\\Services\\Order\\OrderService->advanceForCaptain('01a18299-ffc0-7...', Object(App\\Models\\Driver), Object(App\\Enums\\Order\\OrderStatus), NULL, NULL, NULL, NULL, 1)
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\Mobile\\Order\\OrderController->delivered(Object(App\\Http\\Requests\\Mobile\\Order\\DeliverOrderRequest), '01a18299-ffc0-7...')
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(276): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Mobile\\Order\\OrderController), 'delivered')
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(216): Illuminate\\Routing\\Route->runController()
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run()
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(168): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(129): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array)
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(90): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure))
#38 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api')
#39 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#40 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'driver')
#41 /home/mohammed/public_html/captain-api/app/Http/Middleware/CheckApiHeaderMiddleware.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckApiHeaderMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#43 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#45 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#46 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#47 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#48 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#49 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#50 /home/mohammed/public_html/captain-api/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Laravel\\Mcp\\Server\\Middleware\\AddWwwAuthenticateHeader->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#55 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#56 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#57 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#64 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#65 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#66 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#67 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(28): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#70 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#71 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#72 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#73 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1227): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#74 /home/mohammed/public_html/captain-api/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request))
#75 {main}
"} 
[2026-10-28 16:08:10] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:08:10] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"order....')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'order.touched', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'order.touched', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:08:10] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:08:10] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:08:10] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:08:10] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 16:20:02] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:20:02] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 16:30:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 16:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 17:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 17:10:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 17:10:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 17:10:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 17:10:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 17:10:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 17:10:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 17:10:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 17:10:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 17:10:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 17:10:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 17:15:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 17:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 17:30:04] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 17:30:04] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 17:45:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 18:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 18:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 18:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 18:45:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 19:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 19:15:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 19:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 19:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 20:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 20:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 20:30:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:40:03] local.ERROR: Unable to parse URI: https://:8080 {"exception":"[object] (GuzzleHttp\\Psr7\\Exception\\MalformedUriException(code: 0): Unable to parse URI: https://:8080 at /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Uri.php:69)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/psr7/src/Utils.php(719): GuzzleHttp\\Psr7\\Uri->__construct('https://:8080')
#1 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(297): GuzzleHttp\\Psr7\\Utils::uriFor('https://:8080')
#2 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(234): GuzzleHttp\\Client->buildUri(Object(GuzzleHttp\\Psr7\\Uri), Array)
#3 /home/mohammed/public_html/captain-api/vendor/guzzlehttp/guzzle/src/Client.php(273): GuzzleHttp\\Client->requestAsync('POST', 'apps/827973/eve...', Array)
#4 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(776): GuzzleHttp\\Client->request('POST', 'apps/827973/eve...', Array)
#5 /home/mohammed/public_html/captain-api/vendor/pusher/pusher-php-server/src/Pusher.php(441): Pusher\\Pusher->post('/apps/827973/ev...', '{\"name\":\"notifi...')
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(168): Pusher\\Pusher->trigger(Array, 'notification.cr...', Array, Array)
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(277): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->Illuminate\\Broadcasting\\Broadcasters\\{closure}(Object(Illuminate\\Support\\Collection), 0)
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php(167): Illuminate\\Support\\Collection->each(Object(Closure))
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastEvent.php(109): Illuminate\\Broadcasting\\Broadcasters\\PusherBroadcaster->broadcast(Object(Illuminate\\Support\\Collection), 'notification.cr...', Array)
#10 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Broadcasting\\BroadcastEvent->handle(Object(Illuminate\\Broadcasting\\BroadcastManager))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#12 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#13 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#14 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#15 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(136): Illuminate\\Container\\Container->call(Array)
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#17 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#18 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#19 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(159): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Broadcasting\\BroadcastEvent), false)
#20 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#21 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Broadcasting\\BroadcastEvent))
#22 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(148): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#23 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(86): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Broadcasting\\BroadcastEvent))
#24 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\RedisJob), Array)
#25 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(617): Illuminate\\Queue\\Jobs\\Job->fire()
#26 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(563): Illuminate\\Queue\\Worker->process('redis', Object(Illuminate\\Queue\\Jobs\\RedisJob), Object(Illuminate\\Queue\\WorkerOptions))
#27 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(282): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\RedisJob), 'redis', Object(Illuminate\\Queue\\WorkerOptions))
#28 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(152): Illuminate\\Queue\\Worker->daemon('redis', 'realtime,push,d...', Object(Illuminate\\Queue\\WorkerOptions))
#29 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(135): Illuminate\\Queue\\Console\\WorkCommand->runWorker('redis', 'realtime,push,d...')
#30 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#31 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#32 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#33 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#34 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#35 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#36 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#38 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /home/mohammed/public_html/captain-api/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))
#40 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /home/mohammed/public_html/captain-api/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))
#42 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#44 {main}
"} 
[2026-10-28 20:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 21:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 21:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 21:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 21:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 22:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 22:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 22:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 22:45:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 23:00:01] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 23:15:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 23:30:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
[2026-10-28 23:45:00] local.ERROR: Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. {"exception":"[object] (Exception(code: 0): Scheduled command ['/opt/cpanel/ea-php83/root/usr/bin/php' 'artisan' integration:health --notify] failed with exit code [1]. at /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php:215)
[stacktrace]
#0 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(43): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->Illuminate\\Console\\Scheduling\\{closure}()
#1 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/View/Components/Factory.php(61): Illuminate\\Console\\View\\Components\\Task->render('<fg=gray>2026-1...', Object(Closure))
#2 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call('task', Array)
#3 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(142): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent(Object(Illuminate\\Console\\Scheduling\\Event))
#4 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle(Object(Illuminate\\Console\\Scheduling\\Schedule), Object(Illuminate\\Events\\Dispatcher), Object(Illuminate\\Cache\\Repository), Object(App\\Exceptions\\Handler))
#5 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#7 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#8 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#9 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(292): Illuminate\\Container\\Container->call(Array)
#10 /home/mohammed/public_html/captain-api/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#11 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Console/Command.php(261): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#12 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#13 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Console\\Scheduling\\ScheduleRunCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#14 /home/mohammed/public_html/captain-api/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#15 /home/mohammed/public_html/captain-api/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))
#16 /home/mohammed/public_html/captain-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1242): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#17 /home/mohammed/public_html/captain-api/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))
#18 {main}
"} 
