POST http://btgfootballbookings.com/bookings/Brighton

Query Metrics

15 Database Queries
11 Different statements
15.74 ms Query time
1 Invalid entities

Queries

Group similar statements

# Time Info
1 0.48 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.address_line_one AS address_line_one_3, t0.address_line_two AS address_line_two_4, t0.address_line_three AS address_line_three_5, t0.city AS city_6, t0.county AS county_7, t0.post_code AS post_code_8, t0.latitude AS latitude_9, t0.longitude AS longitude_10, t0.default_event_description AS default_event_description_11, t0.region_id AS region_id_12 FROM site t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
  "Brighton"
]
2 0.40 ms
SELECT e0_.id AS id_0, e0_.title AS title_1, e0_.date AS date_2, e0_.recurring AS recurring_3, e0_.bookable AS bookable_4, e0_.max_guests AS max_guests_5, e0_.guest_count AS guest_count_6, e0_.show_phone_on_form AS show_phone_on_form_7, e0_.site_id AS site_id_8 FROM event e0_ WHERE e0_.site_id = ? AND e0_.date > ? AND e0_.bookable = ? ORDER BY e0_.date ASC
Parameters:
[
  57
  "2024-12-03 17:46:53"
  1
]
3 0.36 ms
SELECT e0_.id AS id_0, e0_.title AS title_1, e0_.date AS date_2, e0_.recurring AS recurring_3, e0_.bookable AS bookable_4, e0_.max_guests AS max_guests_5, e0_.guest_count AS guest_count_6, e0_.show_phone_on_form AS show_phone_on_form_7, e0_.site_id AS site_id_8 FROM event e0_ WHERE e0_.site_id = ? AND e0_.date > ? ORDER BY e0_.date ASC
Parameters:
[
  57
  "2024-12-03 17:46:53"
]
4 0.33 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.phone AS phone_3, t0.email AS email_4, t0.event_id AS event_id_5 FROM guest t0 WHERE t0.email = ? AND t0.event_id = ? LIMIT 1
Parameters:
[
  "[email protected]"
  378
]
5 0.12 ms
"START TRANSACTION"
Parameters:
[]
6 0.31 ms
INSERT INTO guest (name, phone, email, event_id) VALUES (?, ?, ?, ?)
Parameters:
[
  "Max Hamilton"
  ""
  "[email protected]"
  378
]
7 0.27 ms
UPDATE event SET guest_count = ? WHERE id = ?
Parameters:
[
  4
  378
]
8 0.25 ms
INSERT INTO booking_removal_code (code, guest_id) VALUES (?, ?)
Parameters:
[
  "90a675a81f"
  6423
]
9 0.44 ms
SELECT t0.id AS id_1, t0.type_name AS type_name_2, t0.type_level AS type_level_3 FROM log_type t0 WHERE t0.type_name = ? LIMIT 1
Parameters:
[
  "INFO"
]
10 0.35 ms
INSERT INTO log (created, message, context, extra, tags, details, log_type_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "2024-12-03 17:46:55"
  "Successfully sent email to Max Hamilton at [email protected] for event BTG Brighton - 06 Dec 20:00"
  "[]"
  "[]"
  null
  null
  2
]
11 4.98 ms
"COMMIT"
Parameters:
[]
12 0.26 ms
SELECT t0.id AS id_1, t0.type_name AS type_name_2, t0.type_level AS type_level_3 FROM log_type t0 WHERE t0.type_name = ? LIMIT 1
Parameters:
[
  "ALERT"
]
13 0.15 ms
"START TRANSACTION"
Parameters:
[]
14 0.34 ms
INSERT INTO log (created, message, context, extra, tags, details, log_type_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "2024-12-03 17:46:55"
  "New Guest "Max Hamilton" booked onto BTG Brighton - 06 Dec 20:00 - 06 Dec 2024 - 20:00"
  "[]"
  "[]"
  null
  null
  7
]
15 6.72 ms
"COMMIT"
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Entity\Site No errors.
App\Entity\Region No errors.
App\Entity\Event No errors.
App\Entity\Guest
  • The association App\Entity\Guest#event refers to the inverse side field App\Entity\Event#guests which does not exist.
App\Entity\BookingRemovalCode No errors.
App\Entity\LogType No errors.
App\Entity\Log No errors.