#!/usr/bin/env php === UUID MISMATCH ANALYSIS === Attempt to read property "template_data" on null (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Attempt to read property "template_data" on null

Exception

ErrorException

Show exception properties
ErrorException {#1894
  #severity: E_WARNING
}
  1. use Illuminate\Support\Facades\DB;
  2. echo "=== UUID MISMATCH ANALYSIS ===\n\n";
  3. $template DB::table('venue_templates')->where('id'191)->first();
  4. $templateData json_decode($template->template_datatrue);
  5. $nodes $templateData['nodes'] ?? [];
  6. $templateSeats = [];
  7. foreach ($nodes as $node) {
  8.     if (($node['type'] ?? '') !== 'table') continue;
  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, 'Attempt to read property "template_data" on null', '/home/globalgala/public_html/2026_backend_dev/scripts/uuid-mismatch-analysis.php', 19) in /home/globalgala/public_html/2026_backend_dev/scripts/uuid-mismatch-analysis.php (line 19)
  1. use Illuminate\Support\Facades\DB;
  2. echo "=== UUID MISMATCH ANALYSIS ===\n\n";
  3. $template DB::table('venue_templates')->where('id'191)->first();
  4. $templateData json_decode($template->template_datatrue);
  5. $nodes $templateData['nodes'] ?? [];
  6. $templateSeats = [];
  7. foreach ($nodes as $node) {
  8.     if (($node['type'] ?? '') !== 'table') continue;

Stack Trace

ErrorException
ErrorException:
Attempt to read property "template_data" on null

  at /home/globalgala/public_html/2026_backend_dev/scripts/uuid-mismatch-analysis.php:19
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'Attempt to read property "template_data" on null', '/home/globalgala/public_html/2026_backend_dev/scripts/uuid-mismatch-analysis.php', 19)
     (/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, 'Attempt to read property "template_data" on null', '/home/globalgala/public_html/2026_backend_dev/scripts/uuid-mismatch-analysis.php', 19)
     (/home/globalgala/public_html/2026_backend_dev/scripts/uuid-mismatch-analysis.php:19)