Query Metrics

31 Database Queries
20 Different statements
63.47 ms Query time
7 Invalid entities

Queries

Group similar statements

default connection

# Time Info
1 1.51 ms
SELECT t0.id_lang AS id_lang_1, t0.name AS name_2, t0.active AS active_3, t0.iso_code AS iso_code_4, t0.language_code AS language_code_5, t0.date_format_lite AS date_format_lite_6, t0.date_format_full AS date_format_full_7, t0.dictionary AS dictionary_8, t0.currency_format AS currency_format_9, t0.iso_code_real AS iso_code_real_10, t0.name_english AS name_english_11 FROM ps_lang t0 WHERE t0.iso_code = ? LIMIT 1
Parameters:
[
  "sv"
]
2 0.35 ms
SELECT DATABASE()
Parameters:
[]
3 1.42 ms
SELECT p0_.id AS id_0, p0_.meta_title AS meta_title_1, p0_.meta_description AS meta_description_2, p0_.name AS name_3, p0_.meta_keywords AS meta_keywords_4, p0_.content AS content_5, p0_.link_rewrite AS link_rewrite_6, p0_.redirect AS redirect_7, p0_.id_cms AS id_cms_8, p0_.id_lang AS id_lang_9 FROM ps_cms_lang p0_ INNER JOIN ps_cms p1_ ON p0_.id_cms = p1_.id_cms WHERE p0_.link_rewrite = ? AND p0_.id_lang = ?
Parameters:
[
  "reservera-produkter.html"
  27
]
4 1.07 ms
SELECT t0.id_cms AS id_cms_1, t0.id_cms_block AS id_cms_block_2, t0.position AS position_3, t0.tpl AS tpl_4, t0.mainNavLinkActive AS mainNavLinkActive_5, t0.facebook_img AS facebook_img_6, t0.notes AS notes_7, t0.legacy AS legacy_8, t0.active AS active_9 FROM ps_cms t0 WHERE t0.id_cms = ?
Parameters:
[
  36
]
5 0.74 ms
SELECT p0_.id_lang AS id_lang_0, p1_.link_rewrite AS link_rewrite_1 FROM ps_cms_lang p1_ INNER JOIN ps_lang p0_ ON p1_.id_lang = p0_.id_lang WHERE p1_.id_cms = ?
Parameters:
[
  36
]
6 1.30 ms
SELECT t0.id_lang AS id_lang_1, t0.name AS name_2, t0.active AS active_3, t0.iso_code AS iso_code_4, t0.language_code AS language_code_5, t0.date_format_lite AS date_format_lite_6, t0.date_format_full AS date_format_full_7, t0.dictionary AS dictionary_8, t0.currency_format AS currency_format_9, t0.iso_code_real AS iso_code_real_10, t0.name_english AS name_english_11 FROM ps_lang t0
Parameters:
[]
7 9.42 ms
SELECT p0_.id_cms AS sclr_0, p1_.id_lang AS id_lang_1, p0_.link_rewrite AS link_rewrite_2 FROM ps_cms_lang p0_ INNER JOIN ps_lang p1_ ON p0_.id_lang = p1_.id_lang
Parameters:
[]
8 0.22 ms
"START TRANSACTION"
Parameters:
[]
9 0.46 ms
INSERT INTO ps_customer_stats (id_customer, id_lang, url_referer, gadw_matchtype, gadw_network, gadw_keyword, utm_source, utm_medium, utm_campaign, data, date, gclid, fblid, default_user_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  null
  27
  null
  null
  null
  null
  null
  null
  null
  null
  "2025-02-27 02:34:03"
  null
  null
  1
]
10 8.62 ms
"COMMIT"
Parameters:
[]
11 0.40 ms
SELECT t0.id_lang AS id_lang_1, t0.name AS name_2, t0.active AS active_3, t0.iso_code AS iso_code_4, t0.language_code AS language_code_5, t0.date_format_lite AS date_format_lite_6, t0.date_format_full AS date_format_full_7, t0.dictionary AS dictionary_8, t0.currency_format AS currency_format_9, t0.iso_code_real AS iso_code_real_10, t0.name_english AS name_english_11 FROM ps_lang t0 WHERE t0.iso_code = ? LIMIT 1
Parameters:
[
  "sv"
]
12 2.55 ms
SELECT t0.id_lang AS id_lang_1, t0.name AS name_2, t0.active AS active_3, t0.iso_code AS iso_code_4, t0.language_code AS language_code_5, t0.date_format_lite AS date_format_lite_6, t0.date_format_full AS date_format_full_7, t0.dictionary AS dictionary_8, t0.currency_format AS currency_format_9, t0.iso_code_real AS iso_code_real_10, t0.name_english AS name_english_11 FROM ps_lang t0 WHERE t0.iso_code = ? LIMIT 1
Parameters:
[
  "sv"
]
13 2.59 ms
SELECT m0_.id AS id_0, m0_.parent AS sclr_1, m0_.link_type AS link_type_2, m0_.link_value AS link_value_3, m0_.tag AS tag_4, m0_.number_columns AS number_columns_5, m0_.colspan AS colspan_6, m0_.additional AS additional_7, m0_.icon AS icon_8, m0_.target AS target_9, IF(m1_.title IS NULL OR m1_.title = '', IF(m2_.title IS NULL OR m2_.title = '', IF(m3_.title IS NULL OR m3_.title = '', '', m3_.title), m2_.title), m1_.title) AS sclr_10, IF(m1_.subtitle IS NULL OR m1_.subtitle = '', IF(m2_.subtitle IS NULL OR m2_.subtitle = '', IF(m3_.subtitle IS NULL OR m3_.subtitle = '', '', m3_.subtitle), m2_.subtitle), m1_.subtitle) AS sclr_11 FROM menu_item m0_ LEFT JOIN menu_item_lang m1_ ON m0_.id = m1_.menu_item_id AND (m1_.language_id = ?) LEFT JOIN menu_item_lang m2_ ON m0_.id = m2_.menu_item_id AND (m2_.language_id = 1) LEFT JOIN menu_item_lang m3_ ON m0_.id = m3_.menu_item_id AND (m3_.language_id = 4) WHERE m0_.menu_id = ? AND m0_.visibility = ? ORDER BY m0_.position ASC
Parameters:
[
  27
  1
  1
]
14 0.51 ms
SELECT t0.id AS id_1, t0.link_type AS link_type_2, t0.link_value AS link_value_3, t0.position AS position_4, t0.tag AS tag_5, t0.icon AS icon_6, t0.number_columns AS number_columns_7, t0.visibility AS visibility_8, t0.colspan AS colspan_9, t0.target AS target_10, t0.additional AS additional_11, t0.menu_id AS menu_id_12, t0.parent AS parent_13 FROM menu_item t0 WHERE t0.link_value = ? AND t0.menu_id = ? AND t0.visibility = ? LIMIT 1
Parameters:
[
  36
  1
  1
]
15 2.33 ms
SELECT p0_.id_lang AS id_lang_0, p0_.name AS name_1, p0_.iso_code AS iso_code_2, p0_.iso_code_real AS iso_code_real_3 FROM ps_lang p0_ WHERE p0_.active = 1
Parameters:
[]
16 2.42 ms
SELECT t0.id_configuration AS id_configuration_1, t0.name AS name_2, t0.value AS value_3 FROM ps_configuration t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
  "LOGO_NAVIDAD"
]
17 0.41 ms
SELECT t0.id_lang AS id_lang_1, t0.name AS name_2, t0.active AS active_3, t0.iso_code AS iso_code_4, t0.language_code AS language_code_5, t0.date_format_lite AS date_format_lite_6, t0.date_format_full AS date_format_full_7, t0.dictionary AS dictionary_8, t0.currency_format AS currency_format_9, t0.iso_code_real AS iso_code_real_10, t0.name_english AS name_english_11 FROM ps_lang t0 WHERE t0.iso_code = ? LIMIT 1
Parameters:
[
  "sv"
]
18 2.24 ms
SELECT t0.id_lang AS id_lang_1, t0.name AS name_2, t0.active AS active_3, t0.iso_code AS iso_code_4, t0.language_code AS language_code_5, t0.date_format_lite AS date_format_lite_6, t0.date_format_full AS date_format_full_7, t0.dictionary AS dictionary_8, t0.currency_format AS currency_format_9, t0.iso_code_real AS iso_code_real_10, t0.name_english AS name_english_11 FROM ps_lang t0 WHERE t0.iso_code = ? LIMIT 1
Parameters:
[
  "sv"
]
19 1.00 ms
SELECT m0_.id AS id_0, m0_.parent AS sclr_1, m0_.link_type AS link_type_2, m0_.link_value AS link_value_3, m0_.tag AS tag_4, m0_.number_columns AS number_columns_5, m0_.colspan AS colspan_6, m0_.additional AS additional_7, m0_.icon AS icon_8, m0_.target AS target_9, IF(m1_.title IS NULL OR m1_.title = '', IF(m2_.title IS NULL OR m2_.title = '', IF(m3_.title IS NULL OR m3_.title = '', '', m3_.title), m2_.title), m1_.title) AS sclr_10, IF(m1_.subtitle IS NULL OR m1_.subtitle = '', IF(m2_.subtitle IS NULL OR m2_.subtitle = '', IF(m3_.subtitle IS NULL OR m3_.subtitle = '', '', m3_.subtitle), m2_.subtitle), m1_.subtitle) AS sclr_11 FROM menu_item m0_ LEFT JOIN menu_item_lang m1_ ON m0_.id = m1_.menu_item_id AND (m1_.language_id = ?) LEFT JOIN menu_item_lang m2_ ON m0_.id = m2_.menu_item_id AND (m2_.language_id = 1) LEFT JOIN menu_item_lang m3_ ON m0_.id = m3_.menu_item_id AND (m3_.language_id = 4) WHERE m0_.menu_id = ? AND m0_.visibility = ? ORDER BY m0_.position ASC
Parameters:
[
  27
  2
  1
]
20 0.32 ms
SELECT p0_.id_lang AS id_lang_0, p0_.name AS name_1, p0_.iso_code AS iso_code_2, p0_.iso_code_real AS iso_code_real_3 FROM ps_lang p0_ WHERE p0_.active = 1
Parameters:
[]

