#!/usr/bin/env php Undefined variable $argv (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Undefined variable $argv

Exception

ErrorException

Show exception properties
ErrorException {#1894
  #severity: E_WARNING
}
  1. $app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
  2. use Illuminate\Support\Facades\DB;
  3. // Parse command line arguments
  4. $dryRun in_array('--dry-run'$argv);
  5. $verbose in_array('--verbose'$argv);
  6. echo "\n";
  7. echo "=====================================\n";
  8. echo "Seat Reservation Order ID Repair Script\n";
  1.      * @return callable
  2.      */
  3.     protected function forwardsTo($method)
  4.     {
  5.         return fn (...$arguments) => static::$app
  6.             $this->{$method}(...$arguments)
  7.             : false;
  8.     }
  9.     /**
  10.      * Determine if the error level is a deprecation.
HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(2, 'Undefined variable $argv', '/home/globalgala/public_html/2026_backend_dev/scripts/repair-seat-reservations-order-id.php', 31) in /home/globalgala/public_html/2026_backend_dev/scripts/repair-seat-reservations-order-id.php (line 31)
  1. $app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
  2. use Illuminate\Support\Facades\DB;
  3. // Parse command line arguments
  4. $dryRun in_array('--dry-run'$argv);
  5. $verbose in_array('--verbose'$argv);
  6. echo "\n";
  7. echo "=====================================\n";
  8. echo "Seat Reservation Order ID Repair Script\n";

Stack Trace

ErrorException
ErrorException:
Undefined variable $argv

  at /home/globalgala/public_html/2026_backend_dev/scripts/repair-seat-reservations-order-id.php:31
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'Undefined variable $argv', '/home/globalgala/public_html/2026_backend_dev/scripts/repair-seat-reservations-order-id.php', 31)
     (/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:270)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(2, 'Undefined variable $argv', '/home/globalgala/public_html/2026_backend_dev/scripts/repair-seat-reservations-order-id.php', 31)
     (/home/globalgala/public_html/2026_backend_dev/scripts/repair-seat-reservations-order-id.php:31)