https://college-prive-bilingue-shekinah.com/api/user/get/notifications/all

Query Metrics

6 Database Queries
6 Different statements
4.32 ms Query time
24 Invalid entities

Grouped Statements

Show all queries

Time Count Info
1.18 ms
(27.30%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.phone AS phone_7, t0.user_type AS user_type_8, t0.is_verified AS is_verified_9, t0.matricule AS matricule_10, t0.full_name AS full_name_11, t0.last_request_ts AS last_request_ts_12, t0.theme AS theme_13, t0.picture AS picture_14, t0.sexe AS sexe_15, t0.local_phone_lang AS local_phone_lang_16, t0.user_token AS user_token_17, t0.created_at AS created_at_18, t0.updated_at AS updated_at_19, t0.author_id AS author_id_20, t0.editor_id AS editor_id_21, t0.school_id AS school_id_22 FROM `user` t0 WHERE t0.phone = ? LIMIT 1
Parameters:
[
  "698441122"
]
0.79 ms
(18.36%)
1
SELECT DISTINCT t0_.id AS id_0 FROM subject s1_ LEFT JOIN `user` u2_ ON s1_.prof_id = u2_.id LEFT JOIN the_class t0_ ON s1_.classe_id = t0_.id WHERE u2_.id = ?
Parameters:
[
  4
]
0.78 ms
(18.02%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.content AS content_3, t0.type AS type_4, t0.data_id AS data_id_5, t0.data AS data_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.user_id AS user_id_9 FROM user_notification t0 WHERE t0.user_id = ? ORDER BY t0.created_at DESC
Parameters:
[
  4
]
0.70 ms
(16.29%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.active AS active_3, t0.slug AS slug_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.section_id AS section_id_7, t0.author_id AS author_id_8, t0.editor_id AS editor_id_9, t0.school_id AS school_id_10, t0.prof_id AS prof_id_11, t0.principal_prof_id AS principal_prof_id_12 FROM the_class t0 WHERE t0.school_id = ?
Parameters:
[
  1
]
0.48 ms
(11.13%)
1
SELECT c0_.id AS id_0, c0_.created_at AS created_at_1, c0_.updated_at AS updated_at_2, c0_.initiator_id AS initiator_id_3, c0_.recipient_id AS recipient_id_4, c0_.year_id AS year_id_5 FROM chat c0_ LEFT JOIN `user` u1_ ON c0_.initiator_id = u1_.id LEFT JOIN `user` u2_ ON c0_.recipient_id = u2_.id LEFT JOIN school_year s3_ ON c0_.year_id = s3_.id LEFT JOIN message m4_ ON c0_.id = m4_.chat_id WHERE (u1_.id = ? OR u2_.id = ?) AND s3_.active = ? ORDER BY m4_.created_at DESC
Parameters:
[
  4
  4
  1
]
0.38 ms
(8.89%)
1
SELECT t0_.id AS id_0, t0_.name AS name_1, t0_.active AS active_2, t0_.slug AS slug_3, t0_.created_at AS created_at_4, t0_.updated_at AS updated_at_5, s1_.id AS id_6, s1_.name AS name_7, s1_.created_at AS created_at_8, s1_.updated_at AS updated_at_9, t0_.section_id AS section_id_10, t0_.author_id AS author_id_11, t0_.editor_id AS editor_id_12, t0_.school_id AS school_id_13, t0_.prof_id AS prof_id_14, t0_.principal_prof_id AS principal_prof_id_15, s1_.author_id AS author_id_16, s1_.editor_id AS editor_id_17, s1_.school_id AS school_id_18 FROM the_class t0_ LEFT JOIN school_section s1_ ON t0_.section_id = s1_.id ORDER BY t0_.name DESC
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\User No errors.
App\Entity\School
  • The mappings App\Entity\School#agendaTimeConvertion and App\Entity\AgendaTimeConvertion#school are inconsistent with each other.
App\Entity\News No errors.
App\Entity\Event No errors.
App\Entity\UserYear No errors.
App\Entity\Subject No errors.
App\Entity\Student
  • The mappings App\Entity\Student#punishes and App\Entity\Punish#student are inconsistent with each other.
App\Entity\HomeWork No errors.
App\Entity\Chat
  • The mappings App\Entity\Chat#recipient and App\Entity\User#chats are inconsistent with each other.
App\Entity\Message
  • The association App\Entity\Message#author refers to the inverse side field App\Entity\UserYear#messages which does not exist.
App\Entity\DocInfo No errors.
App\Entity\Discussion
  • The mappings App\Entity\Discussion#userB and App\Entity\User#discussions are inconsistent with each other.
App\Entity\DiscussionMessage
  • The mappings App\Entity\DiscussionMessage#messageFor and App\Entity\User#discussionMessages are inconsistent with each other.
App\Entity\Notifications
  • The association App\Entity\Notifications#year refers to the inverse side field App\Entity\SchoolYear#notifications which does not exist.
App\Entity\Absence No errors.
App\Entity\CategoryEvent No errors.
App\Entity\ClassYear
  • The association App\Entity\ClassYear#class refers to the inverse side field App\Entity\TheClass#classYears which does not exist.
  • The field App\Entity\ClassYear#chats is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Chat#classes does not contain the required 'inversedBy="chats"' attribute.
App\Entity\Exams No errors.
App\Entity\Late No errors.
App\Entity\NewsCategory No errors.
App\Entity\Note No errors.
App\Entity\SchoolSection No errors.
App\Entity\SchoolYear
  • The mappings App\Entity\SchoolYear#agendaTimeConvertion and App\Entity\AgendaTimeConvertion#year are inconsistent with each other.
App\Entity\SubjectGroup No errors.
App\Entity\TheClass
  • The mappings App\Entity\TheClass#studentsYears and App\Entity\StudentYear#classe are inconsistent with each other.
  • The association App\Entity\TheClass#userYears refers to the owning side field App\Entity\UserYear#classes which does not exist.
  • The association App\Entity\TheClass#quarters refers to the owning side field App\Entity\Quarter#classe which does not exist.
App\Entity\Punish
  • The association App\Entity\Punish#student refers to the inverse side field App\Entity\Student#punishDetails which does not exist.
App\Entity\PunishCategory No errors.
App\Entity\DiscussionClassMessage No errors.
App\Entity\Agenda
  • The association App\Entity\Agenda#classe refers to the inverse side field App\Entity\TheClass#agendas which does not exist.
  • The association App\Entity\Agenda#agendaDays refers to the owning side field App\Entity\AgendaDay#agenda which does not exist.
App\Entity\ExamAgenda No errors.
App\Entity\SubSequence No errors.
App\Entity\Quarter No errors.
App\Entity\SubNote No errors.
App\Entity\AgendaDay No errors.
App\Entity\AgendaElement No errors.
App\Entity\ExamAgendaDay No errors.
App\Entity\ExamAgendaElement No errors.
App\Entity\Appreciation No errors.
App\Entity\LocalAccount
  • The mappings App\Entity\LocalAccount#account and App\Entity\User#localAccounts are inconsistent with each other.
App\Entity\NewsBookmark
  • The association App\Entity\NewsBookmark#year refers to the inverse side field App\Entity\SchoolYear#newsBookmarks which does not exist.
App\Entity\HomeworkBookmark
  • The association App\Entity\HomeworkBookmark#year refers to the inverse side field App\Entity\SchoolYear#homeworkBookmarks which does not exist.
App\Entity\ScolarityHistory
  • The mappings App\Entity\ScolarityHistory#editor and App\Entity\User#scolarityHistories are inconsistent with each other.
App\Entity\ScolarityHistoryEdition No errors.
App\Entity\JustifyAbsence No errors.
App\Entity\VerbalProcess
  • The mappings App\Entity\VerbalProcess#editor and App\Entity\User#verbalProcesses are inconsistent with each other.
App\Entity\AbsenceDisciplineConcileConfig
  • The mappings App\Entity\AbsenceDisciplineConcileConfig#editor and App\Entity\User#absenceDisciplineConcileConfigs are inconsistent with each other.
App\Entity\PrimaryNote
  • The mappings App\Entity\PrimaryNote#editor and App\Entity\User#primaryNotes are inconsistent with each other.
App\Entity\VerbalProcessCategory
  • The association App\Entity\VerbalProcessCategory#verbalProcess refers to the owning side field App\Entity\VerbalProcess#verbalProcessCategory which does not exist.
App\Entity\UserAndroidToken No errors.
App\Entity\UserIphoneToken No errors.
App\Entity\AbsenceBlameConfig No errors.
App\Entity\AbsenceWarningConfig No errors.
App\Entity\AbsencePunishConfig No errors.
App\Entity\AbsenceExclusionConfig No errors.
App\Entity\GlobalDisciplineEnabledConfig No errors.
App\Entity\AbsenceRetainedConfig No errors.
App\Entity\DisciplineConcile
  • The mappings App\Entity\DisciplineConcile#editor and App\Entity\User#disciplineConciles are inconsistent with each other.
App\Entity\RefreshToken No errors.
App\Entity\UserNotification No errors.
App\Entity\AgendaTimeConvertion
  • The association App\Entity\AgendaTimeConvertion#school refers to the inverse side field App\Entity\School#agendaTimeConvertions which does not exist.
  • The association App\Entity\AgendaTimeConvertion#year refers to the inverse side field App\Entity\SchoolYear#agendaTimeConvertions which does not exist.
App\Entity\Competence No errors.
App\Entity\ProfTime No errors.
App\Entity\StudentYear
  • The association App\Entity\StudentYear#classe refers to the inverse side field App\Entity\TheClass#studentYears which does not exist.
App\Entity\DiscussionClass No errors.
App\Entity\Scolarity
  • The association App\Entity\Scolarity#year refers to the inverse side field App\Entity\SchoolYear#scolarities which does not exist.
  • The association App\Entity\Scolarity#author refers to the inverse side field App\Entity\User#scolarities which does not exist.
App\Entity\DisciplineWarning No errors.
App\Entity\DisciplineBlame No errors.
App\Entity\DisciplineExclusion No errors.
App\Entity\ParentNote No errors.
App\Entity\DisciplineRetained No errors.
App\Entity\PrimaryParentNote No errors.
App\Entity\DisciplinePunish No errors.
App\Entity\Blame No errors.
App\Entity\Warning No errors.
App\Entity\Retained No errors.
App\Entity\WeekSubjectGoal No errors.