https://baranovichi.test.dev.slivki.by/sushi-sety-skidka-yosushiirolly

Query Metrics

10 Database Queries
9 Different statements
49.57 ms Query time
21 Invalid entities

Queries

Group similar statements

site connection

# Time Info
1 22.74 ms
SELECT codes_by_period.offer_id, sum (case when codes_by_period.subscription_period_start_at is null then codes_by_period.codes_count when codes_by_period.previous_period_codes_count > :codesFromSameSubscription then 0 when (codes_by_period.previous_period_codes_count + codes_by_period.codes_count) <= :codesFromSameSubscription then codes_by_period.codes_count when (codes_by_period.codes_count - codes_by_period.previous_period_codes_count) > :codesFromSameSubscription then (:codesFromSameSubscription - codes_by_period.previous_period_codes_count) else codes_by_period.codes_count - codes_by_period.previous_period_codes_count end) as codes_count FROM (SELECT offer_order.offer_id, offer_order.user_id, offer_order.subscription_period_start_at, coalesce(previous_count.count_by_subscription, 0) as previous_period_codes_count, count(*) as codes_count FROM offer_code INNER JOIN offer_order offer_order ON offer_code.offer_order_id = offer_order.id LEFT JOIN (SELECT offer_order.offer_id, offer_order.user_id, offer_order.subscription_period_start_at, count(*) as count_by_subscription FROM offer_code INNER JOIN offer_order offer_order ON offer_code.offer_order_id = offer_order.id WHERE (offer_order.created_on < :dateFrom) AND ((offer_order.user_id, subscription_period_start_at) IN (SELECT DISTINCT offer_order.user_id, offer_order.subscription_period_start_at FROM offer_code INNER JOIN offer_order offer_order ON offer_code.offer_order_id = offer_order.id WHERE (offer_order.created_on between :dateFrom and :dateTo) AND (offer_order.subscription_period_start_at IS NOT NULL))) GROUP BY offer_order.offer_id, offer_order.user_id, offer_order.subscription_period_start_at) previous_count ON (previous_count.offer_id = offer_order.offer_id) AND (previous_count.user_id = offer_order.user_id) AND (previous_count.subscription_period_start_at = offer_order.subscription_period_start_at) WHERE offer_order.created_on between :dateFrom and :dateTo GROUP BY offer_order.offer_id, offer_order.user_id, offer_order.subscription_period_start_at, coalesce(previous_count.count_by_subscription, 0)) codes_by_period WHERE codes_by_period.offer_id = :offerId GROUP BY codes_by_period.offer_id
Parameters:
[
  "offerId" => 300143
  "dateFrom" => "2025-09-11 14:45:24"
  "dateTo" => "2025-09-12 14:45:24"
  "codesFromSameSubscription" => 0
]
2 17.99 ms
select offer_order_details.created_on from offer_order_details inner join offer_order on offer_order_details.offer_order_id = offer_order.id
          where offer_order.offer_id = 300143 and status > 0 and offer_order_details.created_on > now() + '-12 hours' order by offer_order_details.id desc limit 1