legacy connection

# Time Info
1 0.55 ms
SELECT * FROM `ps_lang` WHERE iso_code = :iso_code AND active = 1
Parameters:
[
  ":iso_code" => "sv"
]
2 1.49 ms
SELECT value FROM ps_configuration WHERE name = :name
Parameters:
[
  ":name" => "MAINTENANCE_IPS"
]
3 0.25 ms
SELECT value FROM ps_configuration WHERE name = :name
Parameters:
[
  ":name" => "MAINTENANCE"
]
4 0.25 ms
SELECT iso_code FROM `ps_lang` WHERE id_lang = :id_lang AND active = 1
Parameters:
[
  ":id_lang" => 27
]
5 12.10 ms
SELECT cp.internal_reference, i.id_image, i.name AS image_name, pl.name, pl.description, p.price,p.wholesale_price, cp.quantity, (p.weight+ IFNULL(pa.weight, 0)) AS weight, p.width, p.height, p.depth, 
                       p.ean13, IFNULL(p.upc , "") upc, p.cache_is_pack, ROUND((sp.reduction * 100) / p.price) AS percentage_discount, sp.reduction AS money_discount, p.delay,
                       cp.quantity AS quantity_total, p.is_virtual, p.id_category_default, p.active, p.reference AS parent_reference,
                        cp.id_product, cp.id_product_attribute, cp.id_cart_product, sp.reduction, cp.future_stock, cp.purchase_order, cp.id_purchase_line,
                        GROUP_CONCAT(DISTINCT a.name ORDER BY a.id_attribute SEPARATOR ", ") AS attribute_name, p.id_supplier, p.id_taxonomy_default, 
                        p.id_tax, COALESCE(t.rate, 21) AS tax_rate, COALESCE(tl.name, "IVA 20%") AS tax_name, COALESCE(pa.reference, p.reference) AS reference, cp.locks, p.id_category_default, 
                        pl.name AS default_name, txl.name AS default_category_name, p.producto_electronico, cp.extern_stock, cp.extern_stock_3_5, p.estimate_cost_price, psa.id_warehouse, pw.allow_fulfillment
                FROM ps_cart c 
                LEFT JOIN ps_cart_product cp 
                    ON c.id_cart = cp.id_cart 
                LEFT JOIN ps_product p 
                    ON p.id_product = cp.id_product 
                LEFT JOIN ps_product_lang_sv pl 
                    ON pl.id_product = p.id_product 
                LEFT JOIN ps_image AS i 
                    ON p.id_product = i.id_product 
                LEFT JOIN ps_specific_price sp 
                    ON sp.id_product = p.id_product 
                LEFT JOIN ps_product_attribute AS pa 
                    ON pa.id_product_attribute = cp.id_product_attribute
                LEFT JOIN ps_product_attribute_combination AS pac 
                    ON pac.id_product_attribute = cp.id_product_attribute 
                LEFT JOIN ps_attribute AS a 
                    ON a.id_attribute = pac.id_attribute AND (a.id_lang = :id_lang OR a.id_lang IS NULL)
                INNER JOIN ps_stock_available AS psa ON psa.id_product = cp.id_product AND psa.id_product_attribute = cp.id_product_attribute
                INNER JOIN ps_warehouse AS pw ON psa.id_warehouse = pw.id
                LEFT JOIN ps_tax_rule AS ptr ON ptr.id_tax_rules_group = p.id_tax AND ptr.country_origin = pw.country AND ptr.id_country = :id_shipping_country
                LEFT JOIN ps_tax t ON t.id_tax = ptr.id_tax
                LEFT JOIN ps_tax_lang AS tl ON ptr.id_tax = tl.id_tax AND (tl.id_lang = :id_lang OR tl.id_lang = 1)
                LEFT JOIN taxonomy_lang AS txl ON txl.id_taxonomy = p.id_taxonomy_default AND (txl.id_lang = :id_lang OR txl.id_lang IS NULL)
                WHERE c.id_cart = :id_cart
                  AND sp.from_quantity <= 1 
                  AND (i.cover = 1 OR i.id_image IS NULL) 
                GROUP BY id_cart_product
                ORDER BY cp.id_cart_product ASC
