POST http://lasalleerp.com/api/check-customer-account

Query Metrics

8 Database Queries
8 Different statements
43.50 ms Query time
7 Invalid entities

Queries

Group similar statements

default connection

# Time Info
1 30.70 ms
SELECT c0_.id AS id_0, c0_.description AS description_1, c0_.email AS email_2, c0_.created_at AS created_at_3, c0_.first_name AS first_name_4, c0_.last_name AS last_name_5, c0_.address AS address_6, c0_.city AS city_7, c0_.phone AS phone_8, c0_.company_name AS company_name_9, c0_.address_indication AS address_indication_10, c0_.country AS country_11, c0_.post_code AS post_code_12, c0_.gender AS gender_13, c0_.date_of_birth AS date_of_birth_14, c0_.sponsorship_code AS sponsorship_code_15, c0_.image AS image_16, c0_.can_receive_mails AS can_receive_mails_17, c0_.can_receive_sms AS can_receive_sms_18, c0_.blind_password AS blind_password_19, c0_.deleted_at AS deleted_at_20, c0_.collect_address AS collect_address_21, c0_.shipping_address AS shipping_address_22, c0_.collect_lat AS collect_lat_23, c0_.collect_lng AS collect_lng_24, c0_.shipping_lng AS shipping_lng_25, c0_.code AS code_26, c0_.reference AS reference_27, c0_.identity_number AS identity_number_28, c0_.is_actif AS is_actif_29, c0_.customer_group_id AS customer_group_id_30, c0_.user_id AS user_id_31, c0_.vendor_id AS vendor_id_32, c0_.city_region_id AS city_region_id_33, c0_.store_id AS store_id_34 FROM customer c0_ LEFT JOIN product_subscription p1_ ON c0_.id = p1_.customer_id WHERE (c0_.reference = ? AND (c0_.is_actif IS NULL OR c0_.is_actif = 0) AND ? BETWEEN p1_.start_at AND p1_.end_at) AND (c0_.deleted_at IS NULL)
Parameters:
[
  "563987283053"
  "2025-04-04 17:16:34"
]
2 1.94 ms
SELECT t0.id AS id_1, t0.description AS description_2, t0.email AS email_3, t0.created_at AS created_at_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.address AS address_7, t0.city AS city_8, t0.phone AS phone_9, t0.company_name AS company_name_10, t0.address_indication AS address_indication_11, t0.country AS country_12, t0.post_code AS post_code_13, t0.gender AS gender_14, t0.date_of_birth AS date_of_birth_15, t0.sponsorship_code AS sponsorship_code_16, t0.image AS image_17, t0.can_receive_mails AS can_receive_mails_18, t0.can_receive_sms AS can_receive_sms_19, t0.blind_password AS blind_password_20, t0.deleted_at AS deleted_at_21, t0.collect_address AS collect_address_22, t0.shipping_address AS shipping_address_23, t0.collect_lat AS collect_lat_24, t0.collect_lng AS collect_lng_25, t0.shipping_lng AS shipping_lng_26, t0.code AS code_27, t0.reference AS reference_28, t0.identity_number AS identity_number_29, t0.is_actif AS is_actif_30, t0.customer_group_id AS customer_group_id_31, t0.user_id AS user_id_32, t0.vendor_id AS vendor_id_33, t0.city_region_id AS city_region_id_34, t0.store_id AS store_id_35 FROM customer t0 WHERE t0.reference = ? AND ((t0.deleted_at IS NULL)) LIMIT 1
Parameters:
[
  "563987283053"
]
3 3.17 ms
SELECT t0.id AS id_2, t0.created_at AS created_at_3, t0.description AS description_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.company_name AS company_name_7, t0.address AS address_8, t0.city AS city_9, t0.country AS country_10, t0.department AS department_11, t0.postcode AS postcode_12, t0.email AS email_13, t0.tel AS tel_14, t0.comment AS comment_15, t0.status AS status_16, t0.source AS source_17, t0.delivery_at AS delivery_at_18, t0.recovery_at AS recovery_at_19, t0.old_order_number AS old_order_number_20, t0.reduction AS reduction_21, t0.distance AS distance_22, t0.payed_amount AS payed_amount_23, t0.start_processing_at AS start_processing_at_24, t0.delivery_type AS delivery_type_25, t0.start_delivery_at AS start_delivery_at_26, t0.is_to_do AS is_to_do_27, t0.collect_address AS collect_address_28, t0.shipping_address AS shipping_address_29, t0.collect_tel AS collect_tel_30, t0.is_heavy AS is_heavy_31, t0.shipping_tips AS shipping_tips_32, t0.wallet_payment_amount AS wallet_payment_amount_33, t0.is_checked AS is_checked_34, t0.token_stripe AS token_stripe_35, t0.order_type AS order_type_36, t0.deleted_at AS deleted_at_37, t0.created_by AS created_by_38, t0.reference AS reference_39, t0.customer_id AS customer_id_40, t0.demande_fund_id AS demande_fund_id_41, t0.shipping_method_id AS shipping_method_id_42, t0.agent_id AS agent_id_43, t0.payment_method_id AS payment_method_id_44, t0.coupon_id AS coupon_id_45, t0.agent_to_do_id AS agent_to_do_id_46, t0.city_region_shipping_id AS city_region_shipping_id_47, t0.city_region_collect_id AS city_region_collect_id_48, t0.vendor_id AS vendor_id_49, t0.store_id AS store_id_50, t0.shipment_id AS shipment_id_51, t0.invoice_id AS invoice_id_52, t0.cash_box_order_id AS cash_box_order_id_53, t0.dtype, t1.type AS type_54 FROM `order` t0 LEFT JOIN document t1 ON t0.id = t1.id WHERE t0.customer_id = ? AND ((t0.deleted_at IS NULL)) LIMIT 1
Parameters:
[
  297
]
4 0.56 ms
"START TRANSACTION"
Parameters:
[]
5 1.93 ms
INSERT INTO visit (created_at, card_reference, manual, customer_id, store_id) VALUES (?, ?, ?, ?, ?)
Parameters:
[
  "2025-04-04 17:16:35"
  "563987283053"
  null
  297
  3
]
6 1.06 ms
"COMMIT"
Parameters:
[]
7 1.39 ms
SELECT t0.id AS id_1, t0.is_monday AS is_monday_2, t0.is_tuesday AS is_tuesday_3, t0.is_wednesday AS is_wednesday_4, t0.is_thursday AS is_thursday_5, t0.is_friday AS is_friday_6, t0.is_saturday AS is_saturday_7, t0.is_sunday AS is_sunday_8, t0.start_work_at AS start_work_at_9, t0.end_work_at AS end_work_at_10, t0.exclude_days AS exclude_days_11, t0.exclude_dates AS exclude_dates_12, t0.exclude_hours AS exclude_hours_13, t0.logo AS logo_14, t0.logo_base64 AS logo_base64_15, t0.favicon AS favicon_16, t0.email AS email_17, t0.address AS address_18, t0.currency AS currency_19, t0.default_lang AS default_lang_20, t0.project_name AS project_name_21, t0.code AS code_22, t0.asset_folder_name AS asset_folder_name_23, t0.mail_order_created_body AS mail_order_created_body_24, t0.mail_order_created_title AS mail_order_created_title_25, t0.prefix_order AS prefix_order_26, t0.root_url AS root_url_27, t0.description AS description_28, t0.is_mercure_enabled AS is_mercure_enabled_29, t0.front_theme_id AS front_theme_id_30 FROM settings t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  "main"
]