Parameters:
[]
3 0.76 ms
SELECT s0_.eligibility_rule AS eligibility_rule_0, s0_.id AS id_1 FROM server_feature_state s0_
Parameters:
[]
4 1.97 ms
SELECT c0_.type_id AS type_id_0, c0_.entity_id AS entity_id_1, c0_.parent_id AS parent_id_2, c0_.user_id AS user_id_3, c0_.created_on AS created_on_4, c0_.user_ip AS user_ip_5, c0_.hidden AS hidden_6, c0_.checked AS checked_7, c0_.deleted AS deleted_8, c0_.confirmed_phone AS confirmed_phone_9, c0_.seen_by_supplier AS seen_by_supplier_10, c0_.comment AS comment_11, c0_.admin_comment AS admin_comment_12, c0_.rating AS rating_13, c0_.taken_by_operator_on AS taken_by_operator_on_14, c0_.processed_by_operator_on AS processed_by_operator_on_15, c0_.telegram_notify_sent AS telegram_notify_sent_16, c0_.allow_to_contact AS allow_to_contact_17, c0_.mobile_version AS mobile_version_18, c0_.hidden_entity AS hidden_entity_19, c0_.id AS id_20, c1_.external_id AS external_id_21, c1_.created_on AS created_on_22, c1_.city_id AS city_id_23, c1_.email AS email_24, c1_.password AS password_25, c1_.accept_newsletter AS accept_newsletter_26, c1_.transition_id AS transition_id_27, c1_.first_name AS first_name_28, c1_.last_name AS last_name_29, c1_.phone AS phone_30, c1_.status AS status_31, c1_.balance AS balance_32, c1_.registered_from_utm_source AS registered_from_utm_source_33, c1_.token AS token_34, c1_.totally_unsubscribed AS totally_unsubscribed_35, c1_.seen_microphone_tooltip AS seen_microphone_tooltip_36, c1_.not_show_rate_popup_till AS not_show_rate_popup_till_37, c1_.geo_location_accepted AS geo_location_accepted_38, c1_.geo_location AS geo_location_39, c1_.telegram_id AS telegram_id_40, c1_.site_id AS site_id_41, c1_.manager_name AS manager_name_42, c1_.mogilev_mailing_bonus_used AS mogilev_mailing_bonus_used_43, c1_.gomel_mailing_bonus_used AS gomel_mailing_bonus_used_44, c1_.batch_codes_count AS batch_codes_count_45, c1_.money_balance AS money_balance_46, c1_.id AS id_47, c0_.parent_id AS parent_id_48, c0_.user_id AS user_id_49, c0_.operator_id AS operator_id_50, c1_.city_id AS city_id_51 FROM comment c0_ INNER JOIN customer c1_ ON c0_.user_id = c1_.id WHERE c0_.entity_id = ? AND c0_.hidden <> true AND c0_.parent_id IS NULL AND c0_.id < ? AND c0_.confirmed_phone = true ORDER BY c0_.created_on DESC LIMIT 20
Parameters:
[
  300143
  2147483647
]
5 1.47 ms
SELECT t0.created_on AS created_on_1, t0.email AS email_2, t0.status AS status_3, t0.id AS id_4, t0.referral_id AS referral_id_5, t0.user_balance_activity_id AS user_balance_activity_id_6, t0.referer_id AS referer_id_7 FROM referral t0 WHERE t0.referral_id = ?
Parameters:
[
  2112452
]
6 1.01 ms
SELECT t0.created_on AS created_on_1, t0.email AS email_2, t0.status AS status_3, t0.id AS id_4, t0.referral_id AS referral_id_5, t0.user_balance_activity_id AS user_balance_activity_id_6, t0.referer_id AS referer_id_7 FROM referral t0 WHERE t0.referral_id = ?
Parameters:
[
  1765060
]

admin connection

# Time Info
1 1.50 ms
SELECT o0_.title AS title_0, o0_.offer_id AS offer_id_1, o0_.id AS id_2 FROM offer_gallery_video_package o0_ WHERE o0_.offer_id = ?
Parameters:
[
  300143
]
2 0.91 ms
SELECT COUNT(*) FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('26')
Parameters:
[
  201890
]
3 0.68 ms
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.id AS id_10, t0.entity_id AS entity_id_11, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('26')
Parameters:
[
  201890
]
4 0.55 ms
SELECT t0.title AS title_1, t0.domain AS domain_2, t0.path AS path_3, t0.position AS position_4, t0.vimeo_id AS vimeo_id_5, t0.package_id AS package_id_6, t0.id AS id_7, t0.package_id AS package_id_8 FROM offer_gallery_video t0 WHERE t0.package_id = ?
Parameters:
[
  201890
]

subscription connection

No database queries were performed.

default connection

No database queries were performed.

Database Connections

Name Service
site doctrine.dbal.site_connection
admin doctrine.dbal.admin_connection
subscription doctrine.dbal.subscription_connection
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager
admin doctrine.orm.admin_entity_manager
subscription doctrine.orm.subscription_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

default entity manager

