Redirect 302 redirect from GET @patient_cart_add (3451e1)

GET https://daroox.com/patient/cart/?url=patient%2Fcart%2F

Query Metrics

22 Database Queries
14 Different statements
47.71 ms Query time
3 Invalid entities

Queries

Group similar statements

# Time Info
1 0.53 ms
SELECT t0.username AS username_1, t0.username_canonical AS username_canonical_2, t0.email AS email_3, t0.email_canonical AS email_canonical_4, t0.enabled AS enabled_5, t0.salt AS salt_6, t0.password AS password_7, t0.last_login AS last_login_8, t0.confirmation_token AS confirmation_token_9, t0.password_requested_at AS password_requested_at_10, t0.roles AS roles_11, t0.id AS id_12, t0.full_name AS full_name_13, t0.code_melli AS code_melli_14, t0.mobile AS mobile_15, t0.mail AS mail_16, t0.insert_date AS insert_date_17, t0.api_key AS api_key_18, t0.pic_ext AS pic_ext_19, t0.updated_at AS updated_at_20, t0.medical_council_code AS medical_council_code_21, t0.drugstore_code AS drugstore_code_22, t0.drugstore_originator AS drugstore_originator_23, t0.drugstore_license AS drugstore_license_24, t0.drugstore_license_pic_ext AS drugstore_license_pic_ext_25, t0.drugstore_hix AS drugstore_hix_26, t0.drugstore_gln AS drugstore_gln_27, t0.birth_date AS birth_date_28, t0.status AS status_29, t0.is_male AS is_male_30, t0.is_information_complete AS is_information_complete_31, t0.description AS description_32, t0.operator_job_title AS operator_job_title_33, t0.auth_code AS auth_code_34, t0.trusted_version AS trusted_version_35, t0.balance AS balance_36, t0.operator_all_categories AS operator_all_categories_37, t0.operator_all_license_owners AS operator_all_license_owners_38, t0.cart_count AS cart_count_39, t0.city_id AS city_id_40, t0.type_id AS type_id_41 FROM user t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  16
]
2 8.03 ms
SELECT c0_.id AS id_0, c0_.type AS type_1, c0_.status AS status_2, c0_.send_type AS send_type_3, c0_.date_insert AS date_insert_4, c0_.date_drugstore_verify AS date_drugstore_verify_5, c0_.date_payment AS date_payment_6, c0_.date_delivery AS date_delivery_7, c0_.date_checkout AS date_checkout_8, c0_.sum_price AS sum_price_9, c0_.tariff_price AS tariff_price_10, c0_.courier_price AS courier_price_11, c0_.final_price AS final_price_12, c0_.description AS description_13, c0_.user_description AS user_description_14, c0_.address_text AS address_text_15, ST_AsBinary(c0_.address_position) AS address_position_16, c0_.address_phone AS address_phone_17, u1_.username AS username_18, u1_.username_canonical AS username_canonical_19, u1_.email AS email_20, u1_.email_canonical AS email_canonical_21, u1_.enabled AS enabled_22, u1_.salt AS salt_23, u1_.password AS password_24, u1_.last_login AS last_login_25, u1_.confirmation_token AS confirmation_token_26, u1_.password_requested_at AS password_requested_at_27, u1_.roles AS roles_28, u1_.id AS id_29, u1_.full_name AS full_name_30, u1_.code_melli AS code_melli_31, u1_.mobile AS mobile_32, u1_.mail AS mail_33, u1_.insert_date AS insert_date_34, u1_.api_key AS api_key_35, u1_.pic_ext AS pic_ext_36, u1_.updated_at AS updated_at_37, u1_.medical_council_code AS medical_council_code_38, u1_.drugstore_code AS drugstore_code_39, u1_.drugstore_originator AS drugstore_originator_40, u1_.drugstore_license AS drugstore_license_41, u1_.drugstore_license_pic_ext AS drugstore_license_pic_ext_42, u1_.drugstore_hix AS drugstore_hix_43, u1_.drugstore_gln AS drugstore_gln_44, u1_.birth_date AS birth_date_45, u1_.status AS status_46, u1_.is_male AS is_male_47, u1_.is_information_complete AS is_information_complete_48, u1_.description AS description_49, u1_.operator_job_title AS operator_job_title_50, u1_.auth_code AS auth_code_51, u1_.trusted_version AS trusted_version_52, u1_.balance AS balance_53, u1_.operator_all_categories AS operator_all_categories_54, u1_.operator_all_license_owners AS operator_all_license_owners_55, u1_.cart_count AS cart_count_56, c0_.address_city_id AS address_city_id_57, c0_.patient_id AS patient_id_58, c0_.drugstore_id AS drugstore_id_59, c0_.address_id AS address_id_60, c0_.deliver_type_id AS deliver_type_id_61, u1_.city_id AS city_id_62, u1_.type_id AS type_id_63 FROM cart c0_ INNER JOIN user u1_ ON c0_.drugstore_id = u1_.id WHERE c0_.patient_id = ? AND c0_.status = ? ORDER BY c0_.id DESC
Parameters:
[
  16
  0
]
3 7.07 ms
SELECT t0.id AS id_1, t0.price AS price_2, t0.`count` AS count_3, t0.sum_price AS sum_price_4, t0.description AS description_5, t0.respite AS respite_6, t0.award AS award_7, t0.date_expire AS date_expire_8, t0.cart_id AS cart_id_9, t0.item_id AS item_id_10 FROM cart_item t0 WHERE t0.cart_id = ?
Parameters:
[
  1838
]
4 7.36 ms
SELECT t0.id AS id_1, t0.sale_code AS sale_code_2, t0.exist AS exist_3, t0.last_percent_price AS last_percent_price_4, t0.last_custom_price AS last_custom_price_5, t0.broadcast_code AS broadcast_code_6, t0.broadcast_name AS broadcast_name_7, t0.respite AS respite_8, t0.award AS award_9, t0.date_expire AS date_expire_10, t0.date_update AS date_update_11, t0.inventory AS inventory_12, t0.item_id AS item_id_13, t0.drugstore_id AS drugstore_id_14 FROM item_drugstore t0 WHERE t0.item_id = ? AND t0.drugstore_id = ? LIMIT 1
Parameters:
[
  321083
  2
]
5 0.40 ms
SELECT t0.id AS id_1, t0.name_en AS name_en_2, t0.name_fa AS name_fa_3, t0.brand_en AS brand_en_4, t0.brand_fa AS brand_fa_5, t0.name_brand_en AS name_brand_en_6, t0.name_brand_fa AS name_brand_fa_7, t0.erx_code AS erx_code_8, t0.erx_code_base AS erx_code_base_9, t0.rx_behdasht AS rx_behdasht_10, t0.generic_code AS generic_code_11, t0.mother_code AS mother_code_12, t0.licence_owner AS licence_owner_13, t0.brand_owner AS brand_owner_14, t0.brand_owner_country AS brand_owner_country_15, t0.producer AS producer_16, t0.producer_country AS producer_country_17, t0.name_interactive AS name_interactive_18, t0.packing AS packing_19, t0.form AS form_20, t0.pregnancy_category AS pregnancy_category_21, t0.other AS other_22, t0.features AS features_23, t0.video_id AS video_id_24, t0.last_price AS last_price_25, t0.only_doctor_user AS only_doctor_user_26, t0.status AS status_27, t0.license_owner_id AS license_owner_id_28 FROM item t0 WHERE t0.id = ?
Parameters:
[
  321083
]
6 0.10 ms
"START TRANSACTION"
Parameters:
[]
7 7.76 ms
UPDATE cart SET sum_price = ?, courier_price = ?, final_price = ? WHERE id = ?
Parameters:
[
  "130800"
  "0"
  "130800"
  1838
]
8 0.24 ms
UPDATE cart_item SET price = ?, sum_price = ? WHERE id = ?
Parameters:
[
  "65400"
  "130800"
  1931
]
9 0.43 ms
"COMMIT"
Parameters:
[]
10 0.65 ms
SELECT c0_.id AS id_0, c0_.type AS type_1, c0_.status AS status_2, c0_.send_type AS send_type_3, c0_.date_insert AS date_insert_4, c0_.date_drugstore_verify AS date_drugstore_verify_5, c0_.date_payment AS date_payment_6, c0_.date_delivery AS date_delivery_7, c0_.date_checkout AS date_checkout_8, c0_.sum_price AS sum_price_9, c0_.tariff_price AS tariff_price_10, c0_.courier_price AS courier_price_11, c0_.final_price AS final_price_12, c0_.description AS description_13, c0_.user_description AS user_description_14, c0_.address_text AS address_text_15, ST_AsBinary(c0_.address_position) AS address_position_16, c0_.address_phone AS address_phone_17, u1_.username AS username_18, u1_.username_canonical AS username_canonical_19, u1_.email AS email_20, u1_.email_canonical AS email_canonical_21, u1_.enabled AS enabled_22, u1_.salt AS salt_23, u1_.password AS password_24, u1_.last_login AS last_login_25, u1_.confirmation_token AS confirmation_token_26, u1_.password_requested_at AS password_requested_at_27, u1_.roles AS roles_28, u1_.id AS id_29, u1_.full_name AS full_name_30, u1_.code_melli AS code_melli_31, u1_.mobile AS mobile_32, u1_.mail AS mail_33, u1_.insert_date AS insert_date_34, u1_.api_key AS api_key_35, u1_.pic_ext AS pic_ext_36, u1_.updated_at AS updated_at_37, u1_.medical_council_code AS medical_council_code_38, u1_.drugstore_code AS drugstore_code_39, u1_.drugstore_originator AS drugstore_originator_40, u1_.drugstore_license AS drugstore_license_41, u1_.drugstore_license_pic_ext AS drugstore_license_pic_ext_42, u1_.drugstore_hix AS drugstore_hix_43, u1_.drugstore_gln AS drugstore_gln_44, u1_.birth_date AS birth_date_45, u1_.status AS status_46, u1_.is_male AS is_male_47, u1_.is_information_complete AS is_information_complete_48, u1_.description AS description_49, u1_.operator_job_title AS operator_job_title_50, u1_.auth_code AS auth_code_51, u1_.trusted_version AS trusted_version_52, u1_.balance AS balance_53, u1_.operator_all_categories AS operator_all_categories_54, u1_.operator_all_license_owners AS operator_all_license_owners_55, u1_.cart_count AS cart_count_56, c0_.address_city_id AS address_city_id_57, c0_.patient_id AS patient_id_58, c0_.drugstore_id AS drugstore_id_59, c0_.address_id AS address_id_60, c0_.deliver_type_id AS deliver_type_id_61, u1_.city_id AS city_id_62, u1_.type_id AS type_id_63 FROM cart c0_ INNER JOIN user u1_ ON c0_.drugstore_id = u1_.id WHERE c0_.patient_id = ? AND c0_.status = ?
Parameters:
[
  16
  0
]
11 0.25 ms
SELECT t0.id AS id_1, t0.price AS price_2, t0.`count` AS count_3, t0.sum_price AS sum_price_4, t0.description AS description_5, t0.respite AS respite_6, t0.award AS award_7, t0.date_expire AS date_expire_8, t0.cart_id AS cart_id_9, t0.item_id AS item_id_10 FROM cart_item t0 WHERE t0.cart_id = ?
Parameters:
[
  1822
]
12 0.28 ms
SELECT t0.id AS id_1, t0.name_en AS name_en_2, t0.name_fa AS name_fa_3, t0.brand_en AS brand_en_4, t0.brand_fa AS brand_fa_5, t0.name_brand_en AS name_brand_en_6, t0.name_brand_fa AS name_brand_fa_7, t0.erx_code AS erx_code_8, t0.erx_code_base AS erx_code_base_9, t0.rx_behdasht AS rx_behdasht_10, t0.generic_code AS generic_code_11, t0.mother_code AS mother_code_12, t0.licence_owner AS licence_owner_13, t0.brand_owner AS brand_owner_14, t0.brand_owner_country AS brand_owner_country_15, t0.producer AS producer_16, t0.producer_country AS producer_country_17, t0.name_interactive AS name_interactive_18, t0.packing AS packing_19, t0.form AS form_20, t0.pregnancy_category AS pregnancy_category_21, t0.other AS other_22, t0.features AS features_23, t0.video_id AS video_id_24, t0.last_price AS last_price_25, t0.only_doctor_user AS only_doctor_user_26, t0.status AS status_27, t0.license_owner_id AS license_owner_id_28 FROM item t0 WHERE t0.id = ?
Parameters:
[
  73051
]
13 1.84 ms
SELECT t0.id AS id_1, t0.about_us AS about_us_2, t0.contact_us AS contact_us_3, t0.introduce AS introduce_4, t0.privacy_policy_ext AS privacy_policy_ext_5, t0.terms_and_conditions_ext AS terms_and_conditions_ext_6, t0.website_title AS website_title_7, t0.meta_description AS meta_description_8, t0.footer_description AS footer_description_9, t0.logo_ext AS logo_ext_10, t0.fav_icon_ext AS fav_icon_ext_11, t0.top_banner_ext AS top_banner_ext_12, t0.top_banner_link AS top_banner_link_13, t0.updated_at AS updated_at_14, t0.footer_column1_title AS footer_column1_title_15, t0.footer_column2_title AS footer_column2_title_16, t0.footer_column3_title AS footer_column3_title_17, t0.footer_column4_title AS footer_column4_title_18, t0.buy_without_login AS buy_without_login_19, t0.footer_social_instagram AS footer_social_instagram_20, t0.footer_social_whatsapp AS footer_social_whatsapp_21, t0.footer_social_telegram AS footer_social_telegram_22, t0.footer_social_twitter AS footer_social_twitter_23, t0.footer_script AS footer_script_24 FROM setting t0 LIMIT 1
Parameters:
[]
14 2.64 ms
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.code AS code_2, c0_.level AS level_3, c0_.pic_ext AS pic_ext_4, c0_.features AS features_5, c0_.raychat_code AS raychat_code_6, c0_.visible AS visible_7, c0_.updated_at AS updated_at_8, c1_.id AS id_9, c1_.name AS name_10, c1_.code AS code_11, c1_.level AS level_12, c1_.pic_ext AS pic_ext_13, c1_.features AS features_14, c1_.raychat_code AS raychat_code_15, c1_.visible AS visible_16, c1_.updated_at AS updated_at_17, c2_.id AS id_18, c2_.name AS name_19, c2_.code AS code_20, c2_.level AS level_21, c2_.pic_ext AS pic_ext_22, c2_.features AS features_23, c2_.raychat_code AS raychat_code_24, c2_.visible AS visible_25, c2_.updated_at AS updated_at_26, c0_.parent_id AS parent_id_27, c1_.parent_id AS parent_id_28, c2_.parent_id AS parent_id_29 FROM category c0_ LEFT JOIN category c1_ ON c0_.id = c1_.parent_id LEFT JOIN category c2_ ON c1_.id = c2_.parent_id WHERE c0_.parent_id IS NULL AND c0_.visible = ?
Parameters:
[
  1
]
15 0.42 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.link AS link_3, t0.type AS type_4, t0.position AS position_5, t0.order AS order_6, t0.page_id AS page_id_7, t0.category_id AS category_id_8, t0.parent_id AS parent_id_9 FROM menu t0 WHERE t0.parent_id IS NULL AND t0.position = ? ORDER BY t0.order ASC
Parameters:
[
  0
]
16 7.71 ms
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.code AS code_2, c0_.level AS level_3, c0_.pic_ext AS pic_ext_4, c0_.features AS features_5, c0_.raychat_code AS raychat_code_6, c0_.visible AS visible_7, c0_.updated_at AS updated_at_8, c1_.id AS id_9, c1_.name AS name_10, c1_.code AS code_11, c1_.level AS level_12, c1_.pic_ext AS pic_ext_13, c1_.features AS features_14, c1_.raychat_code AS raychat_code_15, c1_.visible AS visible_16, c1_.updated_at AS updated_at_17, c2_.id AS id_18, c2_.name AS name_19, c2_.code AS code_20, c2_.level AS level_21, c2_.pic_ext AS pic_ext_22, c2_.features AS features_23, c2_.raychat_code AS raychat_code_24, c2_.visible AS visible_25, c2_.updated_at AS updated_at_26, c0_.parent_id AS parent_id_27, c1_.parent_id AS parent_id_28, c2_.parent_id AS parent_id_29 FROM category c0_ LEFT JOIN category c1_ ON c0_.id = c1_.parent_id LEFT JOIN category c2_ ON c1_.id = c2_.parent_id WHERE c0_.parent_id IS NULL AND c0_.visible = ?
Parameters:
[
  1
]
17 0.44 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.link AS link_3, t0.type AS type_4, t0.position AS position_5, t0.order AS order_6, t0.page_id AS page_id_7, t0.category_id AS category_id_8, t0.parent_id AS parent_id_9 FROM menu t0 WHERE t0.parent_id IS NULL AND t0.position = ? ORDER BY t0.order ASC
Parameters:
[
  0
]
18 0.39 ms
SELECT t0.id AS id_1, t0.pic_ext AS pic_ext_2, t0.type AS type_3, t0.updated_at AS updated_at_4, t0.item_id AS item_id_5 FROM item_media t0 WHERE t0.item_id = ?
Parameters:
[
  321083
]
19 0.35 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.link AS link_3, t0.type AS type_4, t0.position AS position_5, t0.order AS order_6, t0.page_id AS page_id_7, t0.category_id AS category_id_8, t0.parent_id AS parent_id_9 FROM menu t0 WHERE t0.parent_id IS NULL AND t0.position = ? ORDER BY t0.order ASC
Parameters:
[
  1
]
20 0.29 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.link AS link_3, t0.type AS type_4, t0.position AS position_5, t0.order AS order_6, t0.page_id AS page_id_7, t0.category_id AS category_id_8, t0.parent_id AS parent_id_9 FROM menu t0 WHERE t0.parent_id IS NULL AND t0.position = ? ORDER BY t0.order ASC
Parameters:
[
  2
]
21 0.26 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.link AS link_3, t0.type AS type_4, t0.position AS position_5, t0.order AS order_6, t0.page_id AS page_id_7, t0.category_id AS category_id_8, t0.parent_id AS parent_id_9 FROM menu t0 WHERE t0.parent_id IS NULL AND t0.position = ? ORDER BY t0.order ASC
Parameters:
[
  3
]
22 0.26 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.link AS link_3, t0.type AS type_4, t0.position AS position_5, t0.order AS order_6, t0.page_id AS page_id_7, t0.category_id AS category_id_8, t0.parent_id AS parent_id_9 FROM menu t0 WHERE t0.parent_id IS NULL AND t0.position = ? ORDER BY t0.order ASC
Parameters:
[
  4
]

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
FOS\UserBundle\Model\User No errors.
App\Entity\User No errors.
App\Entity\City
  • The mappings App\Entity\City#carts and App\Entity\Cart#addressCity are inconsistent with each other.
