https://back-immochv3.mypreprod.xyz/api/immo/v2/mailbox/email/count

Query Metrics

3 Database Queries
3 Different statements
2.01 ms Query time
16 Invalid entities

Grouped Statements

Show all queries

Time Count Info
1.06 ms
(52.38%)
1
SELECT e.id, e.subject, e.email_to_reply_id, e.receiver_type
            FROM email e
            WHERE e.receiver_id = :userId AND e.seen = false AND e.deleted_by_receiver IS NULL
              AND NOT EXISTS (
                SELECT 1
                FROM email last_reply
                WHERE last_reply.email_to_reply_id = e.id
                HAVING MAX(last_reply.id) = (
                    SELECT MAX(id)
                    FROM email
                    WHERE email_to_reply_id = e.id
                      AND sender_id = :userId
                      AND deleted_by_sender IS NULL
                )
            )
Parameters:
[
  "userId" => 201
]
0.62 ms
(30.63%)
1
SELECT t0.id AS id_1, t0.uid AS uid_2, t0.email AS email_3, t0.roles AS roles_4, t0.password AS password_5, t0.two_factor_code AS two_factor_code_6, t0.two_factor_code_expires_at AS two_factor_code_expires_at_7, t0.two_factor_temp_token AS two_factor_temp_token_8, t0.name AS name_9, t0.firstname AS firstname_10, t0.telephone AS telephone_11, t0.address AS address_12, t0.status AS status_13, t0.resettoken AS resettoken_14, t0.tradingname AS tradingname_15, t0.sir AS sir_16, t0.tva AS tva_17, t0.dispomon AS dispomon_18, t0.dispotue AS dispotue_19, t0.dispowed AS dispowed_20, t0.dispothu AS dispothu_21, t0.dispofri AS dispofri_22, t0.disposat AS disposat_23, t0.disposun AS disposun_24, t0.stripe_customer_id AS stripe_customer_id_25, t0.mgp_user_id AS mgp_user_id_26, t0.mgp_wallet_id AS mgp_wallet_id_27, t0.mgp_card_id AS mgp_card_id_28, t0.logo AS logo_29, t0.gender AS gender_30, t0.num_national_register AS num_national_register_31, t0.iban AS iban_32, t0.longitude AS longitude_33, t0.latitude AS latitude_34, t0.client_sales_agreement_discussions AS client_sales_agreement_discussions_35, t0.client_deed_of_sale_discussions AS client_deed_of_sale_discussions_36, t0.committee_avatar AS committee_avatar_37, t0.committee_surname AS committee_surname_38, t0.is_admin AS is_admin_39, t0.admin_id AS admin_id_40, t0.house_number AS house_number_41, t0.house_addition AS house_addition_42, t0.last_notification AS last_notification_43, t0.device_token AS device_token_44, t0.region AS region_45, t0.municipality AS municipality_46, t0.country AS country_47, t0.imported AS imported_48, t0.is_moving_company AS is_moving_company_49, t0.mail_id AS mail_id_50, t0.mail_mini AS mail_mini_51, t0.check_sum AS check_sum_52, t0.personnal_abonnement AS personnal_abonnement_53, t0.certification_area AS certification_area_54, t0.inbox_id AS inbox_id_55, t0.inbox_email AS inbox_email_56, t0.supplier_id AS supplier_id_57, t0.code_client AS code_client_58, t0.created AS created_59, t0.updated AS updated_60, t61.id AS id_62, t61.created AS created_63, t61.updated AS updated_64, t61.syndic_id AS syndic_id_65, t66.id AS id_67, t66.study AS study_68, t66.associate_name AS associate_name_69, t66.associate_firstname AS associate_firstname_70, t66.associate_email AS associate_email_71, t66.address AS address_72, t66.fax AS fax_73, t66.site AS site_74, t66.telephone AS telephone_75, t66.bce AS bce_76, t66.check_sum AS check_sum_77, t66.name AS name_78, t66.firstname AS firstname_79, t66.email AS email_80, t66.postal_code AS postal_code_81, t66.municipality AS municipality_82, t66.street AS street_83, t66.country AS country_84, t66.latitude AS latitude_85, t66.longitude AS longitude_86, t66.region AS region_87, t66.user_id AS user_id_88 FROM user t0 LEFT JOIN co_ownership t61 ON t61.syndic_id = t0.id LEFT JOIN notary t66 ON t66.user_id = t0.id WHERE t0.email = ? LIMIT 1
Parameters:
[
  "hasin@yopmail.com"
]
0.34 ms
(16.99%)
1
SELECT t0.id AS id_1, t0.stripe_subscription_id AS stripe_subscription_id_2, t0.status AS status_3, t0.current_period_start AS current_period_start_4, t0.current_period_end AS current_period_end_5, t0.cancel_at_period_end AS cancel_at_period_end_6, t0.cancellation_reason AS cancellation_reason_7, t0.canceled_at AS canceled_at_8, t0.plan_id AS plan_id_9, t0.user_id AS user_id_10 FROM plan_subscription t0 WHERE t0.user_id = ?
Parameters:
[
  201
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager
import doctrine.orm.import_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

default entity manager

Class Mapping errors
App\Entity\Municipality No errors.
App\Entity\BankSimulation No errors.
App\Entity\ProviderSibelga No errors.
App\Entity\ProviderSibelgaWork No errors.
App\Entity\ProviderSociety No errors.
App\Entity\TheProperty
  • The mappings App\Entity\TheProperty#propertyType and App\Entity\PropertyType#theproperties are inconsistent with each other.
  • The association App\Entity\TheProperty#announcements refers to the owning side field App\Entity\Announcement#theProperty which does not exist.
  • The association App\Entity\TheProperty#thepropertyOffers refers to the owning side field App\Entity\ThepropertyOffer#theProperty which does not exist.
  • The association App\Entity\TheProperty#thepropertyLots refers to the owning side field App\Entity\ThepropertyLot#theProperty which does not exist.
  • The association App\Entity\TheProperty#thepropertyBalances refers to the owning side field App\Entity\ThepropertyBalance#theProperty which does not exist.
  • The association App\Entity\TheProperty#thepropertyProviderDocumentProofs refers to the owning side field App\Entity\ThepropertyProviderDocumentProof#theProperty which does not exist.
  • The association App\Entity\TheProperty#thepropertyWorks refers to the owning side field App\Entity\ThePropertyWork#theProperty which does not exist.
  • The association App\Entity\TheProperty#schools refers to the owning side field App\Entity\Schools#theProperty which does not exist.
  • The association App\Entity\TheProperty#counterOffers refers to the owning side field App\Entity\CounterOffer#theProperty which does not exist.
  • The mappings App\Entity\TheProperty#tankInstallationConcerns and App\Entity\ProviderTankInstallation#concernedProperties are inconsistent with each other.
App\Entity\ProviderSolar No errors.
App\Entity\ProviderSolarDeclarationCadastre No errors.
App\Entity\User
  • The field App\Entity\User#syndicChats is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\SyndicChat#sender does not contain the required 'inversedBy="syndicChats"' attribute.
App\Entity\Offer
  • The mappings App\Entity\Offer#salesagreement and App\Entity\SalesAgreementFile#offers are inconsistent with each other.
App\Entity\DomiciliationFiles No errors.
App\Entity\Typeofwork
  • The mappings App\Entity\Typeofwork#subsection and App\Entity\Controls#typeOfWork are inconsistent with each other.
  • The association App\Entity\Typeofwork#nextPebControls refers to the owning side field App\Entity\NextPebControls#TypeOfWork which does not exist.
App\Entity\Subsection No errors.
App\Entity\Choicecategory No errors.
App\Entity\Model No errors.
App\Entity\PdfMailLocation No errors.
App\Entity\ThePropertyWork
  • The association App\Entity\ThePropertyWork#theproperty refers to the inverse side field App\Entity\TheProperty#workcost which does not exist.
App\Entity\CoOwnership No errors.
App\Entity\Notary No errors.
App\Entity\Lastvisit No errors.
App\Entity\Alert
  • The mappings App\Entity\Alert#propertyType and App\Entity\PropertyType#alerts are inconsistent with each other.
App\Entity\Save No errors.
App\Entity\Visitproperty No errors.
App\Entity\Announcement
  • The mappings App\Entity\Announcement#theproperty and App\Entity\TheProperty#announcements are inconsistent with each other.
  • The mappings App\Entity\Announcement#cityDeparture and App\Entity\City#announcements_departure are inconsistent with each other.
  • The mappings App\Entity\Announcement#cityArrival and App\Entity\City#announcements_arrival are inconsistent with each other.
App\Entity\Subscription No errors.
App\Entity\Orders No errors.
App\Entity\Theservice No errors.
App\Entity\ServiceOffer
  • The association App\Entity\ServiceOffer#service refers to the inverse side field App\Entity\Theservice#serviceOffers which does not exist.
App\Entity\ThepropertyOfferInterested No errors.
App\Entity\ThepropertyOfferChat
  • The mappings App\Entity\ThepropertyOfferChat#receiver and App\Entity\User#thepropertyOfferChats are inconsistent with each other.
App\Entity\KycDocument No errors.
App\Entity\UboDocument No errors.
App\Entity\SyndicGroup No errors.
App\Entity\SyndicChat No errors.
App\Entity\SyndicDocumentComment
  • The association App\Entity\SyndicDocumentComment#syndicDocument refers to the inverse side field App\Entity\SyndicDocument#syndicDocumentComments which does not exist.
App\Entity\ThePropertyExteriorComment No errors.
App\Entity\Purchase No errors.
App\Entity\ResultEngie No errors.
App\Entity\EnergyBelgique No errors.
App\Entity\ThepropertyOffer
  • The mappings App\Entity\ThepropertyOffer#theproperty and App\Entity\TheProperty#thepropertyOffers are inconsistent with each other.
App\Entity\ClientDeedOfSale No errors.
App\Entity\PurchasePartnerRequest No errors.
App\Entity\CommunityPost No errors.
App\Entity\CommunityPostComment No errors.
App\Entity\CommunityPostLike No errors.
App\Entity\Committee No errors.
App\Entity\CommunityServiceResponse No errors.
App\Entity\CommunityPlpVote No errors.
App\Entity\CommunityPurchase No errors.
App\Entity\CommunityVoteConsultation No errors.
App\Entity\CommunityCoordinate No errors.
App\Entity\AlertNewProjectImmo No errors.
App\Entity\CommunitySolicitationVote No errors.
App\Entity\CommunityWorkVote No errors.
App\Entity\UrbanPermit No errors.
App\Entity\ColectiveGarden No errors.
App\Entity\Society No errors.
App\Entity\SocietyUse No errors.
App\Entity\CounterOffer No errors.
App\Entity\Education
  • The association App\Entity\Education#class refers to the inverse side field App\Entity\Classes#education which does not exist.
App\Entity\OfferLease
  • The association App\Entity\OfferLease#inventories refers to the owning side field App\Entity\Inventory#offerLease which does not exist.
App\Entity\CarpoolAnnouncement No errors.
App\Entity\Bankdetails No errors.
App\Entity\IdentityDocument No errors.
App\Entity\StarRatings No errors.
App\Entity\CoOwnershipAgenda No errors.
App\Entity\ThepropertyLot
  • The mappings App\Entity\ThepropertyLot#theproperty and App\Entity\TheProperty#thepropertyLots are inconsistent with each other.
App\Entity\RelookingSave
  • The association App\Entity\RelookingSave#artist refers to the inverse side field App\Entity\User#relookingSavesArtist which does not exist.
App\Entity\CoOwnershipTheProperty No errors.
App\Entity\CoOwnershipProposition No errors.
App\Entity\Portfolio No errors.
App\Entity\GardenProjectActionsLot No errors.
App\Entity\WorkArt No errors.
App\Entity\RentalManagement No errors.
App\Entity\RentalManagementLeave No errors.
App\Entity\UserPurchasePartnerRequest No errors.
App\Entity\PublicityUser No errors.
App\Entity\T3dDemands No errors.
App\Entity\ImoAgent\ImoAgentSolicitation No errors.
App\Entity\Plan\PlanSubscription No errors.
App\Entity\ClientSalesAgreement No errors.
App\Entity\Solicitation No errors.
App\Entity\AppointmentRequest No errors.
App\Entity\UserRating\UserRating No errors.
App\Entity\TimelineEvent No errors.
App\Entity\MarkofInterest No errors.
App\Entity\Plan\Plan No errors.
App\Entity\Plan\Invoice No errors.
App\Entity\EditRegisters No errors.
App\Entity\Registers
  • The field App\Entity\Registers#editRegisters is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\EditRegisters#registers does not contain the required 'mappedBy="editRegisters"' attribute.
  • If association App\Entity\Registers#editRegisters is many-to-one, then the inversed side App\Entity\EditRegisters#registers has to be one-to-many.
App\Entity\PermitProperty No errors.
App\Entity\AnnexPermitProperty No errors.
App\Entity\Plan\FeatureUsage No errors.

import entity manager

No loaded entities.