Class Mapping errors
Slivki\Entity\City No errors.
Slivki\Entity\PartnerMailingCampaignAction No errors.
Slivki\Entity\Seo No errors.
Slivki\Entity\Banner\AbstractBannerBase No errors.
Slivki\Entity\Banner\AbstractMobileAppBanner
  • Entity class 'Slivki\Entity\Banner\AbstractMobileAppBanner' is part of inheritance hierarchy, but is not mapped in the root entity 'Slivki\Entity\Banner\AbstractBannerBase' discriminator map. All subclasses must be listed in the discriminator map.
Slivki\Entity\Banner No errors.
Slivki\Entity\Media\AbstractMediaBase No errors.
Slivki\Entity\Media No errors.
Slivki\Entity\ServerFeatureState No errors.
Slivki\Entity\Offer
  • The mappings Slivki\Entity\Offer#shareClick and Slivki\Entity\OfferShareClick#offer are inconsistent with each other.
  • The association Slivki\Entity\Offer#phoneCoverClick refers to the owning side field Slivki\Entity\PhoneCoverClick#offer which does not exist.
  • The mappings Slivki\Entity\Offer#teaserMedias and Slivki\Entity\Media\OfferTeaserMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#mobileTeaserMedias and Slivki\Entity\Media\OfferMobileTeaserMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#appTeaserMedias and Slivki\Entity\Media\OfferAppTeaserMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#topBlockMedias and Slivki\Entity\Media\OfferTopBlockMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#topBlockMobileMedias and Slivki\Entity\Media\OfferTopBlockMobileMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#mailingTeaserMedias and Slivki\Entity\Media\OfferMailingTeaserMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#giftCertificatePdfBgMedias and Slivki\Entity\Media\GiftCertificatePdfBgMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#supplierPhotoMedias and Slivki\Entity\Media\OfferSupplierPhotoMedia#offer are inconsistent with each other.
  • The mappings Slivki\Entity\Offer#creator and Slivki\Entity\User#createdOffers are inconsistent with each other.
Slivki\Entity\SiteSettings No errors.
Slivki\Entity\Comment No errors.
Slivki\Entity\User
  • The association Slivki\Entity\User#offerOrderDetails refers to the owning side field Slivki\Entity\OfferOrderDetails#user which does not exist.
  • The association Slivki\Entity\User#createdOffers refers to the owning side field Slivki\Entity\Offer#user which does not exist.
  • The association Slivki\Entity\User#createdSales refers to the owning side field Slivki\Entity\Sale#user which does not exist.
  • The mappings Slivki\Entity\User#shareClick and Slivki\Entity\AbstractShareClick#user are inconsistent with each other.
  • The association Slivki\Entity\User#shareClick is ordered by a foreign field sortOrder that is not a field on the target entity Slivki\Entity\AbstractShareClick.
Slivki\Entity\CommentLike No errors.
Slivki\Entity\Media\CommentMedia No errors.
Slivki\Entity\Referral No errors.
Slivki\Entity\UserBalanceActivity No errors.
Slivki\Entity\SocialAccount No errors.
Slivki\Entity\AbstractOrderBase
  • The field Slivki\Entity\AbstractOrderBase#offerCodes is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Slivki\Entity\OfferCode#offerOrder does not contain the required 'inversedBy="offerCodes"' attribute.
Slivki\Entity\OfferOrder
  • The field Slivki\Entity\OfferOrder#offerCodes is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Slivki\Entity\OfferCode#offerOrder does not contain the required 'inversedBy="offerCodes"' attribute.
Slivki\Entity\OfferOrderDetails No errors.
Slivki\Entity\UserPhone No errors.
Slivki\Entity\UserActivity No errors.
Slivki\Entity\Visit No errors.
Slivki\Entity\UserProperty No errors.
Slivki\Entity\FavouriteCategory No errors.
Slivki\Entity\Director
  • The field Slivki\Entity\Director#infoPages is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Slivki\Entity\InfoPage#director does not contain the required 'inversedBy="infoPages"' attribute.
