#!/usr/bin/env php Generating table numbers for Event ID: 1 Found 91 tables Logo loaded from: /home/globalgala/public_html/2026_backend_dev/scripts/../public/assets/images/globalgala.svg ✅ HTML Generated: /home/globalgala/public_html/2026_backend_dev/scripts/../storage/app/table-numbers/table-numbers-event-1.html Call to undefined function shell_exec() (500 Internal Server Error)

Symfony Exception

Error

HTTP 500 Internal Server Error

Call to undefined function shell_exec()

Exception

Error

  1. $pdfFile "{$outputDir}/table-numbers-event-{$eventId}.pdf";
  2. $chromePath '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome';
  3. // Check for Chrome on different systems
  4. if (!file_exists($chromePath)) {
  5.     $chromePath trim(shell_exec('which google-chrome-stable 2>/dev/null') ?: '');
  6. }
  7. if (!$chromePath || !file_exists($chromePath)) {
  8.     $chromePath trim(shell_exec('which chromium 2>/dev/null') ?: '');
  9. }

Stack Trace

Error
Error:
Call to undefined function shell_exec()

  at /home/globalgala/public_html/2026_backend_dev/scripts/generate-table-numbers.php:320