magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.5k stars 9.3k forks source link

[Magento 2.1.0] Catalog nav bar is missing in 2.1.0 #5423

Closed Ctucker9233 closed 7 years ago

Ctucker9233 commented 8 years ago

Steps to reproduce

  1. Put store in maitenance mode
  2. Install Magento 2.1.0 from .zip folder per magento documentation
  3. run setup:upgrade and setup:di:compile commands
  4. Navigate to front end

    Expected result

Store page displays normally with catalog navigation

Actual result

Store page displays without catalog navigation

Note: Multi-store setup backend frontend

tkacheva commented 8 years ago

@Ctucker9233 here is the CLI upgrade guide http://devdocs.magento.com/guides/v2.1/comp-mgr/cli/cli-upgrade.html please help us to improve it by referring to particularly confusing points.

OmarFaruque commented 8 years ago

i am facing same problem :\

rqsakai commented 8 years ago

I Had de exactly same issue, but on the tests i realized that it was due to a custom plugin i made for the GTM (Google tag manager).

I inserted a block on the category and product page from the xml like this: <block ifconfig="gtm/config/enabled" class="Dufry\Gtm\Block\Product" before='GTM' name="Datalayer" template="Dufry_Gtm::datalayer.phtml"/>

And every ESI block after it failed to work, when i removed it i got it back working, but I still need this block for marketing purposes.

So I added the no cache tag to the block, but the entire page won't be cached, so i doesn't work.

Than I added the TTL, it works but i can't get the current category/product, I tried doing: $this->getProduct() and form the Magento\Framework\Registry, and it always return null no matter what

So i still need to fix this issue, but the menu is back working.

Hope it helps

Ctucker9233 commented 8 years ago

@tkacheva I would recommend clarifying what "Installed the compressed archive" means with some steps on how to install the compressed archive correctly. Then, I would recommend having two sections on how to upgrade using CLI. One for if you do it with composer and one for if you do it with the compressed archive. Right now, I only see the section for doing it with composer. Since I don't have access to composer, I can only do it with the compressed archive. I was left scratching my head on how to do it with the compressed archive. Hope this helps and let me know if I need to clarify anything.

Ctucker9233 commented 8 years ago

@tkacheva I can work on creating a pull request for the docs if you like. Or is it better if I let you and the magento team handle it?

Microstudioweb commented 7 years ago

Hi, I have same issue with catalog nav bar. I have also update magento from 2.0.7 to 2.0.8 to 2.0.9 to 2.1.0 to 2.1.1 but the issue remain. Try to change file permission, upload vendor's folder, Install Magento 2.1.1 as new installation.

But the only difference is that I can see the catalog nav bar only when I'm on catalogs pages

and this message on home page: We're sorry, an error has occurred while generating this email.

It is annoying to have issues on each update Somebody have a solution for this issue?

OmarFaruque commented 7 years ago

I solve my nav error using fresh installation Magento 2.1.1 with sample data.

On Tue, Oct 11, 2016 at 10:19 PM, Microstudioweb notifications@github.com wrote:

Hi, I have same issue with catalog nav bar. I have also update magento from 2.0.7 to 2.0.8 to 2.0.9 to 2.1.0 to 2.1.1 but the issue remain. Try to change file permission, upload vendor's folder, Install Magento 2.1.1 as new installation.

But the only difference is that I can see the catalog nav bar only when I'm on catalogs pages

and this message on home page: We're sorry, an error has occurred while generating this email.

It is annoying to have issues on each update Somebody have a solution for this issue?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/magento/magento2/issues/5423#issuecomment-252967030, or mute the thread https://github.com/notifications/unsubscribe-auth/AGBi5EXncLD7Q2mD5nhrNFJpNs-1xDAjks5qy7cUgaJpZM4JDz3z .


Best Regards Omar Faruque https://www.facebook.com/profile.php?id=100006084726970 Web Analyst Green Dot Limited http://greendotbd.com/ & ABM Water Company http://www.abmwater.com/ House # 135, Road # 05, Mohakhali DOHS, Dhaka.

Microstudioweb commented 7 years ago

