https://helpdesk.faclon.com/en/member/threads/ajax/1986?page=1&threadType=all

Query Metrics

8 Database Queries
7 Different statements
5.13 ms Query time
2 Invalid entities

Queries

Group similar statements

# Time Info
1 0.52 ms
SELECT t0.id AS id_1, t0.site_key AS site_key_2, t0.secret_key AS secret_key_3, t0.is_active AS is_active_4 FROM recaptcha t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  1
]
2 1.02 ms
SELECT u0_.id AS id_0, u0_.email AS email_1, u0_.proxy_id AS proxy_id_2, u0_.password AS password_3, u0_.first_name AS first_name_4, u0_.last_name AS last_name_5, u0_.is_enabled AS is_enabled_6, u0_.verification_code AS verification_code_7, u0_.timezone AS timezone_8, u0_.timeformat AS timeformat_9, u1_.id AS id_10, u1_.source AS source_11, u1_.skype_id AS skype_id_12, u1_.contact_number AS contact_number_13, u1_.designation AS designation_14, u1_.signature AS signature_15, u1_.profile_image_path AS profile_image_path_16, u1_.created_at AS created_at_17, u1_.updated_at AS updated_at_18, u1_.is_active AS is_active_19, u1_.is_verified AS is_verified_20, u1_.is_starred AS is_starred_21, u1_.ticket_access_level AS ticket_access_level_22, u1_.user_id AS user_id_23, u1_.supportRole_id AS supportRole_id_24 FROM uv_user u0_ LEFT JOIN uv_user_instance u1_ ON (u0_.id = u1_.user_id) LEFT JOIN uv_support_role u2_ ON u1_.supportRole_id = u2_.id WHERE u0_.email = ? AND u1_.is_active = ? AND (u2_.code = ? OR u2_.code = ? OR u2_.code = ?) LIMIT 1
Parameters:
[
  "natasha.t@iosense.io"
  1
  "ROLE_SUPER_ADMIN"
  "ROLE_ADMIN"
  "ROLE_AGENT"
]
3 0.41 ms
SELECT t0.id AS id_1, t0.code AS code_2, t0.description AS description_3 FROM uv_support_role t0 WHERE t0.id = ?
Parameters:
[
  2
]
4 0.64 ms
SELECT t0.id AS id_1, t0.source AS source_2, t0.mailbox_email AS mailbox_email_3, t0.subject AS subject_4, t0.reference_ids AS reference_ids_5, t0.outlook_conversation_id AS outlook_conversation_id_6, t0.is_new AS is_new_7, t0.is_replied AS is_replied_8, t0.is_reply_enabled AS is_reply_enabled_9, t0.is_starred AS is_starred_10, t0.is_trashed AS is_trashed_11, t0.is_agent_viewed AS is_agent_viewed_12, t0.is_customer_viewed AS is_customer_viewed_13, t0.created_at AS created_at_14, t0.updated_at AS updated_at_15, t0.status_id AS status_id_16, t0.priority_id AS priority_id_17, t0.type_id AS type_id_18, t0.customer_id AS customer_id_19, t0.agent_id AS agent_id_20, t0.group_id AS group_id_21, t0.subGroup_id AS subGroup_id_22 FROM uv_ticket t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "1986"
]
5 0.66 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.logo AS logo_4, t0.theme_color AS theme_color_5, t0.favicon AS favicon_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.is_active AS is_active_9, t0.timezone AS timezone_10, t0.timeformat AS timeformat_11 FROM uv_website t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  "Knowledgebase"
]
6 0.78 ms
SELECT COUNT(DISTINCT u0_.id) AS sclr_0 FROM uv_thread u0_ LEFT JOIN uv_user u1_ ON u0_.user_id = u1_.id LEFT JOIN uv_user_instance u2_ ON u1_.id = u2_.user_id LEFT JOIN uv_ticket_attachments u3_ ON u0_.id = u3_.thread_id WHERE u0_.ticket_id = ? AND u0_.thread_type <> ? ORDER BY u0_.id DESC
Parameters:
[
  1986
  "create"
]
7 0.66 ms
SELECT DISTINCT u0_.id AS id_0, u0_.id AS id_1 FROM uv_thread u0_ LEFT JOIN uv_user u1_ ON u0_.user_id = u1_.id LEFT JOIN uv_user_instance u2_ ON u1_.id = u2_.user_id LEFT JOIN uv_ticket_attachments u3_ ON u0_.id = u3_.thread_id WHERE u0_.ticket_id = ? AND u0_.thread_type <> ? ORDER BY u0_.id DESC LIMIT 15
Parameters:
[
  1986
  "create"
]
8 0.45 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.logo AS logo_4, t0.theme_color AS theme_color_5, t0.favicon AS favicon_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.is_active AS is_active_9, t0.timezone AS timezone_10, t0.timeformat AS timeformat_11 FROM uv_website t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  "helpdesk"
]

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
Webkul\UVDesk\CoreFrameworkBundle\Entity\Recaptcha No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\User No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\UserInstance No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportRole No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\EmailTemplates No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\SavedFilters No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportPrivilege No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportTeam No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportGroup No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\Ticket
  • The association Webkul\UVDesk\CoreFrameworkBundle\Entity\Ticket#supportGroup refers to the inverse side field Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportGroup#tickets which does not exist.
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketStatus No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketPriority No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketType No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\Thread No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketRating No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\Tag
  • The field Webkul\UVDesk\CoreFrameworkBundle\Entity\Tag#tickets is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Webkul\UVDesk\CoreFrameworkBundle\Entity\Ticket#supportTags does not contain the required 'inversedBy="tickets"' attribute.
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportLabel No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\Website No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\Attachment No errors.