Creating test wristband data... Event: Mohamed Abdo New Years Celebration 2025 (ID: 1) Creating test seats... - Created seat: VIP | Table 101 | Seat A1 - Created seat: VVIP | Table 102 | Seat B2 - Created seat: ORANGE | Table 103 | Seat C3 - Created seat: GREEN | Table 104 | Seat D4 - Created seat: BLUE | Table 105 | Seat E5 Creating test order...
Illuminate\Database\QueryException {#2063 +errorInfo: array:3 [ 0 => "42S22" 1 => 1054 2 => "Unknown column 'currency' in 'INSERT INTO'" ] #sql: "insert into `orders` (`event_id`, `customer_name`, `customer_email`, `customer_phone`, `total_amount`, `payment_status`, `status`, `currency`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)" #bindings: array:10 [ 0 => 1 1 => "JOHN SMITH" 2 => "john.smith@test.com" 3 => "+1234567890" 4 => 300.0 5 => "confirmed" 6 => "confirmed" 7 => "GBP" 8 => "2026-03-19 22:06:49" 9 => "2026-03-19 22:06:49" ] }
// If an exception occurs when attempting to run a query, we'll format the error // message to include the bindings with SQL, which will make this exception a // lot more helpful to the developer instead of just the database's errors. catch (Exception $e) { throw new QueryException( $query, $this->prepareBindings($bindings), $e ); } } // Here we will run this query. If an exception occurs we'll determine if it was // caused by a connection that has been lost. If that is the cause, we'll try // to re-establish connection and re-run the query with a fresh connection. try { $result = $this->runQueryCallback($query, $bindings, $callback); } catch (QueryException $e) { $result = $this->handleQueryException( $e, $query, $bindings, $callback ); } * @param array $bindings * @return bool */ public function statement($query, $bindings = []) { return $this->run($query, $bindings, function ($query, $bindings) { if ($this->pretending()) { return true; } $statement = $this->getPdo()->prepare($query); * @param array $bindings * @return bool */ public function insert($query, $bindings = []) { return $this->statement($query, $bindings); } /** * Run an update statement against the database. * * @param string|null $sequence * @return int */ public function processInsertGetId(Builder $query, $sql, $values, $sequence = null) { $query->getConnection()->insert($sql, $values); $id = $query->getConnection()->getPdo()->lastInsertId($sequence); return is_numeric($id) ? (int) $id : $id; } $sql = $this->grammar->compileInsertGetId($this, $values, $sequence); $values = $this->cleanBindings($values); return $this->processor->processInsertGetId($this, $sql, $values, $sequence); } /** * Insert new records into the table using a subquery. * if ($this->hasNamedScope($method)) { return $this->callNamedScope($method, $parameters); } if (in_array($method, $this->passthru)) { return $this->toBase()->{$method}(...$parameters); } $this->forwardCallTo($this->query, $method, $parameters); return $this; * @param array $attributes * @return void */ protected function insertAndSetId(Builder $query, $attributes) { $id = $query->insertGetId($attributes, $keyName = $this->getKeyName()); $this->setAttribute($keyName, $id); } /** // the query builder, which will give us back the final inserted ID for this // table from the database. Not all tables have to be incrementing though. $attributes = $this->getAttributesForInsert(); if ($this->getIncrementing()) { $this->insertAndSetId($query, $attributes); } // If the table isn't incrementing we'll simply insert these attributes as they // are. These attribute arrays must contain an "id" column previously placed // there by the developer as the manually determined key for these models. // If the model is brand new, we'll insert it into our database and set the // ID attribute on the model to the value of the newly inserted row's ID // which is typically an auto-increment value managed by the database. else { $saved = $this->performInsert($query); if (! $this->getConnectionName() && $connection = $query->getConnection()) { $this->setConnection($connection->getName()); } * @return \Illuminate\Database\Eloquent\Model|$this */ public function create(array $attributes = []) { return tap($this->newModelInstance($attributes), function ($instance) { $instance->save(); }); } /** * Save a new model and return the instance. Allow mass-assignment. { if (is_null($callback)) { return new HigherOrderTapProxy($value); } $callback($value); return $value; }} * @param array $attributes * @return \Illuminate\Database\Eloquent\Model|$this */ public function create(array $attributes = []) { return tap($this->newModelInstance($attributes), function ($instance) { $instance->save(); }); } /** * @throws \BadMethodCallException */ protected function forwardCallTo($object, $method, $parameters) { try { return $object->{$method}(...$parameters); } catch (Error|BadMethodCallException $e) { $pattern = '~^Call to undefined method (?P<class>[^:]+)::(?P<method>[^\(]+)\(\)$~'; if (! preg_match($pattern, $e->getMessage(), $matches)) { throw $e; if (Str::startsWith($method, 'through') && method_exists($this, $relationMethod = Str::of($method)->after('through')->lcfirst()->toString())) { return $this->through($relationMethod); } return $this->forwardCallTo($this->newQuery(), $method, $parameters); } /** * Handle dynamic static method calls into the model. * * @param array $parameters * @return mixed */ public static function __callStatic($method, $parameters) { return (new static)->$method(...$parameters); } /** * Convert the model to its string representation. * echo " - Created seat: {$zone} | Table {$tableNumber} | Seat {$seatNumber}\n";}// 3. Create test orderecho "\nCreating test order...\n";$order = Order::create([ 'order_id' => 'TEST-' . strtoupper(Str::random(8)), 'event_id' => $event->id, 'customer_name' => 'JOHN SMITH', 'customer_email' => 'john.smith@test.com', 'customer_phone' => '+1234567890', return $this->run($query, $bindings, function ($query, $bindings) { if ($this->pretending()) { return true; } $statement = $this->getPdo()->prepare($query); $this->bindValues($statement, $this->prepareBindings($bindings)); $this->recordsHaveBeenModified(); return $this->run($query, $bindings, function ($query, $bindings) { if ($this->pretending()) { return true; } $statement = $this->getPdo()->prepare($query); $this->bindValues($statement, $this->prepareBindings($bindings)); $this->recordsHaveBeenModified(); { // To execute the statement, we'll simply call the callback, which will actually // run the SQL against the PDO connection. Then we can calculate the time it // took to execute and log the query SQL, bindings and time in our memory. try { return $callback($query, $bindings); } // If an exception occurs when attempting to run a query, we'll format the error // message to include the bindings with SQL, which will make this exception a // lot more helpful to the developer instead of just the database's errors. // Here we will run this query. If an exception occurs we'll determine if it was // caused by a connection that has been lost. If that is the cause, we'll try // to re-establish connection and re-run the query with a fresh connection. try { $result = $this->runQueryCallback($query, $bindings, $callback); } catch (QueryException $e) { $result = $this->handleQueryException( $e, $query, $bindings, $callback ); } * @param array $bindings * @return bool */ public function statement($query, $bindings = []) { return $this->run($query, $bindings, function ($query, $bindings) { if ($this->pretending()) { return true; } $statement = $this->getPdo()->prepare($query); * @param array $bindings * @return bool */ public function insert($query, $bindings = []) { return $this->statement($query, $bindings); } /** * Run an update statement against the database. * * @param string|null $sequence * @return int */ public function processInsertGetId(Builder $query, $sql, $values, $sequence = null) { $query->getConnection()->insert($sql, $values); $id = $query->getConnection()->getPdo()->lastInsertId($sequence); return is_numeric($id) ? (int) $id : $id; } $sql = $this->grammar->compileInsertGetId($this, $values, $sequence); $values = $this->cleanBindings($values); return $this->processor->processInsertGetId($this, $sql, $values, $sequence); } /** * Insert new records into the table using a subquery. * if ($this->hasNamedScope($method)) { return $this->callNamedScope($method, $parameters); } if (in_array($method, $this->passthru)) { return $this->toBase()->{$method}(...$parameters); } $this->forwardCallTo($this->query, $method, $parameters); return $this; * @param array $attributes * @return void */ protected function insertAndSetId(Builder $query, $attributes) { $id = $query->insertGetId($attributes, $keyName = $this->getKeyName()); $this->setAttribute($keyName, $id); } /** // the query builder, which will give us back the final inserted ID for this // table from the database. Not all tables have to be incrementing though. $attributes = $this->getAttributesForInsert(); if ($this->getIncrementing()) { $this->insertAndSetId($query, $attributes); } // If the table isn't incrementing we'll simply insert these attributes as they // are. These attribute arrays must contain an "id" column previously placed // there by the developer as the manually determined key for these models. // If the model is brand new, we'll insert it into our database and set the // ID attribute on the model to the value of the newly inserted row's ID // which is typically an auto-increment value managed by the database. else { $saved = $this->performInsert($query); if (! $this->getConnectionName() && $connection = $query->getConnection()) { $this->setConnection($connection->getName()); } * @return \Illuminate\Database\Eloquent\Model|$this */ public function create(array $attributes = []) { return tap($this->newModelInstance($attributes), function ($instance) { $instance->save(); }); } /** * Save a new model and return the instance. Allow mass-assignment. { if (is_null($callback)) { return new HigherOrderTapProxy($value); } $callback($value); return $value; }} * @param array $attributes * @return \Illuminate\Database\Eloquent\Model|$this */ public function create(array $attributes = []) { return tap($this->newModelInstance($attributes), function ($instance) { $instance->save(); }); } /** * @throws \BadMethodCallException */ protected function forwardCallTo($object, $method, $parameters) { try { return $object->{$method}(...$parameters); } catch (Error|BadMethodCallException $e) { $pattern = '~^Call to undefined method (?P<class>[^:]+)::(?P<method>[^\(]+)\(\)$~'; if (! preg_match($pattern, $e->getMessage(), $matches)) { throw $e; if (Str::startsWith($method, 'through') && method_exists($this, $relationMethod = Str::of($method)->after('through')->lcfirst()->toString())) { return $this->through($relationMethod); } return $this->forwardCallTo($this->newQuery(), $method, $parameters); } /** * Handle dynamic static method calls into the model. * * @param array $parameters * @return mixed */ public static function __callStatic($method, $parameters) { return (new static)->$method(...$parameters); } /** * Convert the model to its string representation. * echo " - Created seat: {$zone} | Table {$tableNumber} | Seat {$seatNumber}\n";}// 3. Create test orderecho "\nCreating test order...\n";$order = Order::create([ 'order_id' => 'TEST-' . strtoupper(Str::random(8)), 'event_id' => $event->id, 'customer_name' => 'JOHN SMITH', 'customer_email' => 'john.smith@test.com', 'customer_phone' => '+1234567890',|
[2/2]
QueryException
|
|---|
Illuminate\Database\QueryException:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'currency' in 'INSERT INTO' (SQL: insert into `orders` (`event_id`, `customer_name`, `customer_email`, `customer_phone`, `total_amount`, `payment_status`, `status`, `currency`, `updated_at`, `created_at`) values (1, JOHN SMITH, john.smith@test.com, +1234567890, 300, confirmed, confirmed, GBP, 2026-03-19 22:06:49, 2026-03-19 22:06:49))
at /home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
at Illuminate\Database\Connection->runQueryCallback('insert into `orders` (`event_id`, `customer_name`, `customer_email`, `customer_phone`, `total_amount`, `payment_status`, `status`, `currency`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(1, 'JOHN SMITH', 'john.smith@test.com', '+1234567890', 300.0, 'confirmed', 'confirmed', 'GBP', '2026-03-19 22:06:49', '2026-03-19 22:06:49'), object(Closure))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Connection.php:720)
at Illuminate\Database\Connection->run('insert into `orders` (`event_id`, `customer_name`, `customer_email`, `customer_phone`, `total_amount`, `payment_status`, `status`, `currency`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(1, 'JOHN SMITH', 'john.smith@test.com', '+1234567890', 300.0, 'confirmed', 'confirmed', 'GBP', '2026-03-19 22:06:49', '2026-03-19 22:06:49'), object(Closure))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Connection.php:534)
at Illuminate\Database\Connection->statement('insert into `orders` (`event_id`, `customer_name`, `customer_email`, `customer_phone`, `total_amount`, `payment_status`, `status`, `currency`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(1, 'JOHN SMITH', 'john.smith@test.com', '+1234567890', 300.0, 'confirmed', 'confirmed', 'GBP', '2026-03-19 22:06:49', '2026-03-19 22:06:49'))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Connection.php:498)
at Illuminate\Database\Connection->insert('insert into `orders` (`event_id`, `customer_name`, `customer_email`, `customer_phone`, `total_amount`, `payment_status`, `status`, `currency`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(1, 'JOHN SMITH', 'john.smith@test.com', '+1234567890', 300.0, 'confirmed', 'confirmed', 'GBP', '2026-03-19 22:06:49', '2026-03-19 22:06:49'))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php:32)
at Illuminate\Database\Query\Processors\Processor->processInsertGetId(object(Builder), 'insert into `orders` (`event_id`, `customer_name`, `customer_email`, `customer_phone`, `total_amount`, `payment_status`, `status`, `currency`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(1, 'JOHN SMITH', 'john.smith@test.com', '+1234567890', 300.0, 'confirmed', 'confirmed', 'GBP', '2026-03-19 22:06:49', '2026-03-19 22:06:49'), 'id')
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3322)
at Illuminate\Database\Query\Builder->insertGetId(array(1, 'JOHN SMITH', 'john.smith@test.com', '+1234567890', 300.0, 'confirmed', 'confirmed', 'GBP', '2026-03-19 22:06:49', '2026-03-19 22:06:49'), 'id')
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:1869)
at Illuminate\Database\Eloquent\Builder->__call('insertGetId', array(array('event_id' => 1, 'customer_name' => 'JOHN SMITH', 'customer_email' => 'john.smith@test.com', 'customer_phone' => '+1234567890', 'total_amount' => 300.0, 'payment_status' => 'confirmed', 'status' => 'confirmed', 'currency' => 'GBP', 'updated_at' => '2026-03-19 22:06:49', 'created_at' => '2026-03-19 22:06:49'), 'id'))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1330)
at Illuminate\Database\Eloquent\Model->insertAndSetId(object(Builder), array('event_id' => 1, 'customer_name' => 'JOHN SMITH', 'customer_email' => 'john.smith@test.com', 'customer_phone' => '+1234567890', 'total_amount' => 300.0, 'payment_status' => 'confirmed', 'status' => 'confirmed', 'currency' => 'GBP', 'updated_at' => '2026-03-19 22:06:49', 'created_at' => '2026-03-19 22:06:49'))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1295)
at Illuminate\Database\Eloquent\Model->performInsert(object(Builder))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1138)
at Illuminate\Database\Eloquent\Model->save()
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:986)
at Illuminate\Database\Eloquent\Builder->Illuminate\Database\Eloquent\{closure}(object(Order))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Support/helpers.php:319)
at tap(object(Order), object(Closure))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:985)
at Illuminate\Database\Eloquent\Builder->create(array('order_id' => 'TEST-GEEMUPF3', 'event_id' => 1, 'customer_name' => 'JOHN SMITH', 'customer_email' => 'john.smith@test.com', 'customer_phone' => '+1234567890', 'total_amount' => 300.0, 'payment_status' => 'confirmed', 'status' => 'confirmed', 'currency' => 'GBP', 'created_at' => object(Carbon)))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:23)
at Illuminate\Database\Eloquent\Model->forwardCallTo(object(Builder), 'create', array(array('order_id' => 'TEST-GEEMUPF3', 'event_id' => 1, 'customer_name' => 'JOHN SMITH', 'customer_email' => 'john.smith@test.com', 'customer_phone' => '+1234567890', 'total_amount' => 300.0, 'payment_status' => 'confirmed', 'status' => 'confirmed', 'currency' => 'GBP', 'created_at' => object(Carbon))))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2330)
at Illuminate\Database\Eloquent\Model->__call('create', array(array('order_id' => 'TEST-GEEMUPF3', 'event_id' => 1, 'customer_name' => 'JOHN SMITH', 'customer_email' => 'john.smith@test.com', 'customer_phone' => '+1234567890', 'total_amount' => 300.0, 'payment_status' => 'confirmed', 'status' => 'confirmed', 'currency' => 'GBP', 'created_at' => object(Carbon))))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2342)
at Illuminate\Database\Eloquent\Model::__callStatic('create', array(array('order_id' => 'TEST-GEEMUPF3', 'event_id' => 1, 'customer_name' => 'JOHN SMITH', 'customer_email' => 'john.smith@test.com', 'customer_phone' => '+1234567890', 'total_amount' => 300.0, 'payment_status' => 'confirmed', 'status' => 'confirmed', 'currency' => 'GBP', 'created_at' => object(Carbon))))
(/home/globalgala/public_html/2026_backend_dev/scripts/create-test-wristband-data.php:70)
|
|
[1/2]
PDOException
|
|---|
PDOException:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'currency' in 'INSERT INTO'
at /home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Connection.php:539
at PDO->prepare('insert into `orders` (`event_id`, `customer_name`, `customer_email`, `customer_phone`, `total_amount`, `payment_status`, `status`, `currency`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)')
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Connection.php:539)
at Illuminate\Database\Connection->Illuminate\Database\{closure}('insert into `orders` (`event_id`, `customer_name`, `customer_email`, `customer_phone`, `total_amount`, `payment_status`, `status`, `currency`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(1, 'JOHN SMITH', 'john.smith@test.com', '+1234567890', 300.0, 'confirmed', 'confirmed', 'GBP', '2026-03-19 22:06:49', '2026-03-19 22:06:49'))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Connection.php:753)
at Illuminate\Database\Connection->runQueryCallback('insert into `orders` (`event_id`, `customer_name`, `customer_email`, `customer_phone`, `total_amount`, `payment_status`, `status`, `currency`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(1, 'JOHN SMITH', 'john.smith@test.com', '+1234567890', 300.0, 'confirmed', 'confirmed', 'GBP', '2026-03-19 22:06:49', '2026-03-19 22:06:49'), object(Closure))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Connection.php:720)
at Illuminate\Database\Connection->run('insert into `orders` (`event_id`, `customer_name`, `customer_email`, `customer_phone`, `total_amount`, `payment_status`, `status`, `currency`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(1, 'JOHN SMITH', 'john.smith@test.com', '+1234567890', 300.0, 'confirmed', 'confirmed', 'GBP', '2026-03-19 22:06:49', '2026-03-19 22:06:49'), object(Closure))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Connection.php:534)
at Illuminate\Database\Connection->statement('insert into `orders` (`event_id`, `customer_name`, `customer_email`, `customer_phone`, `total_amount`, `payment_status`, `status`, `currency`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(1, 'JOHN SMITH', 'john.smith@test.com', '+1234567890', 300.0, 'confirmed', 'confirmed', 'GBP', '2026-03-19 22:06:49', '2026-03-19 22:06:49'))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Connection.php:498)
at Illuminate\Database\Connection->insert('insert into `orders` (`event_id`, `customer_name`, `customer_email`, `customer_phone`, `total_amount`, `payment_status`, `status`, `currency`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(1, 'JOHN SMITH', 'john.smith@test.com', '+1234567890', 300.0, 'confirmed', 'confirmed', 'GBP', '2026-03-19 22:06:49', '2026-03-19 22:06:49'))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php:32)
at Illuminate\Database\Query\Processors\Processor->processInsertGetId(object(Builder), 'insert into `orders` (`event_id`, `customer_name`, `customer_email`, `customer_phone`, `total_amount`, `payment_status`, `status`, `currency`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', array(1, 'JOHN SMITH', 'john.smith@test.com', '+1234567890', 300.0, 'confirmed', 'confirmed', 'GBP', '2026-03-19 22:06:49', '2026-03-19 22:06:49'), 'id')
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3322)
at Illuminate\Database\Query\Builder->insertGetId(array(1, 'JOHN SMITH', 'john.smith@test.com', '+1234567890', 300.0, 'confirmed', 'confirmed', 'GBP', '2026-03-19 22:06:49', '2026-03-19 22:06:49'), 'id')
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:1869)
at Illuminate\Database\Eloquent\Builder->__call('insertGetId', array(array('event_id' => 1, 'customer_name' => 'JOHN SMITH', 'customer_email' => 'john.smith@test.com', 'customer_phone' => '+1234567890', 'total_amount' => 300.0, 'payment_status' => 'confirmed', 'status' => 'confirmed', 'currency' => 'GBP', 'updated_at' => '2026-03-19 22:06:49', 'created_at' => '2026-03-19 22:06:49'), 'id'))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1330)
at Illuminate\Database\Eloquent\Model->insertAndSetId(object(Builder), array('event_id' => 1, 'customer_name' => 'JOHN SMITH', 'customer_email' => 'john.smith@test.com', 'customer_phone' => '+1234567890', 'total_amount' => 300.0, 'payment_status' => 'confirmed', 'status' => 'confirmed', 'currency' => 'GBP', 'updated_at' => '2026-03-19 22:06:49', 'created_at' => '2026-03-19 22:06:49'))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1295)
at Illuminate\Database\Eloquent\Model->performInsert(object(Builder))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1138)
at Illuminate\Database\Eloquent\Model->save()
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:986)
at Illuminate\Database\Eloquent\Builder->Illuminate\Database\Eloquent\{closure}(object(Order))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Support/helpers.php:319)
at tap(object(Order), object(Closure))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:985)
at Illuminate\Database\Eloquent\Builder->create(array('order_id' => 'TEST-GEEMUPF3', 'event_id' => 1, 'customer_name' => 'JOHN SMITH', 'customer_email' => 'john.smith@test.com', 'customer_phone' => '+1234567890', 'total_amount' => 300.0, 'payment_status' => 'confirmed', 'status' => 'confirmed', 'currency' => 'GBP', 'created_at' => object(Carbon)))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:23)
at Illuminate\Database\Eloquent\Model->forwardCallTo(object(Builder), 'create', array(array('order_id' => 'TEST-GEEMUPF3', 'event_id' => 1, 'customer_name' => 'JOHN SMITH', 'customer_email' => 'john.smith@test.com', 'customer_phone' => '+1234567890', 'total_amount' => 300.0, 'payment_status' => 'confirmed', 'status' => 'confirmed', 'currency' => 'GBP', 'created_at' => object(Carbon))))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2330)
at Illuminate\Database\Eloquent\Model->__call('create', array(array('order_id' => 'TEST-GEEMUPF3', 'event_id' => 1, 'customer_name' => 'JOHN SMITH', 'customer_email' => 'john.smith@test.com', 'customer_phone' => '+1234567890', 'total_amount' => 300.0, 'payment_status' => 'confirmed', 'status' => 'confirmed', 'currency' => 'GBP', 'created_at' => object(Carbon))))
(/home/globalgala/public_html/2026_backend_dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2342)
at Illuminate\Database\Eloquent\Model::__callStatic('create', array(array('order_id' => 'TEST-GEEMUPF3', 'event_id' => 1, 'customer_name' => 'JOHN SMITH', 'customer_email' => 'john.smith@test.com', 'customer_phone' => '+1234567890', 'total_amount' => 300.0, 'payment_status' => 'confirmed', 'status' => 'confirmed', 'currency' => 'GBP', 'created_at' => object(Carbon))))
(/home/globalgala/public_html/2026_backend_dev/scripts/create-test-wristband-data.php:70)
|