https://app-preprod.lesbonsprofs.com/mission-exam/choix-des-annales?mission=bac

Query Metrics

17 Database Queries
11 Different statements
168.55 ms Query time
8 Invalid entities

Queries

Group similar statements

default connection

# Time Info
1 9.04 ms
SELECT n0_.id AS id_0, n0_.title AS title_1, n0_.price AS price_2, a1_.old_price AS old_price_3, a1_.nbr_dis AS nbr_dis_4 FROM admin_mission a1_ INNER JOIN new_offer n0_ ON a1_.id = n0_.id INNER JOIN type_offer t2_ ON n0_.type_offer_id = t2_.id WHERE t2_.slug = ? AND t2_.online = 1 AND n0_.online = 1
Parameters:
[
  "mission-bac"
]
2 8.73 ms
SELECT t0.id AS id_1, t0.online AS online_2, t0.title AS title_3, t0.text_paid AS text_paid_4, t0.grab AS grab_5, t0.description AS description_6, t0.slug AS slug_7, t0.display_pack AS display_pack_8 FROM type_offer t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "mission-bac"
]
3 9.00 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.lesson_title AS lesson_title_3, t0.slug AS slug_4, t0.slug_lesson AS slug_lesson_5, t0.front AS front_6, t0.order AS order_7, t0.speciality AS speciality_8, t0.exam AS exam_9, t0.main_color AS main_color_10, t0.gradient_color AS gradient_color_11, t0.published AS published_12, t0.color AS color_13, t0.style AS style_14 FROM admin_discipline t0
Parameters:
[]
4 17.34 ms
SELECT t0.id AS id_1, t0.started AS started_2, t0.ended AS ended_3, t0.ready AS ready_4, t0.url_video AS url_video_5, t0.url_video_poster AS url_video_poster_6, t0.picture AS picture_7, t0.picture_popin AS picture_popin_8, t0.text_headband AS text_headband_9, t0.url_headband AS url_headband_10, t0.date_headband AS date_headband_11, t0.subscription_started AS subscription_started_12, t0.subscription_ended AS subscription_ended_13, t0.numberlimit AS numberlimit_14, t0.title AS title_15, t0.slug AS slug_16, t0.number_day AS number_day_17, t0.description AS description_18, t0.online AS online_19, t0.number_select_discipline AS number_select_discipline_20, t0.restriction_courses AS restriction_courses_21, t0.summer AS summer_22, t0.display_popin_registration AS display_popin_registration_23, t0.type AS type_24, t0.grab_title AS grab_title_25, t0.sub_title AS sub_title_26, t0.course_id AS course_id_27, t0.discipline_id AS discipline_id_28, t0.discr FROM EventTraining t0 INNER JOIN type_offer_pack ON t0.id = type_offer_pack.pack_id WHERE type_offer_pack.type_offer_id = ? AND t0.discr IN ('pack')
Parameters:
[
  3
]
5 8.69 ms
SELECT DATABASE()
Parameters:
[]
6 10.68 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "lbp"
]
7 8.47 ms
SELECT DATABASE()
Parameters:
[]
8 11.00 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "lbp"
]
9 8.65 ms
SELECT DATABASE()
Parameters:
[]
10 9.86 ms
SELECT t.TABLE_NAME,
           t.ENGINE,
           t.AUTO_INCREMENT,
           t.TABLE_COMMENT,
           t.CREATE_OPTIONS,
           t.TABLE_COLLATION,
           ccsa.CHARACTER_SET_NAME
      FROM information_schema.TABLES t
        INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa
          ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE'
Parameters:
[
  "lbp"
  "doctrine_migration_versions"
]
11 8.61 ms
SELECT DATABASE()
Parameters:
[]
12 11.24 ms
SELECT DISTINCT            k.CONSTRAINT_NAME,
            k.COLUMN_NAME,
            k.REFERENCED_TABLE_NAME,
            k.REFERENCED_COLUMN_NAME,
            k.ORDINAL_POSITION /*!50116,
            c.UPDATE_RULE,
            c.DELETE_RULE */