@OmarFaruque Unfortunaly I have tried a fresh installation 2 times, but it didn't get effect.

I find this code:

_public function filter($value)
{
    try {
        $value = parent::filter($value);
    } catch (\Exception $e) {
        // Since a single instance of this class can be used to filter content multiple times, reset callbacks to
        // prevent callbacks running for unrelated content (e.g., email subject and email body)
        $this->resetAfterFilterCallbacks();            if ($this->_appState->getMode() == \Magento\Framework\App\State::MODE_DEVELOPER) {
            $value = sprintf(__('Error filtering template: %s'), $e->getMessage());
        } else {
            $value = __("We're sorry, an error has occurred while generating this email.");
        }
        $this->_logger->critical($e);
    }
    return $value;
}_

on {{magento-folder-root}}/vendor/magento/module-email/Model/Template/Filter.php

I suspect the issue is because it didn't find parent::filter($value); on homepage, but when is on category page it find out.

OmarFaruque commented 7 years ago

Are u install it using command or browser? I install my magento using commend line

Microstudioweb commented 7 years ago

@OmarFaruque I had install via browser.

UberTheme on magento community post a workaround that fix this issue, here you can see how fix it: https://community.magento.com/t5/Installing-Magento-2/After-Migration-Products-not-showing-on-Frontend/td-p/42005

OmarFaruque commented 7 years ago

Thanks i will see :)

Ctucker9233 commented 7 years ago

@tkacheva The steps as far as I can tell to upgrade using the compressed .zip file are as follows...

  1. download compressed .zip archive
  2. move compressed .zip archive to server root folder (public_html) where magento 2 is installed.
  3. open CLI and login as user with root privileges
  4. run command cd in my case, public_html
  5. run command unzip This begins to unzip the file and replace files with the same name
  6. run command php bin/magento setup:upgrade
  7. run command php bin/magento setup:di:compile
  8. In web browser navigate to backend and frontend to ensure upgrade completed successfully

I just followed these steps to upgrade to 2.1.2 and it worked flawlessly. I think these steps should be included in the devdocs as a way to upgrade using the command line without composer.

dunarri commented 7 years ago

I am seeing this issue as well on a clean install. Setup details: Clean install from 2.1 zip file. PHP 7.0.11 via FPM Apache 2.4 Using Varnish No https Multi-store (3 stores)

I've observed the problem only happens with the other stores that are not the default. Default store works fine. And it only happens when varnish FPC is enabled, if I disable FPC in the Magento admin all 3 stores work just fine. So it seems to be an issue caching the topnav block for store codes other than default. I've also noted that when I try to load one of the other stores with the missing category nav, I get errors in my log file that are almost identical to what @JDavidVR reported on Jul 3.

timstoel commented 7 years ago

I am having this issue as well. We had a staging server with Ubuntu 16.04, Apache2.4.18, PHP 7.0.8 and MariaDB 10.0.27. It was first installed from a zip file using the web interface as Magento 2.0.7 and then was upgraded to 2.1.1. This server is showing the menu on the home page properly.

We are almost ready to launch so I moved the files and database from that Magento install to a production server with Ubuntu 16.04, Nginx 1.10.0 Varnish 4.1.1, PHP 7.0.8 and MariaDB 10.0.27 on a separate server. The menu disappeared on the home page, and I ended up here :)

If I turn off FPC in the admin, the menu comes back. Turn it back on, and it is gone again.

