#!/usr/bin/env php
ErrorException {#1894 #severity: E_WARNING }
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);$kernel->bootstrap();use Illuminate\Support\Facades\DB;$dryRun = in_array('--dry-run', $argv);echo "=== FIX DUPLICATE TABLES IN TEMPLATE 191 ===\n";echo $dryRun ? "MODE: DRY RUN (no changes will be made)\n\n" : "MODE: LIVE (changes will be saved)\n\n";// The NEW circular tables that need renaming (identified by their unique Node IDs) * @return callable */ protected function forwardsTo($method) { return fn (...$arguments) => static::$app ? $this->{$method}(...$arguments) : false; } /** * Determine if the error level is a deprecation.$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);$kernel->bootstrap();use Illuminate\Support\Facades\DB;$dryRun = in_array('--dry-run', $argv);echo "=== FIX DUPLICATE TABLES IN TEMPLATE 191 ===\n";echo $dryRun ? "MODE: DRY RUN (no changes will be made)\n\n" : "MODE: LIVE (changes will be saved)\n\n";// The NEW circular tables that need renaming (identified by their unique Node IDs)|
ErrorException
|
|---|
ErrorException:
Undefined variable $argv
at /home/globalgala/public_html/2026_backend_dev/scripts/fix-duplicate-tables.php:20
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'Undefined variable $argv', '/home/globalgala/public_html/2026_backend_dev/scripts/fix-duplicate-tables.php', 20)
(/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/fix-duplicate-tables.php', 20)
(/home/globalgala/public_html/2026_backend_dev/scripts/fix-duplicate-tables.php:20)
|