Slivki\Entity\Media\ProfileImageMedia No errors.
Slivki\Entity\Sale
  • The mappings Slivki\Entity\Sale#creator and Slivki\Entity\User#createdSales are inconsistent with each other.
  • If association Slivki\Entity\Sale#creator is one-to-one, then the inversed side Slivki\Entity\User#createdSales has to be one-to-one as well.
  • The mappings Slivki\Entity\Sale#shareClick and Slivki\Entity\SaleShareClick#sale are inconsistent with each other.
  • The field Slivki\Entity\Sale#offerCategories is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Slivki\Entity\Category#sales does not contain the required 'inversedBy="offerCategories"' attribute.
Slivki\Entity\AbstractShareClick
  • The association Slivki\Entity\AbstractShareClick#user refers to the inverse side field Slivki\Entity\User#email which is not defined as association.
  • The association Slivki\Entity\AbstractShareClick#user refers to the inverse side field Slivki\Entity\User#email which does not exist.
Slivki\Entity\SaleProductBasket No errors.
Slivki\Entity\AuthToken No errors.
Slivki\Entity\UserAddress No errors.
Slivki\Entity\SubscriptionPlanUserRelation No errors.
Slivki\Entity\UserGroup No errors.
Slivki\Entity\MailingCampaignType No errors.
Slivki\Entity\CreditCard No errors.
Slivki\Entity\AbstractCategoryBase No errors.
Slivki\Entity\Category
  • The field Slivki\Entity\Category#brandingBanners is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Slivki\Entity\BrandingBanner#categories does not contain the required 'inversedBy="brandingBanners"' attribute.
Slivki\Entity\CityArea No errors.
Slivki\Entity\TopSale No errors.
Slivki\Entity\Mall No errors.
Slivki\Entity\BrandingBanner No errors.
Slivki\Entity\SearchBanner No errors.
Slivki\Entity\MediaSize No errors.
Slivki\Entity\MediaType No errors.
Slivki\Entity\EntityDescription No errors.
Slivki\Entity\OfferShareClick
  • The association Slivki\Entity\OfferShareClick#user refers to the inverse side field Slivki\Entity\User#email which is not defined as association.
  • The association Slivki\Entity\OfferShareClick#user refers to the inverse side field Slivki\Entity\User#email which does not exist.
  • The association Slivki\Entity\OfferShareClick#offer refers to the inverse side field Slivki\Entity\Offer#title which is not defined as association.
  • The association Slivki\Entity\OfferShareClick#offer refers to the inverse side field Slivki\Entity\Offer#title which does not exist.
Slivki\Entity\PhoneCoverClick No errors.
Slivki\Entity\ProductFastDelivery No errors.
Slivki\Entity\OfferDeliveryZone No errors.
Slivki\Entity\OfferFoodDeliveryZone No errors.
Slivki\Entity\AbstractCodePoolBase No errors.
Slivki\Entity\OfferCodePool No errors.
Slivki\Entity\PhoneNumber No errors.
Slivki\Entity\GiftCertificate No errors.
Slivki\Entity\OfferExtension No errors.
Slivki\Entity\Media\OfferTeaserMedia
  • The association Slivki\Entity\Media\OfferTeaserMedia#offer refers to the inverse side field Slivki\Entity\Offer#teaserMedia which does not exist.
Slivki\Entity\Media\OfferMobileTeaserMedia
  • The association Slivki\Entity\Media\OfferMobileTeaserMedia#offer refers to the inverse side field Slivki\Entity\Offer#mobileTeaserMedia which does not exist.
Slivki\Entity\Media\OfferAppTeaserMedia
  • The association Slivki\Entity\Media\OfferAppTeaserMedia#offer refers to the inverse side field Slivki\Entity\Offer#appTeaserMedia which does not exist.
Slivki\Entity\Media\OfferTopBlockMedia
  • The association Slivki\Entity\Media\OfferTopBlockMedia#offer refers to the inverse side field Slivki\Entity\Offer#topBlockMedia which does not exist.
Slivki\Entity\Media\OfferTopBlockMobileMedia
  • The association Slivki\Entity\Media\OfferTopBlockMobileMedia#offer refers to the inverse side field Slivki\Entity\Offer#topBlockMobileMedia which does not exist.
Slivki\Entity\Media\OfferMailingTeaserMedia
  • The association Slivki\Entity\Media\OfferMailingTeaserMedia#offer refers to the inverse side field Slivki\Entity\Offer#mailingTeaserMedia which does not exist.
Slivki\Entity\OnlineOrderSettings No errors.
Slivki\Entity\Media\OnlineOrderPopupLogoMedia No errors.
Slivki\Entity\Media\GiftCertificatePdfBgMedia
  • The association Slivki\Entity\Media\GiftCertificatePdfBgMedia#offer refers to the inverse side field Slivki\Entity\Offer#giftCertificatePdfBgMedia which does not exist.
Slivki\Entity\Media\OfferMapLogoMedia No errors.
Slivki\Entity\Media\OfferDeliveryZoneMedia No errors.
Slivki\Entity\Media\OfferSupplierPhotoMedia
  • The association Slivki\Entity\Media\OfferSupplierPhotoMedia#offer refers to the inverse side field Slivki\Entity\Offer#offerSupplierPhotoMedia which does not exist.
Slivki\Entity\BankCurrency No errors.
Slivki\Entity\AbstractGeoLocationBase No errors.
Slivki\Entity\GeoLocation
  • The field Slivki\Entity\GeoLocation#offers is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Slivki\Entity\Offer#geoLocations does not contain the required 'inversedBy="offers"' attribute.
  • The field Slivki\Entity\GeoLocation#giftCertificate is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Slivki\Entity\GiftCertificate#geoLocations does not contain the required 'inversedBy="giftCertificate"' attribute.
Slivki\Entity\AntiTag No errors.
Slivki\Entity\UserBalanceActivityType No errors.
Slivki\Entity\Booking No errors.
Slivki\Entity\OfferCode No errors.
Slivki\Entity\OfferExtensionVariant No errors.
Slivki\Entity\GiftCertificateData No errors.
Slivki\Entity\TireSchedule No errors.
Slivki\Entity\InfoPage No errors.
Slivki\Entity\Media\DirectorMapLogo No errors.
Slivki\Entity\Media\DirectorOnlinePaymentLogoMedia No errors.
Slivki\Entity\SaleVersion
  • The field Slivki\Entity\SaleVersion#descriptions is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Slivki\Entity\SaleDescription#saleVersion does not contain the required 'inversedBy="descriptions"' attribute.
  • The field Slivki\Entity\SaleVersion#loadMoreBtnDescriptions is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Slivki\Entity\SaleLoadMoreBtnDescription#saleVersion does not contain the required 'inversedBy="loadMoreBtnDescriptions"' attribute.
Slivki\Entity\SaleShareClick
  • The association Slivki\Entity\SaleShareClick#user refers to the inverse side field Slivki\Entity\User#email which is not defined as association.
  • The association Slivki\Entity\SaleShareClick#user refers to the inverse side field Slivki\Entity\User#email which does not exist.
  • The association Slivki\Entity\SaleShareClick#sale refers to the inverse side field Slivki\Entity\Sale#title which is not defined as association.
  • The association Slivki\Entity\SaleShareClick#sale refers to the inverse side field Slivki\Entity\Sale#title which does not exist.
Slivki\Entity\SaleProductBasketDetails No errors.
Slivki\Entity\Street No errors.
Slivki\Entity\SubscriptionPlan No errors.
Slivki\Entity\Media\CategoryMobileMenuIconMedia No errors.
Slivki\Entity\Media\CategoryAppIconMedia No errors.
Slivki\Entity\Media\CategoryMapPinIconMedia No errors.
Slivki\Entity\CategoryType No errors.

admin entity manager

Class Mapping errors
Slivki\Entity\OfferGalleryVideoPackage No errors.
Slivki\Entity\Media\AbstractMediaBase No errors.
Slivki\Entity\Media\OfferGalleryVideoPackagePreviewMedia No errors.
Slivki\Entity\OfferGalleryVideo No errors.
Slivki\Entity\MediaSize No errors.

subscription entity manager

No loaded entities.