Skip to content

SQL statment at the top of my page for product pages #8550

@mrk-i

Description

@mrk-i

Preconditions

  1. Ubuntu 16.04 LTS
  2. aws RDS MySQL 5.6.27

Steps to reproduce

  1. log as root
  2. bin/magento deploy:mode:set developer
  3. bin/magento maintenance:enable
  4. bin/magento deploy:mode:set production

Expected result

  1. there shouldn't be a SQL query on the top of my product pages:

Actual result

  1. SELECT `e`.*, `at_product_id`.`product_id` FROM `catalog_category_entity` AS `e`

INNER JOIN catalog_category_product AS at_product_id ON (at_product_id.category_id=e.entity_id) WHERE (at_product_id.product_id = '1526')

<script type="text/javascript"> var ThemeOptions = { box_wide: 0, rtl_layout: 0, sticky_header: 0 }; </script>
  1. https://snag.gy/QKwUgZ.jpg
  2. https://snag.gy/01yRib.jpg

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions