https://www.jereservemonactivite.fr/agenda/velo

Query Metrics

4 Database Queries
3 Different statements
2.67 ms Query time
4 Invalid entities

Grouped Statements

Show all queries

Time▼ Count Info
1.31 ms
(49.17%)
2
SELECT c0_.image AS image_0 FROM calendar c1_ INNER JOIN category c0_ ON c1_.category_id = c0_.id WHERE (c0_.title_category = ?) AND c1_.calendarType IN ('activity', 'staffSchedule') LIMIT 1
Parameters:
[
  "velo"
]
0.73 ms
(27.21%)
1
SELECT c0_.id AS id_0, c0_.title AS title_1, c0_.start AS start_2, c0_.end AS end_3, c0_.visible AS visible_4, c0_.annulation AS annulation_5, c0_.stock AS stock_6, c0_.price AS price_7, c0_.modified_price AS modified_price_8, c0_.modified_price AS modified_price_9, c0_.calendarType AS calendarType_10, c0_.category_id AS category_id_11 FROM calendar c0_ LEFT JOIN category c1_ ON c0_.category_id = c1_.id WHERE (c1_.title_category = ?) AND c0_.calendarType IN ('activity', 'staffSchedule') ORDER BY c0_.start DESC
Parameters:
[
  "velo"
]
0.63 ms
(23.62%)
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
]

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\Category
  • The mappings App\Entity\Category#activities and App\Entity\Activity#category are inconsistent with each other.
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\StaffSchedule
  • The field App\Entity\StaffSchedule#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\CategorySetting No errors.