Parameters:
[
  ":id_cart" => 0
  ":id_lang" => 27
  ":id_shipping_country" => 6
]
6 2.18 ms
(SELECT ssc.*,od.product_name AS shop_name,sss.name AS status_name,sssr.date_add,sssr_last.date_add AS date_status, cu.email AS cuemail , COALESCE(stl.topic_name, 'Completo') AS shopCatalog FROM ps_syncronised_shop_configuration ssc LEFT JOIN ps_order_detail od ON od.id_order = ssc.id_order LEFT JOIN ps_orders o ON o.id_order = ssc.id_order INNER JOIN ps_customer cu ON cu.id_customer = ssc.id_customer LEFT JOIN ps_syncronised_shop_status AS sss ON sss.id_sincronate_shop_status = ssc.state LEFT JOIN ps_employee AS em ON em.id_employee = ssc.employee INNER JOIN ps_service_customer AS sc ON sc.id_customer = cu.id_customer AND sc.active = 1 AND sc.id_service IN(9,10, 2) INNER JOIN ps_service_customer_parameter AS scp ON scp.id_service_customer = sc.id_service_customer AND scp.key = 'SHOP_ID' AND scp.value = ssc.id_sincronate_shop_configuration LEFT JOIN ps_syncronised_shop_status_registry AS sssr ON sssr.id_sincronate_shop_configuration = ssc.id_sincronate_shop_configuration AND sssr.id_sincronate_shop_status = 1 LEFT JOIN ps_syncronised_shop_status_registry AS sssr_last ON sssr_last.id_sincronate_shop_configuration = ssc.id_sincronate_shop_configuration AND sssr_last.id_syncronised_shop_status_registry = (SELECT MAX(sssr1.id_syncronised_shop_status_registry) FROM ps_syncronised_shop_status_registry AS sssr1 WHERE sssr1.id_sincronate_shop_configuration = ssc.id_sincronate_shop_configuration) LEFT JOIN ps_shop_topics_lang AS stl ON stl.id_shop_topic = ssc.topic AND stl.id_lang = 27 WHERE sss.id_lang = :id_lang AND (o.id_order_state IS NULL OR o.id_order_state NOT IN(0,1,6,15))  AND ssc.id_customer = :id_customer GROUP BY ssc.id_sincronate_shop_configuration) ORDER BY date_add DESC
Parameters:
[
  ":id_customer" => false
  ":id_lang" => 27
]
7 0.26 ms
SELECT value FROM ps_configuration WHERE name = :name
Parameters:
[
  ":name" => "JS_COMPRESSION"
]
8 0.27 ms
SELECT value FROM ps_configuration WHERE name = :name
Parameters:
[
  ":name" => "CSS_COMPRESSION"
]
9 2.44 ms
SELECT * FROM `ps_lang`
Parameters:
[]
10 2.45 ms
SELECT value FROM ps_configuration WHERE name = :name
Parameters:
[
  ":name" => "MAINTENANCE"
]
11 1.33 ms
SELECT value FROM ps_configuration WHERE name = :name
Parameters:
[
  ":name" => "MAINTENANCE"
]