FROM information_schema.key_column_usage k /*!50116
INNER JOIN information_schema.referential_constraints c
ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME
AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.TABLE_NAME = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'lbp' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "lbp"
  "doctrine_migration_versions"
]
13 11.57 ms
SELECT       c.COLUMN_NAME        AS field,
       c.COLUMN_TYPE       AS type,
       c.IS_NULLABLE        AS `null`,
       c.COLUMN_KEY         AS `key`,
       c.COLUMN_DEFAULT     AS `default`,
       c.EXTRA,
       c.COLUMN_COMMENT     AS comment,
       c.CHARACTER_SET_NAME AS characterset,
       c.COLLATION_NAME     AS collation
FROM information_schema.COLUMNS c
    INNER JOIN information_schema.TABLES t
        ON t.TABLE_NAME = c.TABLE_NAME
     WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION
Parameters:
[
  "lbp"
  "lbp"
  "doctrine_migration_versions"
]
14 8.64 ms
SELECT DATABASE()
Parameters:
[]
15 9.49 ms
SELECT        NON_UNIQUE  AS Non_Unique,
        INDEX_NAME  AS Key_name,
        COLUMN_NAME AS Column_Name,
        SUB_PART    AS Sub_Part,
        INDEX_TYPE  AS Index_Type
FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ? ORDER BY SEQ_IN_INDEX
Parameters:
[
  "lbp"
  "doctrine_migration_versions"
]
16 8.93 ms
SELECT * FROM doctrine_migration_versions
Parameters:
[]
17 8.61 ms
SELECT DATABASE()
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection
wp doctrine.dbal.wp_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\Users\User No errors.
App\Entity\Management\Subscription\Subscription
  • The association App\Entity\Management\Subscription\Subscription#student refers to the inverse side field App\Entity\Users\Child#offers which does not exist.
App\Entity\Management\Subscription\Offer No errors.
App\Entity\Management\Subscription\Mission No errors.
App\Entity\Management\Subscription\TypeOffer No errors.
App\Entity\Event\Training\AbstractEventTraining No errors.
App\Entity\Event\Training\Pack No errors.
App\Entity\Educational\Discipline
  • The mappings App\Entity\Educational\Discipline#domains and App\Entity\Educational\Domain#discipline are inconsistent with each other.
App\Entity\Educational\Domain
  • The association App\Entity\Educational\Domain#discipline refers to the inverse side field App\Entity\Educational\Discipline#domain which does not exist.
App\Entity\Users\Teacher
  • The association App\Entity\Users\Teacher#students refers to the owning side field App\Entity\Users\Child#teacher which does not exist.
App\Entity\Educational\Course
  • The mappings App\Entity\Educational\Course#students and App\Entity\Users\Child#course are inconsistent with each other.
App\Entity\Users\Child
  • The association App\Entity\Users\Child#course refers to the inverse side field App\Entity\Educational\Course#users which does not exist.
App\Entity\Management\Subscription\Discount No errors.
App\Entity\Management\Subscription\PaymentFutur
  • The field App\Entity\Management\Subscription\PaymentFutur#subscriptions is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Management\Subscription\Subscription#paymentFutur does not contain the required 'inversedBy="subscriptions"' attribute.
App\Entity\Management\Subscription\SubscriptionOptions No errors.
App\Entity\Management\Invoice\AbstractInvoice No errors.
App\Entity\Management\Invoice\Invoice No errors.
App\Entity\Management\BankCollection\BankCollection No errors.
App\Entity\Educational\Serie
  • The association App\Entity\Educational\Serie#discipline refers to the owning side field App\Entity\Educational\Course#serie which does not exist.
App\Entity\Educational\Chapter No errors.
App\Entity\Educational\SubChapterDomain No errors.
App\Entity\Educational\Lesson\WorkListNode No errors.