salle2 connection

# Time Info
1 2.76 ms
SELECT c.*
                    FROM customer c
                    LEFT JOIN product_subscription ps 
                        ON c.id = ps.customer_id
                    WHERE c.reference = ?
                    AND (c.is_actif IS NULL OR c.is_actif = 0)
                    AND ? BETWEEN ps.start_at AND ps.end_at
Parameters:
[
  "563987283053"
  "2025-04-04 17:16:35"
]

Database Connections

Name Service
default doctrine.dbal.default_connection
salle2 doctrine.dbal.salle2_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\Flexy\ShopBundle\Entity\Customer\Customer No errors.
App\Flexy\ShopBundle\Entity\Product\ProductSubscription No errors.
App\Flexy\ShopBundle\Entity\Customer\CustomerGroup No errors.
App\Entity\User No errors.
App\Flexy\ShopBundle\Entity\Vendor\Vendor No errors.
App\Flexy\ShopBundle\Entity\Shipping\CityRegion
  • The association App\Flexy\ShopBundle\Entity\Shipping\CityRegion#orders refers to the owning side field App\Flexy\ShopBundle\Entity\Order\Order#cityRegion which does not exist.
  • The association App\Flexy\ShopBundle\Entity\Shipping\CityRegion#stores refers to the owning side field App\Flexy\ShopBundle\Entity\Store\Store#�cityRegion which does not exist.
