[1m╔══════════════════════════════════════════════════════════════╗ [0m[1m║ SCAN DATA RESET SCRIPT - LIVE SYSTEM ║ [0m[1m╚══════════════════════════════════════════════════════════════╝ [0m [33mCurrent State: [0m • Scan log entries (ticket_validations): [1m6568[0m • Total ticket codes: [1m434[0m • Tickets with scan history: [1m253[0m [33mThis script will: [0m 1. [31mDELETE[0m all 6568 scan log entries 2. [31mRESET[0m all 253 scanned tickets to 'not scanned' - first_scanned_at → NULL - last_scanned_at → NULL - scan_count → 0 - status → 'active'
ErrorException {#1930 #severity: E_WARNING }
echo " - scan_count → 0\n";echo " - status → 'active'\n";echo "\n";// Check for --force flag$force = in_array('--force', $argv);if (!$force) { echo bold(red("⚠️ WARNING: This is a DESTRUCTIVE operation!\n")); echo "\n"; echo "Type " . green("RESET") . " to confirm: "; * @return callable */ protected function forwardsTo($method) { return fn (...$arguments) => static::$app ? $this->{$method}(...$arguments) : false; } /** * Determine if the error level is a deprecation.echo " - scan_count → 0\n";echo " - status → 'active'\n";echo "\n";// Check for --force flag$force = in_array('--force', $argv);if (!$force) { echo bold(red("⚠️ WARNING: This is a DESTRUCTIVE operation!\n")); echo "\n"; echo "Type " . green("RESET") . " to confirm: ";|
ErrorException
|
|---|
ErrorException:
Undefined variable $argv
at /home/globalgala/public_html/2026_backend_dev/scripts/reset-scan-data.php:55
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'Undefined variable $argv', '/home/globalgala/public_html/2026_backend_dev/scripts/reset-scan-data.php', 55)
(/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/reset-scan-data.php', 55)
(/home/globalgala/public_html/2026_backend_dev/scripts/reset-scan-data.php:55)
|