https://jereservemonactivite.fr/activitieshow/1

Query Metrics

7 Database Queries
7 Different statements
6.55 ms Query time
5 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
1.27 ms
(19.42%)
1
SELECT c0_.id AS id_0, p1_.id AS id_1, u2_.id AS id_2, p3_.id AS id_3, c0_.start AS start_4, c0_.end AS end_5, c0_.title AS title_6, u2_.full_name AS full_name_7, u2_.phone AS phone_8, p3_.activity_price AS activity_price_9, p3_.quantity AS quantity_10, p3_.total AS total_11, p1_.status AS status_12 FROM purchase_item p3_ INNER JOIN purchase p1_ ON p3_.purchase_id = p1_.id INNER JOIN calendar c0_ ON p3_.activity_id = c0_.id AND c0_.calendarType IN ('activity') INNER JOIN user u2_ ON p1_.user_id = u2_.id WHERE c0_.id = ?
Parameters:
[
  "1"
]
0.99 ms
(15.09%)
1
SELECT t0.id AS id_1, t0.title_category AS title_category_2, t0.image AS image_3, t0.activity AS activity_4, t5.id AS id_6, t5.price AS price_7, t5.title_category_setting AS title_category_setting_8, t5.text_color AS text_color_9, t5.back_ground_color AS back_ground_color_10, t5.border_color AS border_color_11, t5.category_id AS category_id_12 FROM category t0 LEFT JOIN category_setting t5 ON t5.category_id = t0.id WHERE t0.activity = ?
Parameters:
[
  1
]
0.92 ms
(14.13%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.start AS start_3, t0.end AS end_4, t0.visible AS visible_5, t0.annulation AS annulation_6, t0.stock AS stock_7, t0.price AS price_8, t0.modified_price AS modified_price_9, t0.category_id AS category_id_10, t0.calendarType FROM calendar t0 WHERE t0.id = ? AND t0.calendarType IN ('activity')
Parameters:
[
  "1"
]
0.91 ms
(13.93%)
1
SELECT c0_.price AS price_0 FROM calendar c1_ INNER JOIN category c2_ ON c1_.category_id = c2_.id INNER JOIN category_setting c0_ ON c2_.id = c0_.category_id WHERE (c1_.id = ?) AND c1_.calendarType IN ('activity') LIMIT 1
Parameters:
[
  "1"
]
0.88 ms
(13.40%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.start AS start_3, t0.end AS end_4, t0.visible AS visible_5, t0.annulation AS annulation_6, t0.stock AS stock_7, t0.price AS price_8, t0.modified_price AS modified_price_9, t0.category_id AS category_id_10, t0.calendarType FROM calendar t0 WHERE t0.calendarType IN ('activity')
Parameters:
[]
0.80 ms
(12.28%)
1
SELECT SUM(p0_.quantity) AS sclr_0 FROM purchase_item p0_ WHERE p0_.activity_id = ?
Parameters:
[
  "1"
]
0.77 ms
(11.76%)
1
SELECT c0_.stock AS stock_0 FROM calendar c0_ WHERE (c0_.id = ?) AND c0_.calendarType IN ('activity')
Parameters:
[
  "1"
]

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\Calendar
  • The field App\Entity\Calendar#staffs is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Staff#calendars does not contain the required 'mappedBy="staffs"' attribute.
App\Entity\Activity
  • The field App\Entity\Activity#staffs is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Staff#calendars does not contain the required 'mappedBy="staffs"' attribute.
App\Entity\Category
  • The mappings App\Entity\Category#activities and App\Entity\Activity#category are inconsistent with each other.
App\Entity\Staff
  • The field App\Entity\Staff#calendars is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Calendar#staffs does not contain the required 'mappedBy="calendars"' attribute.
App\Entity\Tide No errors.
App\Entity\User No errors.
App\Entity\CategorySetting No errors.
App\Entity\PurchaseItem
  • The association App\Entity\PurchaseItem#activity refers to the inverse side field App\Entity\Activity#purchaseItems which does not exist.
  • The association App\Entity\PurchaseItem#calendar refers to the inverse side field App\Entity\Calendar#purchaseItems which does not exist.
App\Entity\Purchase No errors.