App\Flexy\ShopBundle\Entity\Store\Store
  • The mappings App\Flexy\ShopBundle\Entity\Store\Store#cityRegion and App\Flexy\ShopBundle\Entity\Shipping\CityRegion#stores are inconsistent with each other.
App\Flexy\ShopBundle\Entity\Order\Order
  • The mappings App\Flexy\ShopBundle\Entity\Order\Order#cityRegionShipping and App\Flexy\ShopBundle\Entity\Shipping\CityRegion#orders are inconsistent with each other.
App\Flexy\ShopBundle\Entity\Product\Comment No errors.
App\Flexy\ShopBundle\Entity\Customer\CustomerAddress No errors.
App\Flexy\ShopBundle\Entity\Customer\CustomerWalletPoint
  • The mappings App\Flexy\ShopBundle\Entity\Customer\CustomerWalletPoint#originInvoice and App\Flexy\ShopBundle\Entity\Accounting\Invoice#customerWalletPoints are inconsistent with each other.
App\Flexy\ShopBundle\Entity\Customer\PackEngagement No errors.
App\Flexy\ShopBundle\Entity\Promotion\Coupon No errors.
App\Flexy\ShopBundle\Entity\Shipping\Shipment No errors.
App\Flexy\ShopBundle\Entity\Payment\BankBookItem No errors.
App\Flexy\ShopBundle\Entity\Shipping\CashOnDelivery No errors.
App\Flexy\ShopBundle\Entity\Accounting\Invoice
  • The association App\Flexy\ShopBundle\Entity\Accounting\Invoice#customerWalletPoints refers to the owning side field App\Flexy\ShopBundle\Entity\Customer\CustomerWalletPoint#invoice which does not exist.
App\Flexy\ShopBundle\Entity\Customer\Complaint No errors.
App\Flexy\ShopBundle\Entity\Customer\Visit No errors.
App\Flexy\StockBundle\Entity\Document
  • The mappings App\Flexy\StockBundle\Entity\Document#cityRegionShipping and App\Flexy\ShopBundle\Entity\Shipping\CityRegion#orders are inconsistent with each other.
App\Flexy\ShopBundle\Entity\Order\DemandeFund No errors.
App\Flexy\ShopBundle\Entity\Shipping\ShippingMethod No errors.
App\Flexy\ShopBundle\Entity\Resource\Agent
  • The association App\Flexy\ShopBundle\Entity\Resource\Agent#agentObjective refers to the inverse side field App\Flexy\ShopBundle\Entity\Resource\AgentObjective#agent which does not exist.
App\Flexy\ShopBundle\Entity\Payment\PaymentMethod No errors.
App\Flexy\ShopBundle\Entity\Order\CashBoxOrder No errors.
App\Flexy\ShopBundle\Entity\Order\OrderItem No errors.
App\Flexy\ShopBundle\Entity\Order\Adjustment No errors.
App\Flexy\ShopBundle\Entity\Payment\Payment No errors.
App\Flexy\ShopBundle\Entity\Shipping\City No errors.
App\Entity\Settings No errors.
App\Entity\FrontTheme No errors.