Database Connections

Name Service
default doctrine.dbal.default_connection
report doctrine.dbal.report_connection
logs doctrine.dbal.logs_connection

Entity Managers

Name Service
auto_generate_proxy_classes doctrine.orm.auto_generate_proxy_classes_entity_manager
default doctrine.orm.default_entity_manager
report doctrine.orm.report_entity_manager
logs doctrine.orm.logs_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

auto_generate_proxy_classes entity manager

No loaded entities.

default entity manager

Class Mapping errors
App\Entity\System\Language No errors.
App\Entity\System\Configuration No errors.
App\Entity\System\CmsLanguage No errors.
App\Entity\System\TaxonomyLanguage No errors.
App\Entity\System\Customer
  • The mappings App\Entity\System\Customer#wishlists and App\Entity\System\Wishlist#customer are inconsistent with each other.
App\Entity\System\Catalog No errors.
App\Entity\System\ServiceCustomer
  • The association App\Entity\System\ServiceCustomer#orderDetail refers to the inverse side field App\Entity\System\OrderDetail#serviceCustomer which does not exist.
App\Entity\System\Employee No errors.
App\Entity\System\MultifactorAuth No errors.
App\Entity\System\Carrier No errors.
App\Entity\System\Tracking No errors.
App\Entity\System\Department No errors.
App\Entity\System\Lock No errors.
App\Entity\System\Address No errors.
App\Entity\System\Country No errors.
App\Entity\System\ServiceCustomerParameter No errors.
App\Entity\System\CountryLanguage No errors.
App\Entity\System\Pack No errors.
App\Entity\System\Answer
  • The association App\Entity\System\Answer#customerAnswers refers to the owning side field App\Entity\System\CustomerAnswer#answer which does not exist.