App\Entity\DrugstoreType No errors.
App\Entity\Category No errors.
App\Entity\LicenseOwner No errors.
App\Entity\SMS No errors.
App\Entity\Address No errors.
App\Entity\ItemDrugstore No errors.
App\Entity\ItemUser No errors.
App\Entity\Cart
  • The mappings App\Entity\Cart#addressCity and App\Entity\City#addresses are inconsistent with each other.
App\Entity\MobileVerifyCode No errors.
App\Entity\PushNotification No errors.
App\Entity\Ticket No errors.
App\Entity\Log No errors.
App\Entity\Payment No errors.
App\Entity\BankAccount No errors.
App\Entity\Receipt No errors.
App\Entity\Transaction No errors.
App\Entity\SupplyDrugstore No errors.
App\Entity\DeliverType No errors.
App\Entity\CartItem No errors.
App\Entity\Item No errors.
App\Entity\ItemDrugstorePriceHistory No errors.
App\Entity\ShopSpecial No errors.
App\Entity\ItemBarcode No errors.
App\Entity\ItemIRC No errors.
App\Entity\ItemMedia No errors.
App\Entity\ItemPriceHistory No errors.
App\Entity\Setting No errors.
App\Entity\Menu
  • The association App\Entity\Menu#category refers to the inverse side field App\Entity\Category#menus which does not exist.
App\Entity\Page No errors.
App\Entity\Province No errors.
App\Entity\DrugstoreData No errors.
App\Entity\Template No errors.
App\Entity\TicketType No errors.
App\Entity\Article No errors.
App\Entity\SettingApp No errors.
App\Entity\Brand No errors.
App\Entity\Advertise No errors.
App\Entity\Vitrin No errors.
App\Entity\Contact No errors.
Vich\UploaderBundle\Entity\File No errors.