GET https://dev.fitness-diet.tn/product/objectifs/shaker-700-ml-shaker

Query Metrics

38 Database Queries
23 Different statements
12.76 ms Query time
1 Invalid entities

Queries

Group similar statements

# Time Info
1 0.45 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.code_a_barre AS code_a_barre_4, t0.ordre AS ordre_5, t0.prix_achat AS prix_achat_6, t0.marge_vente AS marge_vente_7, t0.prix_vente AS prix_vente_8, t0.marge_remise AS marge_remise_9, t0.prix_promotion AS prix_promotion_10, t0.remise_gros AS remise_gros_11, t0.prix_gros AS prix_gros_12, t0.stock AS stock_13, t0.is_active AS is_active_14, t0.is_pack AS is_pack_15, t0.image AS image_16, t0.image_publicitaire AS image_publicitaire_17, t0.date_debut AS date_debut_18, t0.date_fin AS date_fin_19, t0.created_at AS created_at_20, t0.image_label AS image_label_21, t0.product_group_id AS product_group_id_22, t0.unit_detail_base_price_id AS unit_detail_base_price_id_23, t0.unit_detail_id AS unit_detail_id_24 FROM product t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "shaker-700-ml-shaker"
]
2 0.40 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.image AS image_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM category t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "objectifs"
]
3 0.44 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.code_a_barre AS code_a_barre_3, p0_.ordre AS ordre_4, p0_.prix_achat AS prix_achat_5, p0_.marge_vente AS marge_vente_6, p0_.prix_vente AS prix_vente_7, p0_.marge_remise AS marge_remise_8, p0_.prix_promotion AS prix_promotion_9, p0_.remise_gros AS remise_gros_10, p0_.prix_gros AS prix_gros_11, p0_.stock AS stock_12, p0_.is_active AS is_active_13, p0_.is_pack AS is_pack_14, p0_.image AS image_15, p0_.image_publicitaire AS image_publicitaire_16, p0_.date_debut AS date_debut_17, p0_.date_fin AS date_fin_18, p0_.created_at AS created_at_19, p0_.image_label AS image_label_20, p0_.product_group_id AS product_group_id_21, p0_.unit_detail_base_price_id AS unit_detail_base_price_id_22, p0_.unit_detail_id AS unit_detail_id_23 FROM product p0_ WHERE p0_.product_group_id = ? ORDER BY p0_.id ASC
Parameters:
[
  153
]
4 0.28 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.is_active AS is_active_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.created_at AS created_at_7, t0.brand_id AS brand_id_8, t0.unit_price_id AS unit_price_id_9 FROM product_group t0 WHERE t0.id = ?
Parameters:
[
  153
]
5 0.33 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.image AS image_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM category t0 INNER JOIN product_group_category ON t0.id = product_group_category.category_id WHERE product_group_category.product_group_id = ?
Parameters:
[
  153
]
6 0.26 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.seo_titre AS seo_titre_4, t0.seo_description AS seo_description_5, t0.image AS image_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM sub_category t0 INNER JOIN product_group_sub_category ON t0.id = product_group_sub_category.sub_category_id WHERE product_group_sub_category.product_group_id = ?
Parameters:
[
  153
]
7 0.22 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.slug AS slug_4, t0.image AS image_5, t0.seo_titre AS seo_titre_6, t0.seo_description AS seo_description_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM brand t0 WHERE t0.id = ?
Parameters:
[
  15
]
8 0.20 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.created_at AS created_at_4, t0.code_coleur AS code_coleur_5, t0.unite_id AS unite_id_6 FROM unite_detail t0 WHERE t0.id = ?
Parameters:
[
  2
]
9 0.23 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.type AS type_3, t0.position AS position_4, t0.created_at AS created_at_5, t0.is_price_unit AS is_price_unit_6 FROM unite t0 WHERE t0.id = ?
Parameters:
[
  1
]
10 0.19 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.created_at AS created_at_4, t0.code_coleur AS code_coleur_5, t0.unite_id AS unite_id_6 FROM unite_detail t0 WHERE t0.id = ?
Parameters:
[
  131
]
11 0.40 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.code_a_barre AS code_a_barre_3, p0_.ordre AS ordre_4, p0_.prix_achat AS prix_achat_5, p0_.marge_vente AS marge_vente_6, p0_.prix_vente AS prix_vente_7, p0_.marge_remise AS marge_remise_8, p0_.prix_promotion AS prix_promotion_9, p0_.remise_gros AS remise_gros_10, p0_.prix_gros AS prix_gros_11, p0_.stock AS stock_12, p0_.is_active AS is_active_13, p0_.is_pack AS is_pack_14, p0_.image AS image_15, p0_.image_publicitaire AS image_publicitaire_16, p0_.date_debut AS date_debut_17, p0_.date_fin AS date_fin_18, p0_.created_at AS created_at_19, p0_.image_label AS image_label_20, p0_.product_group_id AS product_group_id_21, p0_.unit_detail_base_price_id AS unit_detail_base_price_id_22, p0_.unit_detail_id AS unit_detail_id_23 FROM product p0_ WHERE p0_.is_active = ? AND p0_.stock > ? ORDER BY p0_.created_at DESC LIMIT 3
Parameters:
[
  1
  0
]
12 0.30 ms
SELECT t0.id AS id_1, t0.facteur_gain AS facteur_gain_2, t0.facteur_conversion AS facteur_conversion_3, t0.created_at AS created_at_4, t0.is_active AS is_active_5, t0.seuil_utilisation AS seuil_utilisation_6 FROM parametre_fidelite t0 WHERE t0.is_active = ? LIMIT 1
Parameters:
[
  1
]
13 0.23 ms
SELECT t0.id AS id_1, t0.free_shipping_from AS free_shipping_from_2, t0.tva_value AS tva_value_3, t0.timbre_fiscal AS timbre_fiscal_4, t0.card_payement_discount AS card_payement_discount_5 FROM setting t0 WHERE t0.id = ?
Parameters:
[
  1
]
14 0.27 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.adresse AS adresse_3, t0.whatsapp AS whatsapp_4, t0.mobile AS mobile_5, t0.fixe AS fixe_6, t0.facebook AS facebook_7, t0.linkedin AS linkedin_8, t0.youtube AS youtube_9, t0.instagram AS instagram_10, t0.email AS email_11, t0.image AS image_12, t0.created_at AS created_at_13, t0.tik_tok AS tik_tok_14, t0.email_commande AS email_commande_15, t0.gouvernorat_id AS gouvernorat_id_16, t0.citie_id AS citie_id_17, t0.town_id AS town_id_18 FROM entreprise t0 WHERE t0.id = ?
Parameters:
[
  1
]
15 0.32 ms
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.ordre AS ordre_2, c0_.image AS image_3, c0_.seo_titre AS seo_titre_4, c0_.seo_description AS seo_description_5, c0_.slug AS slug_6, c0_.is_active AS is_active_7, c0_.created_at AS created_at_8 FROM category c0_ WHERE c0_.is_active = 1 ORDER BY c0_.ordre ASC LIMIT 1
Parameters:
[]
16 0.23 ms
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.ordre AS ordre_2, s0_.seo_titre AS seo_titre_3, s0_.seo_description AS seo_description_4, s0_.image AS image_5, s0_.slug AS slug_6, s0_.is_active AS is_active_7, s0_.created_at AS created_at_8 FROM sub_category s0_ WHERE s0_.is_active = 1 ORDER BY s0_.ordre ASC LIMIT 2
Parameters:
[]
17 0.28 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.image AS image_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM category t0 INNER JOIN sub_category_category ON t0.id = sub_category_category.category_id WHERE sub_category_category.sub_category_id = ?
Parameters:
[
  3
]
18 0.25 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.image AS image_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM category t0 INNER JOIN sub_category_category ON t0.id = sub_category_category.category_id WHERE sub_category_category.sub_category_id = ?
Parameters:
[
  10
]
19 0.31 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.code_a_barre AS code_a_barre_3, p0_.ordre AS ordre_4, p0_.prix_achat AS prix_achat_5, p0_.marge_vente AS marge_vente_6, p0_.prix_vente AS prix_vente_7, p0_.marge_remise AS marge_remise_8, p0_.prix_promotion AS prix_promotion_9, p0_.remise_gros AS remise_gros_10, p0_.prix_gros AS prix_gros_11, p0_.stock AS stock_12, p0_.is_active AS is_active_13, p0_.is_pack AS is_pack_14, p0_.image AS image_15, p0_.image_publicitaire AS image_publicitaire_16, p0_.date_debut AS date_debut_17, p0_.date_fin AS date_fin_18, p0_.created_at AS created_at_19, p0_.image_label AS image_label_20, p0_.product_group_id AS product_group_id_21, p0_.unit_detail_base_price_id AS unit_detail_base_price_id_22, p0_.unit_detail_id AS unit_detail_id_23 FROM product p0_ WHERE p0_.is_active = 1 ORDER BY p0_.ordre ASC LIMIT 3
Parameters:
[]
20 0.36 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.image AS image_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM category t0 WHERE t0.is_active = ? ORDER BY t0.ordre ASC
Parameters:
[
  1
]
21 0.42 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.image AS image_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM category t0 WHERE t0.is_active = ? ORDER BY t0.ordre ASC
Parameters:
[
  1
]
22 0.31 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.seo_titre AS seo_titre_4, t0.seo_description AS seo_description_5, t0.image AS image_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM sub_category t0 INNER JOIN sub_category_category ON t0.id = sub_category_category.sub_category_id WHERE sub_category_category.category_id = ?
Parameters:
[
  7
]
23 0.34 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.seo_titre AS seo_titre_4, t0.seo_description AS seo_description_5, t0.image AS image_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM sub_category t0 INNER JOIN sub_category_category ON t0.id = sub_category_category.sub_category_id WHERE sub_category_category.category_id = ?
Parameters:
[
  1
]
24 0.30 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.seo_titre AS seo_titre_4, t0.seo_description AS seo_description_5, t0.image AS image_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM sub_category t0 INNER JOIN sub_category_category ON t0.id = sub_category_category.sub_category_id WHERE sub_category_category.category_id = ?
Parameters:
[
  8
]
25 0.28 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.image AS image_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM category t0 WHERE t0.is_active = ? ORDER BY t0.ordre ASC
Parameters:
[
  1
]
26 0.25 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.is_active AS is_active_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.created_at AS created_at_7, t0.brand_id AS brand_id_8, t0.unit_price_id AS unit_price_id_9 FROM product_group t0 WHERE t0.id = ?
Parameters:
[
  178
]
27 0.30 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.image AS image_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM category t0 INNER JOIN product_group_category ON t0.id = product_group_category.category_id WHERE product_group_category.product_group_id = ?
Parameters:
[
  178
]
28 0.25 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.seo_titre AS seo_titre_4, t0.seo_description AS seo_description_5, t0.image AS image_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM sub_category t0 INNER JOIN product_group_sub_category ON t0.id = product_group_sub_category.sub_category_id WHERE product_group_sub_category.product_group_id = ?
Parameters:
[
  178
]
29 0.21 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.is_active AS is_active_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.created_at AS created_at_7, t0.brand_id AS brand_id_8, t0.unit_price_id AS unit_price_id_9 FROM product_group t0 WHERE t0.id = ?
Parameters:
[
  142
]
30 0.25 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.image AS image_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM category t0 INNER JOIN product_group_category ON t0.id = product_group_category.category_id WHERE product_group_category.product_group_id = ?
Parameters:
[
  142
]
31 0.28 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.seo_titre AS seo_titre_4, t0.seo_description AS seo_description_5, t0.image AS image_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM sub_category t0 INNER JOIN product_group_sub_category ON t0.id = product_group_sub_category.sub_category_id WHERE product_group_sub_category.product_group_id = ?
Parameters:
[
  142
]
32 0.20 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.is_active AS is_active_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.created_at AS created_at_7, t0.brand_id AS brand_id_8, t0.unit_price_id AS unit_price_id_9 FROM product_group t0 WHERE t0.id = ?
Parameters:
[
  177
]
33 0.25 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.image AS image_4, t0.seo_titre AS seo_titre_5, t0.seo_description AS seo_description_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM category t0 INNER JOIN product_group_category ON t0.id = product_group_category.category_id WHERE product_group_category.product_group_id = ?
Parameters:
[
  177
]
34 0.25 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.ordre AS ordre_3, t0.seo_titre AS seo_titre_4, t0.seo_description AS seo_description_5, t0.image AS image_6, t0.slug AS slug_7, t0.is_active AS is_active_8, t0.created_at AS created_at_9 FROM sub_category t0 INNER JOIN product_group_sub_category ON t0.id = product_group_sub_category.sub_category_id WHERE product_group_sub_category.product_group_id = ?
Parameters:
[
  177
]
35 0.91 ms
SELECT f0_.id AS id_0, f0_.question AS question_1, f0_.answer AS answer_2, f0_.position AS position_3, f0_.is_active AS is_active_4, f0_.created_at AS created_at_5, f0_.updated_at AS updated_at_6 FROM faq f0_ WHERE f0_.is_active = ? ORDER BY f0_.position ASC, f0_.created_at DESC
Parameters:
[
  1
]
36 0.26 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.gouvernorat_id AS gouvernorat_id_3 FROM citie t0 WHERE t0.id = ?
Parameters:
[
  3
]
37 0.26 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.zip_code AS zip_code_3, t0.citie_id AS citie_id_4, t0.gouvernorat_id AS gouvernorat_id_5 FROM town t0 WHERE t0.id = ?
Parameters:
[
  105
]
38 1.49 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.frais_livraison AS frais_livraison_3 FROM gouvernorat t0 WHERE t0.id = ?
Parameters:
[
  1
]

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\Product
  • The field App\Entity\Product#usersWhoFavorited is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\User#favoriteProducts does not contain the required 'inversedBy="usersWhoFavorited"' attribute.
App\Entity\ProductGroup No errors.
App\Entity\UniteDetail No errors.
App\Entity\CodePromo No errors.
App\Entity\User No errors.
App\Entity\Category No errors.
App\Entity\SubCategory No errors.
App\Entity\Brand No errors.
App\Entity\Unite No errors.
App\Entity\ParametreFidelite No errors.
App\Entity\Setting No errors.
App\Entity\Entreprise No errors.
App\Entity\Gouvernorat No errors.
App\Entity\Citie No errors.
App\Entity\Town No errors.
App\Entity\Faq No errors.
App\Entity\OrdersAddress No errors.