Someone here [https://github.com/magento/magento2/issues/3897#issuecomment-219215906] suggested adding this to the Varnish config as a workaround: -p feature=+esi_ignore_https \

But this did not solve the problem. Another thread suggested replacing /vendor/* with fresh files from the 2.1.1 zip file but I have not tried that yet.

csdougliss commented 7 years ago

I have the same issue, clean install of 2.1.2 using the LUMA theme. Varnish 4.1.3, PHP 7.0.12.

Happens to me on OSX and Ubuntu 16.04

[2016-11-04 09:48:36] main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_391fccd54da687afc76a5d6559b714906 and handles default, adminhtml_dashboard_index: Please correct the XML data and try again.  [] []
[2016-11-04 09:48:36] main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_3cf9ab1b1723bedc1dcd665a812b00335 and handles admin-1column: Please correct the XML data and try again.  [] []
[2016-11-04 09:48:36] main.CRITICAL: Broken reference: the 'header' tries to reorder itself towards 'global.notices', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] []
[2016-11-04 09:48:36] main.CRITICAL: Broken reference: the 'page.breadcrumbs' tries to reorder itself towards 'notifications', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] []
[2016-11-04 09:48:36] main.CRITICAL: Broken reference: the 'global.search' tries to reorder itself towards 'notification.messages', but their parents are different: 'header.inner.right' and 'header' respectively. [] []
[2016-11-04 09:53:38] main.INFO: Cache file with merged layout: LAYOUT_frontend_STORE1_2c7461af04bb11fe209659d7147d2c579 and handles default, cms_index_index, cms_page_view, cms_index_index_id_home: Please correct the XML data and try again.  [] []
[2016-11-04 09:53:38] main.INFO: Cache file with merged layout: LAYOUT_frontend_STORE1_20a98983867a1770682b48d9a0ad63441 and handles 1column: Please correct the XML data and try again.  [] []
[2016-11-04 09:53:38] main.CRITICAL: Broken reference: the 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2016-11-04 09:53:38] main.CRITICAL: Broken reference: the 'sale.reorder.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2016-11-04 09:53:38] main.CRITICAL: Broken reference: the 'wishlist_sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2016-11-04 09:53:38] main.CRITICAL: Broken reference: the 'paypal.partner.right.logo' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2016-11-04 09:53:38] main.CRITICAL: Broken reference: the 'bml.right.logo' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2016-11-04 09:53:38] main.INFO: Cache file with merged layout: LAYOUT_frontend_STORE1_26f1b068ec7ccf4878f9284dd1137afd1 and handles catalog_product_prices: Please correct the XML data and try again.  [] []
[2016-11-04 09:54:45] main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_3c4aeb00db6a394ed5a76424a54e4bfd3 and handles default, adminhtml_system_config_edit: Please correct the XML data and try again.  [] []
[2016-11-04 09:54:45] main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_3793edbdc1c00dd1c3aa9e1b3dc856b39 and handles admin-2columns-left: Please correct the XML data and try again.  [] []
[2016-11-04 09:54:45] main.CRITICAL: Broken reference: the 'header' tries to reorder itself towards 'global.notices', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] []
[2016-11-04 09:54:45] main.CRITICAL: Broken reference: the 'page.breadcrumbs' tries to reorder itself towards 'notifications', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] []
[2016-11-04 09:54:45] main.CRITICAL: Broken reference: the 'global.search' tries to reorder itself towards 'notification.messages', but their parents are different: 'header.inner.right' and 'header' respectively. [] []
[2016-11-04 09:54:45] main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_36f1b068ec7ccf4878f9284dd1137afd1 and handles catalog_product_prices: Please correct the XML data and try again.  [] []
[2016-11-04 09:54:45] main.INFO: Item Magento_Backend::system_currency was removed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::system_design_schedule was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::system_store was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::dashboard was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::system was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::system_tools was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::system_design was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::system_convert was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::system_cache was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::marketing was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::marketing_communications was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::marketing_seo was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::marketing_user_content was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::content was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::content_elements was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::stores was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::stores_settings was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::stores_attributes was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::other_settings was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::system_other_settings was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backend::setup_wizard was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Backup::system_tools_backup was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Theme::design_config was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Theme::system_design_theme was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Customer::customer was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Customer::customer_manage was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Customer::customer_online was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Customer::customer_group was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_AdminNotification::system_adminnotification was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Indexer::system_index was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Cms::cms_page was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Cms::cms_block was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Catalog::catalog was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Catalog::catalog_products was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Catalog::catalog_categories was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Catalog::catalog_attributes_attributes was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Catalog::catalog_attributes_sets was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Catalog::inventory was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Search::search_terms was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Search::search_synonyms was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Widget::cms_widget_instance was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_CheckoutAgreements::sales_checkoutagreement was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Config::system_config was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_CurrencySymbol::system_currency was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_CurrencySymbol::system_currency_rates was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_CurrencySymbol::system_currency_symbols was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Downloadable::report_products_downloads was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_ImportExport::system_convert_import was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_ImportExport::system_convert_export was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_ImportExport::system_convert_history was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Email::template was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_User::system_acl was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_User::system_acl_users was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_User::system_acl_roles was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_User::system_acl_locks was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Sales::sales was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Sales::sales_operation was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Sales::sales_order was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Sales::sales_invoice was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Sales::sales_shipment was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Sales::sales_creditmemo was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Sales::sales_transactions was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Sales::system_order_statuses was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Marketplace::partners was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_CatalogRule::promo was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_CatalogRule::promo_catalog was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Newsletter::newsletter_template was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Newsletter::newsletter_queue was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Newsletter::newsletter_subscriber was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Newsletter::newsletter_problem was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_SalesRule::promo_quote was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Paypal::report_salesroot_paypal_settlement_reports was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Paypal::paypal_billing_agreement was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_marketing was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_salesroot was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_salesroot_sales was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_salesroot_tax was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_salesroot_invoiced was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_salesroot_shipping was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_salesroot_refunded was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_salesroot_coupons was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_shopcart_product was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_shopcart_abandoned was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_products was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_products_bestsellers was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_products_sold was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_products_viewed was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_products_lowstock was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_customers was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_customers_accounts was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_customers_totals was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_customers_orders was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_statistics was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Reports::report_statistics_refresh was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Search::report_search_term was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Review::catalog_reviews_ratings_ratings was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Review::catalog_reviews_ratings_reviews_all was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Review::report_review was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Review::report_review_customer was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Review::report_review_product was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Integration::system_extensions was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Integration::system_integrations was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Sitemap::catalog_sitemap was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Tax::sales_tax was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Tax::sales_tax_rules was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Tax::sales_tax_rates was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_TaxImportExport::system_convert_tax was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_UrlRewrite::urlrewrite was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_EncryptionKey::system_crypt_key was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Variable::system_variable was processed [] []
[2016-11-04 09:54:45] main.INFO: Add of item with id Magento_Braintree::settlement_report was processed [] []
[2016-11-04 09:54:45] main.INFO: Remove on item with id Magento_Backend::setup_wizard was processed [] []
[2016-11-04 09:56:25] main.CRITICAL: Broken reference: the 'header' tries to reorder itself towards 'global.notices', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] []
[2016-11-04 09:56:25] main.CRITICAL: Broken reference: the 'page.breadcrumbs' tries to reorder itself towards 'notifications', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] []
[2016-11-04 09:56:25] main.CRITICAL: Broken reference: the 'global.search' tries to reorder itself towards 'notification.messages', but their parents are different: 'header.inner.right' and 'header' respectively. [] []
[2016-11-04 09:56:45] main.CRITICAL: Broken reference: the 'header' tries to reorder itself towards 'global.notices', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] []
[2016-11-04 09:56:45] main.CRITICAL: Broken reference: the 'page.breadcrumbs' tries to reorder itself towards 'notifications', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] []
[2016-11-04 09:56:45] main.CRITICAL: Broken reference: the 'global.search' tries to reorder itself towards 'notification.messages', but their parents are different: 'header.inner.right' and 'header' respectively. [] []
ooples commented 7 years ago

I'm having this same issue as well. I notice that in the admin settings it gives you the option between built in cache and varnish cache and it says that varnish is recommended so I'm wondering why if this seems to be such a common issue.

Tristan-N commented 7 years ago

@Ctucker9233 I have the same issue, using Magento 2.1.2 on PHP 7.0.14 on Apache server.

When I switch to Built-In cache, the navbar appears again. When I found the rule like @KevinMace mentioned, I noticed that my URL contained a lot of %22 signs, instead of the " symbol.

<esi:include src="http://site.url.here/page_cache/block/esi/blocks/[%22catalog.topnav%22]/handles/[%22default%22,%22catalog_category_view%22,%22catalog_category_view_type_layered%22,%22catalog_category_view_type_layered_without_children%22,%22catalog_category_view_id_688%22,%22catalog_category_view_layout_update_ba80f00be44c0fe6892e24d5b04c895d%22]/" /></div>

Now figuring out how to solve this. If somebody knows something, please let me know. Otherwise, I hope this helps some people out while they're debugging.

KevinMace commented 7 years ago

@Tristan-N Have you enabled ESI in your Varnish config? That will replace this string

<esi:include src="http://site.url.here/page_cache/block/esi/blocks/[%22catalog.topnav%22]/handles/[%22default%22,%22catalog_category_view%22,%22catalog_category_view_type_layered%22,%22catalog_category_view_type_layered_without_children%22,%22catalog_category_view_id_688%22,%22catalog_category_view_layout_update_ba80f00be44c0fe6892e24d5b04c895d%22]/" /

with the correct content (in this instance, the navigation)

KevinMace commented 7 years ago

@Tristan-N in your default.vcl, you should have a section like below. Have you moved the Magento generated .vcl in to your server's Varnish directory?

if (beresp.http.content-type ~ "text") { set beresp.do_esi = true; }

Tristan-N commented 7 years ago

@KevinMace No, in the Varnish config folder there is a config file dat includes the vcl file from the Magento folder.

Jilco commented 7 years ago

@KevinMace have you already figured out how to do this? Or anybody else? I'm facing the same issues afte migration from 1.9.2.4 to 2.1.3. The navigation bar is missing, also with a normal HTTP request. I'm not able to modify varnish settings in Core Magento, or am I wrong? Magento is using a build in version of Varnish in my understanding.

joe2010 commented 7 years ago

i have the same problemas download magento 2.1.3 set it all up and no top nav

https://community.magento.com/t5/Theming-Layout-Design-Questions/magento-2-ver-2-1-3-Category-not-showing-up-in-nav/m-p/56191/highlight/false#M866

plhbbillygarcia commented 7 years ago

Hello does anyone have any solutions to the above. I am at my wits end with 2.1. I am managing a project with over 5000 items and my clients work flow is halted because of this navigation search bar issue. We moved from 1.9 to 2.1.2 5.7 for MYSQL and 5.6.5 for PHP. We are so upset with this new version.. Any help would be great.

timstoel commented 7 years ago

The solution is staying on Magento 1.9 and waiting it out on Magento 2. We spent a lot of time and money on Magento 2 and had to roll back to 1.9.

plhbbillygarcia commented 7 years ago

Yes I wish.... But the investment on my clients end is too deep. We can't role back now. The team that is working on this are having a hard time and I am as well.. Can anyone give me an idea of how to approach a solution. I have a team that can build what is needed but they need direction. We are far too into this with all variables and can't hit brakes... I would like to help write code to fix this stupid shit somehow... Thank you all for reading and hopefully writing.. Smiles Billy

Jilco commented 7 years ago

I removed the TTL attribute from /vendor/magento/module-theme/view/frontend/layout/default.xml and the menu bar was there again! But can that do any harm, if I'm correct the default TTL is enheritated. Or am I wrong?

Regards Jilco

Verzonden vanaf mijn Samsung-apparaat

-------- Oorspronkelijk bericht -------- Van: plhbbillygarcia notifications@github.com Datum: 24-01-2017 04:05 (GMT+01:00) Aan: magento/magento2 magento2@noreply.github.com Cc: Jilco jilcotigchelaar@hotmail.com, Comment comment@noreply.github.com Onderwerp: Re: [magento/magento2] [Magento 2.1.0] Catalog nav bar is missing in 2.1.0 (#5423)

Yes I wish.... But the investment on my clients end is too deep. We can't role back now. The team that is working on this are having a hard time and I am as well.. Can anyone give me an idea of how to approach a solution. I have a team that can build what is needed but they need direction. We are far too into this with all variables and can hit brakes... I would like to help write code to fix this stupid shit somehow... Thank you all for reading and hopefully writing.. Smiles Billy

- You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/magento/magento2/issues/5423#issuecomment-274688678, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWoMGm9YgFaGYbygl-QVZayLZNTtDMykks5rVWqIgaJpZM4JDz3z.

timstoel commented 7 years ago

@plhbbillygarcia Unfortunately Magento 2 is just not production ready. I would imagine by the time your client pays to fix everything that is broken, Magento 2 will be further along. I can't see taking a lone ranger type mission on trying to fix the many, many issues with Magento 2. It sounds like your client has an unrealistic expectation for Magento 2 at this time and you may need to educate them on the issues at hand.

dvershinin commented 7 years ago

To anyone experiencing this issue with Varnish and already added -p feature=+esi_ignore_https to your Varnish configuration, the following are correct steps to fix:

  1. enable developer mode in Magento
  2. enable display of PHP error logs, if that is disabled system wide (php_admin_value)
  3. navigate to your page and identify the PHP fatal error in place of navigation area
  4. edit corresponding PHP file to fix.

In my case error was with Magestore Giftvoucher plugin.

Basically a fatal PHP error may occur only while Varnish is in use (ESI processing) and may not be experience otherwise. Not all the plugins are Varnish-ready.

mttjohnson commented 7 years ago

@dvershinin To add some additional options to use when checking for Varnish specific issues and ESI includes I have found it useful to use curl to simulate a specific backend request from Varnish.

I have a gist with some example commands, and brief comments.

Using varnishlog you can see all the necessary header information you'd need to makes calls to the backend HTTP server the same way Varnish is, and then set the HTTP header details with curl on the command line.

This can provide some additional insight to what Varnish is receiving, or trying to request before it removes headers, combines ESI includes, and responds to the browser. It can also be useful to test the infrastructure behind Varnish and know you aren't getting a cached hit from Varnish, or have to clear the Varnish cache.

shoaibrehman commented 7 years ago

Hey guys,

I had the same issue with one of my clients and after going through this entire thread here, I can conclude that it is the varnish configuration issue.

I spoke to my hosting company and they confirmed that Varnish was only configured to support HTTP requests. They configured varnish for HTTPS as well and everything is working fine now.

dunarri commented 7 years ago

I've circled back to this after installing the latest Magento 2.1.5 and it would appear it is resolved.

rgoncharuk commented 7 years ago

@Ctucker9233 internal MAGETWO-55189 closed as Won`t Fix. As I understood you agreed that the upgrade way mentioned in the description can not be used. Improvements into documentation can be created as PR to https://github.com/magento/devdocs Feel free to connect the Community Engineering team for support on that PR

Ctucker9233 commented 7 years ago

@rgoncharuk Thanks, although that is disappointing to hear. It is clear that other people that have commented on this thread have a similar issue and it clearly is not a documentation issue. I have since resolved the issue by separating my multi-site into two independent ones. If nothing else, the documentation for setting up multi-sites should be reviewed and revised by the Magento Team seeing as how you(Magento) created it and not me.

moejoee91 commented 6 years ago

Hello everyone, im having something similar to this and it's driving me crazy, all of a sudden my nav-bar was gone, and im not even using varnish, i'm using the built in cache, all i did right before this happened is i did setup cloudflare and it went down hill from there any ideas what might be causing the problem ?

Ctucker9233 commented 6 years ago

@moejoee91 Try disabling Cloudflare and see if it changes anything.

AdamReece-WebBox commented 6 years ago

This still doesn't work today. I've tried:

All ran successfully, but still no navbar.

It appears that ESI tags are not being processed, which is required for the navbar.

This is on a cPanel based hosting account without any Varnish caching. (Magento 2.1.8, PHP 7.0.31)

dvershinin commented 6 years ago

@AdamReece-WebBox in absence of Varnish, nothing can do ESI processing on a cPanel server.

AdamReece-WebBox commented 6 years ago

Hi @dvershinin,

It appears that the agency that gave us the project to deploy didn't tell us that Varnish cache was enabled in Magento's settings.

Switching this to use Magento's built-in cache resolved the issue. (ESIs process as intended now.)

ftudlong commented 6 years ago

But can you switch back to varnish after resolving the issue?

AdamReece-WebBox commented 6 years ago

Would there be much benefit in that? I don't really want to disrupt a live store, particularly as it's already performing very well with the built in cache.