App\Entity\System\Question
  • The association App\Entity\System\Question#customerAnswers refers to the owning side field App\Entity\System\CustomerAnswer#question which does not exist.
App\Entity\System\CustomerStats No errors.
App\Entity\System\Category No errors.
App\Entity\System\Tag No errors.
App\Entity\System\Taxonomy No errors.
App\Entity\System\Product No errors.
App\Entity\System\TaxonomyInfo No errors.
App\Entity\System\Brand No errors.
App\Entity\System\MenuItem No errors.
App\Entity\System\CustomerApi No errors.
App\Entity\System\Cms No errors.
App\Entity\System\ShopTopic No errors.
App\Entity\System\Menu No errors.
App\Entity\System\ApiResponseTime No errors.
App\Entity\System\TapfiliateCustomer No errors.
App\Entity\System\Group
  • The field App\Entity\System\Group#subscriptionLines is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\System\SubscriptionLine#group does not contain the required 'inversedBy="subscriptionLines"' attribute.
App\Entity\System\Order
  • The field 'App\Entity\System\Order#fba' has the property type 'bool' that differs from the metadata field type 'int' returned by the 'integer' DBAL type.
App\Entity\System\FuturePack No errors.
App\Entity\System\SubscriptionLine No errors.
App\Entity\System\CustomerLog No errors.
App\Entity\System\Ftp No errors.
App\Entity\System\SynchronisedShopConfiguration No errors.
App\Entity\System\CustomerMigration No errors.
App\Entity\System\Role No errors.
App\Entity\System\CustomerCatalog No errors.
App\Entity\System\AdditionalInfoAnswer No errors.
App\Entity\System\Wishlist
  • The association App\Entity\System\Wishlist#customer refers to the inverse side field App\Entity\System\Customer#wishlist which does not exist.
  • The field App\Entity\System\Wishlist#products is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\System\ProductTracking#wishlist does not contain the required 'inversedBy="products"' attribute.
App\Entity\System\ProductCatalog No errors.
App\Entity\System\Service No errors.
App\Entity\System\OrderDetail No errors.
App\Entity\System\Profile No errors.
App\Entity\System\Warehouse No errors.
App\Entity\System\DepartmentLanguage No errors.
App\Entity\System\State No errors.
App\Entity\System\Zone No errors.
App\Entity\System\CustomerAnswer No errors.
App\Entity\System\CategoryLang No errors.
App\Entity\System\ProductImage No errors.
App\Entity\System\Tax No errors.
App\Entity\System\Supplier No errors.
App\Entity\System\ProductAttribute No errors.
App\Entity\System\ProductDate No errors.
App\Entity\System\StockAvailable No errors.
App\Entity\System\SpecificPrice No errors.
App\Entity\System\MinimumOrderQuantity No errors.
App\Entity\System\ProductEan No errors.
App\Entity\System\Subscription No errors.
App\Entity\System\ProductType No errors.
App\Entity\System\ProductLangBg No errors.
App\Entity\System\ProductLangCs No errors.
App\Entity\System\ProductLangDa No errors.
App\Entity\System\ProductLangDe No errors.
App\Entity\System\ProductLangEl No errors.
App\Entity\System\ProductLangEn No errors.
App\Entity\System\ProductLangEs No errors.
App\Entity\System\ProductLangEt No errors.
App\Entity\System\ProductLangFi No errors.
App\Entity\System\ProductLangFr No errors.
App\Entity\System\ProductLangHr No errors.
App\Entity\System\ProductLangHu No errors.
App\Entity\System\ProductLangIt No errors.
App\Entity\System\ProductLangLt No errors.
App\Entity\System\ProductLangLv No errors.
App\Entity\System\ProductLangNl No errors.
App\Entity\System\ProductLangNo No errors.
App\Entity\System\ProductLangPl No errors.
App\Entity\System\ProductLangPt No errors.
App\Entity\System\ProductLangRo No errors.
App\Entity\System\ProductLangRu No errors.
App\Entity\System\ProductLangSi No errors.
App\Entity\System\ProductLangSk No errors.
App\Entity\System\ProductLangSv No errors.
App\Entity\System\CoreUrlRewrite No errors.
App\Entity\System\FutureStock No errors.
App\Entity\System\BrandLanguage No errors.
App\Entity\System\MenuItemLang No errors.
App\Entity\System\ShopTopicLang No errors.

report entity manager

No loaded entities.

logs entity manager

No loaded entities.