Search result page blank pagechange search result page to 1 columnCatalog search gives me a blank pageError on search result pageHow can i rewrite TierPrice Block in Magento2how does magento generate the content of store link (block name=store.links )in the mobile viewPlease correct the XML data and try again. Element 'referenceBlock': This element is not expectedMagento Advanced Search Page in Search Result PageMove/Push page.main.title block into Breadcrumbs Magento2Magento 2 move header.links without mobile menuSearch result page layout

What is the most common color to indicate the input-field is disabled?

Would Slavery Reparations be considered Bills of Attainder and hence Illegal?

Is it unprofessional to ask if a job posting on GlassDoor is real?

What exploit are these user agents trying to use?

Will google still index a page if I use a $_SESSION variable?

In Romance of the Three Kingdoms why do people still use bamboo sticks when papers are already invented?

A reference to a well-known characterization of scattered compact spaces

Should I tell management that I intend to leave due to bad software development practices?

Why is the 'in' operator throwing an error with a string literal instead of logging false?

What killed these X2 caps?

Infinite Abelian subgroup of infinite non Abelian group example

Can one be a co-translator of a book, if he does not know the language that the book is translated into?

Today is the Center

1960's book about a plague that kills all white people

What's the point of deactivating Num Lock on login screens?

When a company launches a new product do they "come out" with a new product or do they "come up" with a new product?

How do conventional missiles fly?

Do I have a twin with permutated remainders?

Emailing HOD to enhance faculty application

How to prevent "they're falling in love" trope

Facing a paradox: Earnshaw's theorem in one dimension

Can a virus destroy the BIOS of a modern computer?

Where does SFDX store details about scratch orgs?

Alternative to sending password over mail?



Search result page blank page


change search result page to 1 columnCatalog search gives me a blank pageError on search result pageHow can i rewrite TierPrice Block in Magento2how does magento generate the content of store link (block name=store.links )in the mobile viewPlease correct the XML data and try again. Element 'referenceBlock': This element is not expectedMagento Advanced Search Page in Search Result PageMove/Push page.main.title block into Breadcrumbs Magento2Magento 2 move header.links without mobile menuSearch result page layout






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















Does somebody know why the xml bellow causes blank page on search result page ?



Im using luma theme and have custom theme with Magento_Theme/layout/default.xml.



All pages are shown correctly exept search result like catalogsearch/result/?q=xxx.



<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
<referenceContainer name="header.panel">
<block class="MagentoFrameworkViewElementHtmlLinks" name="header.links">
<arguments>
<argument name="css_class" xsi:type="string">header links</argument>
</arguments>
</block>
</referenceContainer>

<referenceBlock name="logo">
<arguments>
<argument name="logo_img_width" xsi:type="number">148</argument>
<argument name="logo_img_height" xsi:type="number">43</argument>
</arguments>
</referenceBlock>
<!--<referenceBlock name="header.panel" remove="true" />-->
<move element="header.panel" destination="header-wrapper" after="logo"/>

<referenceBlock name="header.panel.wrapper" remove="true"/>

<move element="navigation.sections" destination="header-wrapper" after="logo"/>

<!--<move element="top.search" destination="header-wrapper" after="-" />
<move element="search" destination="header-wrapper" after="-" />
<move element="catalog.compare.link" destination="header.links" /> -->

<move element="top.search" destination="header.panel" after="header.links" />
<move element="search" destination="header.panel" after="header.links" />
<move element="catalog.compare.link" destination="header.links" />
<move element="minicart" destination="header.panel" after="header.links" />

<referenceBlock name="catalog.compare.link" remove="true"/>

<referenceBlock name="header" remove="true"/>
<referenceBlock name="footer_links" remove="true"/>
<referenceBlock name="form.subscribe" remove="true" />
<referenceBlock name="copyright" remove="true"/>
<referenceContainer name="footer">
<block class="MagentoCmsBlockBlock" name="footerlinks">
<arguments>
<argument name="block_id" xsi:type="string">footerlinks</argument>
</arguments>
</block>
</referenceContainer>
</layout>


Thanks for help !










share|improve this question
















bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.





















    1















    Does somebody know why the xml bellow causes blank page on search result page ?



    Im using luma theme and have custom theme with Magento_Theme/layout/default.xml.



    All pages are shown correctly exept search result like catalogsearch/result/?q=xxx.



    <?xml version="1.0"?>
    <!--
    /**
    * Copyright © Magento, Inc. All rights reserved.
    * See COPYING.txt for license details.
    */
    -->
    <layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
    <referenceContainer name="header.panel">
    <block class="MagentoFrameworkViewElementHtmlLinks" name="header.links">
    <arguments>
    <argument name="css_class" xsi:type="string">header links</argument>
    </arguments>
    </block>
    </referenceContainer>

    <referenceBlock name="logo">
    <arguments>
    <argument name="logo_img_width" xsi:type="number">148</argument>
    <argument name="logo_img_height" xsi:type="number">43</argument>
    </arguments>
    </referenceBlock>
    <!--<referenceBlock name="header.panel" remove="true" />-->
    <move element="header.panel" destination="header-wrapper" after="logo"/>

    <referenceBlock name="header.panel.wrapper" remove="true"/>

    <move element="navigation.sections" destination="header-wrapper" after="logo"/>

    <!--<move element="top.search" destination="header-wrapper" after="-" />
    <move element="search" destination="header-wrapper" after="-" />
    <move element="catalog.compare.link" destination="header.links" /> -->

    <move element="top.search" destination="header.panel" after="header.links" />
    <move element="search" destination="header.panel" after="header.links" />
    <move element="catalog.compare.link" destination="header.links" />
    <move element="minicart" destination="header.panel" after="header.links" />

    <referenceBlock name="catalog.compare.link" remove="true"/>

    <referenceBlock name="header" remove="true"/>
    <referenceBlock name="footer_links" remove="true"/>
    <referenceBlock name="form.subscribe" remove="true" />
    <referenceBlock name="copyright" remove="true"/>
    <referenceContainer name="footer">
    <block class="MagentoCmsBlockBlock" name="footerlinks">
    <arguments>
    <argument name="block_id" xsi:type="string">footerlinks</argument>
    </arguments>
    </block>
    </referenceContainer>
    </layout>


    Thanks for help !










    share|improve this question
















    bumped to the homepage by Community yesterday


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      1












      1








      1








      Does somebody know why the xml bellow causes blank page on search result page ?



      Im using luma theme and have custom theme with Magento_Theme/layout/default.xml.



      All pages are shown correctly exept search result like catalogsearch/result/?q=xxx.



      <?xml version="1.0"?>
      <!--
      /**
      * Copyright © Magento, Inc. All rights reserved.
      * See COPYING.txt for license details.
      */
      -->
      <layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
      <referenceContainer name="header.panel">
      <block class="MagentoFrameworkViewElementHtmlLinks" name="header.links">
      <arguments>
      <argument name="css_class" xsi:type="string">header links</argument>
      </arguments>
      </block>
      </referenceContainer>

      <referenceBlock name="logo">
      <arguments>
      <argument name="logo_img_width" xsi:type="number">148</argument>
      <argument name="logo_img_height" xsi:type="number">43</argument>
      </arguments>
      </referenceBlock>
      <!--<referenceBlock name="header.panel" remove="true" />-->
      <move element="header.panel" destination="header-wrapper" after="logo"/>

      <referenceBlock name="header.panel.wrapper" remove="true"/>

      <move element="navigation.sections" destination="header-wrapper" after="logo"/>

      <!--<move element="top.search" destination="header-wrapper" after="-" />
      <move element="search" destination="header-wrapper" after="-" />
      <move element="catalog.compare.link" destination="header.links" /> -->

      <move element="top.search" destination="header.panel" after="header.links" />
      <move element="search" destination="header.panel" after="header.links" />
      <move element="catalog.compare.link" destination="header.links" />
      <move element="minicart" destination="header.panel" after="header.links" />

      <referenceBlock name="catalog.compare.link" remove="true"/>

      <referenceBlock name="header" remove="true"/>
      <referenceBlock name="footer_links" remove="true"/>
      <referenceBlock name="form.subscribe" remove="true" />
      <referenceBlock name="copyright" remove="true"/>
      <referenceContainer name="footer">
      <block class="MagentoCmsBlockBlock" name="footerlinks">
      <arguments>
      <argument name="block_id" xsi:type="string">footerlinks</argument>
      </arguments>
      </block>
      </referenceContainer>
      </layout>


      Thanks for help !










      share|improve this question
















      Does somebody know why the xml bellow causes blank page on search result page ?



      Im using luma theme and have custom theme with Magento_Theme/layout/default.xml.



      All pages are shown correctly exept search result like catalogsearch/result/?q=xxx.



      <?xml version="1.0"?>
      <!--
      /**
      * Copyright © Magento, Inc. All rights reserved.
      * See COPYING.txt for license details.
      */
      -->
      <layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
      <referenceContainer name="header.panel">
      <block class="MagentoFrameworkViewElementHtmlLinks" name="header.links">
      <arguments>
      <argument name="css_class" xsi:type="string">header links</argument>
      </arguments>
      </block>
      </referenceContainer>

      <referenceBlock name="logo">
      <arguments>
      <argument name="logo_img_width" xsi:type="number">148</argument>
      <argument name="logo_img_height" xsi:type="number">43</argument>
      </arguments>
      </referenceBlock>
      <!--<referenceBlock name="header.panel" remove="true" />-->
      <move element="header.panel" destination="header-wrapper" after="logo"/>

      <referenceBlock name="header.panel.wrapper" remove="true"/>

      <move element="navigation.sections" destination="header-wrapper" after="logo"/>

      <!--<move element="top.search" destination="header-wrapper" after="-" />
      <move element="search" destination="header-wrapper" after="-" />
      <move element="catalog.compare.link" destination="header.links" /> -->

      <move element="top.search" destination="header.panel" after="header.links" />
      <move element="search" destination="header.panel" after="header.links" />
      <move element="catalog.compare.link" destination="header.links" />
      <move element="minicart" destination="header.panel" after="header.links" />

      <referenceBlock name="catalog.compare.link" remove="true"/>

      <referenceBlock name="header" remove="true"/>
      <referenceBlock name="footer_links" remove="true"/>
      <referenceBlock name="form.subscribe" remove="true" />
      <referenceBlock name="copyright" remove="true"/>
      <referenceContainer name="footer">
      <block class="MagentoCmsBlockBlock" name="footerlinks">
      <arguments>
      <argument name="block_id" xsi:type="string">footerlinks</argument>
      </arguments>
      </block>
      </referenceContainer>
      </layout>


      Thanks for help !







      magento2 layout search default.xml






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 14 '18 at 20:01









      PЯINCƏ

      8,41431145




      8,41431145










      asked Apr 14 '18 at 18:00









      matinmatin

      77110




      77110





      bumped to the homepage by Community yesterday


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community yesterday


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          2 Answers
          2






          active

          oldest

          votes


















          0














          As I see, this xml should not cause a blank page for search page, I doubt about another file ! Please try to add this to your theme:



          app/design/frontend/Vendor/theme/Magento_Catalog-search/layout/catalogsearch_result_index.xml



          <?xml version="1.0"?>
          <!--
          /**
          * Copyright © Magento, Inc. All rights reserved.
          * See COPYING.txt for license details.
          */
          -->
          <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
          <body>
          <attribute name="class" value="page-products"/>
          <referenceContainer name="content">
          <block class="MagentoCatalogSearchBlockResult" name="search.result" template="Magento_CatalogSearch::result.phtml" cacheable="false">
          <block class="MagentoCatalogSearchBlockSearchResultListProduct" name="search_result_list" template="Magento_Catalog::product/list.phtml" cacheable="false">
          <arguments>
          <!-- If argument's position depends on image size changeable in VDE:
          positions:list-secondary,grid-secondary,list-actions,grid-actions,list-primary,grid-primary
          -->
          <argument name="positioned" xsi:type="string">positions:list-secondary</argument>
          </arguments>
          <block class="MagentoCatalogBlockProductProductListToolbar" name="product_list_toolbar" template="Magento_Catalog::product/list/toolbar.phtml" cacheable="false">
          <block class="MagentoThemeBlockHtmlPager" name="product_list_toolbar_pager" cacheable="false"/>
          </block>
          <action method="setToolbarBlockName">
          <argument name="name" xsi:type="string">product_list_toolbar</argument>
          </action>
          <block class="MagentoFrameworkViewElementRendererList" name="category.product.type.details.renderers" as="details.renderers">
          <block class="MagentoFrameworkViewElementTemplate" name="category.product.type.details.renderers.default" as="default"/>
          </block>
          <block class="MagentoCatalogBlockProductProductListItemContainer" name="catalogsearch.product.addto" as="addto">
          <block class="MagentoCatalogBlockProductProductListItemAddToCompare"
          name="catalogsearch.product.addto.compare" as="compare"
          template="Magento_Catalog::product/list/addto/compare.phtml"/>
          </block>
          </block>
          <action method="setListOrders"/>
          <action method="setListModes"/>
          <action method="setListCollection"/>
          </block>
          </referenceContainer>
          </body>
          </page>


          Don't forget to clean your cache and deploying a static contents



          php bin/magento cache:clean



          php bin/magento setup:static-content:deploy -f






          share|improve this answer























          • Thanks! I have copied file in p/design/frontend/Vendor/theme/Magento_Catalog-search/layout/catalogsearch_result_index.xml and p/design/frontend/Vendor/theme/Magento_Search/layout/catalogsearch_result_index.xml (and run shell comands) but page is still blank ...

            – matin
            Apr 15 '18 at 6:45











          • If I remove file Magento_Theme/layout/default.xml search result page is shown (but my theme is not correct then of course)

            – matin
            Apr 15 '18 at 6:46


















          0














          I could solve it by copying original xml from Magento_Theme/layout/default.xml into my custom theme and remove tag



          <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
          <body>
          <referenceContainer name="header.panel">
          <block class="MagentoFrameworkViewElementHtmlLinks" name="header.links">
          <arguments>
          <argument name="css_class" xsi:type="string">header links</argument>
          </arguments>
          </block>
          </referenceContainer>
          <referenceBlock name="logo">
          <arguments>
          <argument name="logo_img_width" xsi:type="number">148</argument>
          <argument name="logo_img_height" xsi:type="number">43</argument>
          </arguments>
          </referenceBlock>
          <referenceContainer name="footer">
          <block class="MagentoStoreBlockSwitcher" name="store_switcher" as="store_switcher" after="footer_links" template="Magento_Store::switch/stores.phtml"/>
          </referenceContainer>
          <referenceBlock name="report.bugs" remove="true"/>
          <move element="copyright" destination="before.body.end"/>


          .....






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f222310%2fsearch-result-page-blank-page%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            As I see, this xml should not cause a blank page for search page, I doubt about another file ! Please try to add this to your theme:



            app/design/frontend/Vendor/theme/Magento_Catalog-search/layout/catalogsearch_result_index.xml



            <?xml version="1.0"?>
            <!--
            /**
            * Copyright © Magento, Inc. All rights reserved.
            * See COPYING.txt for license details.
            */
            -->
            <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
            <body>
            <attribute name="class" value="page-products"/>
            <referenceContainer name="content">
            <block class="MagentoCatalogSearchBlockResult" name="search.result" template="Magento_CatalogSearch::result.phtml" cacheable="false">
            <block class="MagentoCatalogSearchBlockSearchResultListProduct" name="search_result_list" template="Magento_Catalog::product/list.phtml" cacheable="false">
            <arguments>
            <!-- If argument's position depends on image size changeable in VDE:
            positions:list-secondary,grid-secondary,list-actions,grid-actions,list-primary,grid-primary
            -->
            <argument name="positioned" xsi:type="string">positions:list-secondary</argument>
            </arguments>
            <block class="MagentoCatalogBlockProductProductListToolbar" name="product_list_toolbar" template="Magento_Catalog::product/list/toolbar.phtml" cacheable="false">
            <block class="MagentoThemeBlockHtmlPager" name="product_list_toolbar_pager" cacheable="false"/>
            </block>
            <action method="setToolbarBlockName">
            <argument name="name" xsi:type="string">product_list_toolbar</argument>
            </action>
            <block class="MagentoFrameworkViewElementRendererList" name="category.product.type.details.renderers" as="details.renderers">
            <block class="MagentoFrameworkViewElementTemplate" name="category.product.type.details.renderers.default" as="default"/>
            </block>
            <block class="MagentoCatalogBlockProductProductListItemContainer" name="catalogsearch.product.addto" as="addto">
            <block class="MagentoCatalogBlockProductProductListItemAddToCompare"
            name="catalogsearch.product.addto.compare" as="compare"
            template="Magento_Catalog::product/list/addto/compare.phtml"/>
            </block>
            </block>
            <action method="setListOrders"/>
            <action method="setListModes"/>
            <action method="setListCollection"/>
            </block>
            </referenceContainer>
            </body>
            </page>


            Don't forget to clean your cache and deploying a static contents



            php bin/magento cache:clean



            php bin/magento setup:static-content:deploy -f






            share|improve this answer























            • Thanks! I have copied file in p/design/frontend/Vendor/theme/Magento_Catalog-search/layout/catalogsearch_result_index.xml and p/design/frontend/Vendor/theme/Magento_Search/layout/catalogsearch_result_index.xml (and run shell comands) but page is still blank ...

              – matin
              Apr 15 '18 at 6:45











            • If I remove file Magento_Theme/layout/default.xml search result page is shown (but my theme is not correct then of course)

              – matin
              Apr 15 '18 at 6:46















            0














            As I see, this xml should not cause a blank page for search page, I doubt about another file ! Please try to add this to your theme:



            app/design/frontend/Vendor/theme/Magento_Catalog-search/layout/catalogsearch_result_index.xml



            <?xml version="1.0"?>
            <!--
            /**
            * Copyright © Magento, Inc. All rights reserved.
            * See COPYING.txt for license details.
            */
            -->
            <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
            <body>
            <attribute name="class" value="page-products"/>
            <referenceContainer name="content">
            <block class="MagentoCatalogSearchBlockResult" name="search.result" template="Magento_CatalogSearch::result.phtml" cacheable="false">
            <block class="MagentoCatalogSearchBlockSearchResultListProduct" name="search_result_list" template="Magento_Catalog::product/list.phtml" cacheable="false">
            <arguments>
            <!-- If argument's position depends on image size changeable in VDE:
            positions:list-secondary,grid-secondary,list-actions,grid-actions,list-primary,grid-primary
            -->
            <argument name="positioned" xsi:type="string">positions:list-secondary</argument>
            </arguments>
            <block class="MagentoCatalogBlockProductProductListToolbar" name="product_list_toolbar" template="Magento_Catalog::product/list/toolbar.phtml" cacheable="false">
            <block class="MagentoThemeBlockHtmlPager" name="product_list_toolbar_pager" cacheable="false"/>
            </block>
            <action method="setToolbarBlockName">
            <argument name="name" xsi:type="string">product_list_toolbar</argument>
            </action>
            <block class="MagentoFrameworkViewElementRendererList" name="category.product.type.details.renderers" as="details.renderers">
            <block class="MagentoFrameworkViewElementTemplate" name="category.product.type.details.renderers.default" as="default"/>
            </block>
            <block class="MagentoCatalogBlockProductProductListItemContainer" name="catalogsearch.product.addto" as="addto">
            <block class="MagentoCatalogBlockProductProductListItemAddToCompare"
            name="catalogsearch.product.addto.compare" as="compare"
            template="Magento_Catalog::product/list/addto/compare.phtml"/>
            </block>
            </block>
            <action method="setListOrders"/>
            <action method="setListModes"/>
            <action method="setListCollection"/>
            </block>
            </referenceContainer>
            </body>
            </page>


            Don't forget to clean your cache and deploying a static contents



            php bin/magento cache:clean



            php bin/magento setup:static-content:deploy -f






            share|improve this answer























            • Thanks! I have copied file in p/design/frontend/Vendor/theme/Magento_Catalog-search/layout/catalogsearch_result_index.xml and p/design/frontend/Vendor/theme/Magento_Search/layout/catalogsearch_result_index.xml (and run shell comands) but page is still blank ...

              – matin
              Apr 15 '18 at 6:45











            • If I remove file Magento_Theme/layout/default.xml search result page is shown (but my theme is not correct then of course)

              – matin
              Apr 15 '18 at 6:46













            0












            0








            0







            As I see, this xml should not cause a blank page for search page, I doubt about another file ! Please try to add this to your theme:



            app/design/frontend/Vendor/theme/Magento_Catalog-search/layout/catalogsearch_result_index.xml



            <?xml version="1.0"?>
            <!--
            /**
            * Copyright © Magento, Inc. All rights reserved.
            * See COPYING.txt for license details.
            */
            -->
            <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
            <body>
            <attribute name="class" value="page-products"/>
            <referenceContainer name="content">
            <block class="MagentoCatalogSearchBlockResult" name="search.result" template="Magento_CatalogSearch::result.phtml" cacheable="false">
            <block class="MagentoCatalogSearchBlockSearchResultListProduct" name="search_result_list" template="Magento_Catalog::product/list.phtml" cacheable="false">
            <arguments>
            <!-- If argument's position depends on image size changeable in VDE:
            positions:list-secondary,grid-secondary,list-actions,grid-actions,list-primary,grid-primary
            -->
            <argument name="positioned" xsi:type="string">positions:list-secondary</argument>
            </arguments>
            <block class="MagentoCatalogBlockProductProductListToolbar" name="product_list_toolbar" template="Magento_Catalog::product/list/toolbar.phtml" cacheable="false">
            <block class="MagentoThemeBlockHtmlPager" name="product_list_toolbar_pager" cacheable="false"/>
            </block>
            <action method="setToolbarBlockName">
            <argument name="name" xsi:type="string">product_list_toolbar</argument>
            </action>
            <block class="MagentoFrameworkViewElementRendererList" name="category.product.type.details.renderers" as="details.renderers">
            <block class="MagentoFrameworkViewElementTemplate" name="category.product.type.details.renderers.default" as="default"/>
            </block>
            <block class="MagentoCatalogBlockProductProductListItemContainer" name="catalogsearch.product.addto" as="addto">
            <block class="MagentoCatalogBlockProductProductListItemAddToCompare"
            name="catalogsearch.product.addto.compare" as="compare"
            template="Magento_Catalog::product/list/addto/compare.phtml"/>
            </block>
            </block>
            <action method="setListOrders"/>
            <action method="setListModes"/>
            <action method="setListCollection"/>
            </block>
            </referenceContainer>
            </body>
            </page>


            Don't forget to clean your cache and deploying a static contents



            php bin/magento cache:clean



            php bin/magento setup:static-content:deploy -f






            share|improve this answer













            As I see, this xml should not cause a blank page for search page, I doubt about another file ! Please try to add this to your theme:



            app/design/frontend/Vendor/theme/Magento_Catalog-search/layout/catalogsearch_result_index.xml



            <?xml version="1.0"?>
            <!--
            /**
            * Copyright © Magento, Inc. All rights reserved.
            * See COPYING.txt for license details.
            */
            -->
            <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
            <body>
            <attribute name="class" value="page-products"/>
            <referenceContainer name="content">
            <block class="MagentoCatalogSearchBlockResult" name="search.result" template="Magento_CatalogSearch::result.phtml" cacheable="false">
            <block class="MagentoCatalogSearchBlockSearchResultListProduct" name="search_result_list" template="Magento_Catalog::product/list.phtml" cacheable="false">
            <arguments>
            <!-- If argument's position depends on image size changeable in VDE:
            positions:list-secondary,grid-secondary,list-actions,grid-actions,list-primary,grid-primary
            -->
            <argument name="positioned" xsi:type="string">positions:list-secondary</argument>
            </arguments>
            <block class="MagentoCatalogBlockProductProductListToolbar" name="product_list_toolbar" template="Magento_Catalog::product/list/toolbar.phtml" cacheable="false">
            <block class="MagentoThemeBlockHtmlPager" name="product_list_toolbar_pager" cacheable="false"/>
            </block>
            <action method="setToolbarBlockName">
            <argument name="name" xsi:type="string">product_list_toolbar</argument>
            </action>
            <block class="MagentoFrameworkViewElementRendererList" name="category.product.type.details.renderers" as="details.renderers">
            <block class="MagentoFrameworkViewElementTemplate" name="category.product.type.details.renderers.default" as="default"/>
            </block>
            <block class="MagentoCatalogBlockProductProductListItemContainer" name="catalogsearch.product.addto" as="addto">
            <block class="MagentoCatalogBlockProductProductListItemAddToCompare"
            name="catalogsearch.product.addto.compare" as="compare"
            template="Magento_Catalog::product/list/addto/compare.phtml"/>
            </block>
            </block>
            <action method="setListOrders"/>
            <action method="setListModes"/>
            <action method="setListCollection"/>
            </block>
            </referenceContainer>
            </body>
            </page>


            Don't forget to clean your cache and deploying a static contents



            php bin/magento cache:clean



            php bin/magento setup:static-content:deploy -f







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Apr 14 '18 at 20:24









            PЯINCƏPЯINCƏ

            8,41431145




            8,41431145












            • Thanks! I have copied file in p/design/frontend/Vendor/theme/Magento_Catalog-search/layout/catalogsearch_result_index.xml and p/design/frontend/Vendor/theme/Magento_Search/layout/catalogsearch_result_index.xml (and run shell comands) but page is still blank ...

              – matin
              Apr 15 '18 at 6:45











            • If I remove file Magento_Theme/layout/default.xml search result page is shown (but my theme is not correct then of course)

              – matin
              Apr 15 '18 at 6:46

















            • Thanks! I have copied file in p/design/frontend/Vendor/theme/Magento_Catalog-search/layout/catalogsearch_result_index.xml and p/design/frontend/Vendor/theme/Magento_Search/layout/catalogsearch_result_index.xml (and run shell comands) but page is still blank ...

              – matin
              Apr 15 '18 at 6:45











            • If I remove file Magento_Theme/layout/default.xml search result page is shown (but my theme is not correct then of course)

              – matin
              Apr 15 '18 at 6:46
















            Thanks! I have copied file in p/design/frontend/Vendor/theme/Magento_Catalog-search/layout/catalogsearch_result_index.xml and p/design/frontend/Vendor/theme/Magento_Search/layout/catalogsearch_result_index.xml (and run shell comands) but page is still blank ...

            – matin
            Apr 15 '18 at 6:45





            Thanks! I have copied file in p/design/frontend/Vendor/theme/Magento_Catalog-search/layout/catalogsearch_result_index.xml and p/design/frontend/Vendor/theme/Magento_Search/layout/catalogsearch_result_index.xml (and run shell comands) but page is still blank ...

            – matin
            Apr 15 '18 at 6:45













            If I remove file Magento_Theme/layout/default.xml search result page is shown (but my theme is not correct then of course)

            – matin
            Apr 15 '18 at 6:46





            If I remove file Magento_Theme/layout/default.xml search result page is shown (but my theme is not correct then of course)

            – matin
            Apr 15 '18 at 6:46













            0














            I could solve it by copying original xml from Magento_Theme/layout/default.xml into my custom theme and remove tag



            <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
            <body>
            <referenceContainer name="header.panel">
            <block class="MagentoFrameworkViewElementHtmlLinks" name="header.links">
            <arguments>
            <argument name="css_class" xsi:type="string">header links</argument>
            </arguments>
            </block>
            </referenceContainer>
            <referenceBlock name="logo">
            <arguments>
            <argument name="logo_img_width" xsi:type="number">148</argument>
            <argument name="logo_img_height" xsi:type="number">43</argument>
            </arguments>
            </referenceBlock>
            <referenceContainer name="footer">
            <block class="MagentoStoreBlockSwitcher" name="store_switcher" as="store_switcher" after="footer_links" template="Magento_Store::switch/stores.phtml"/>
            </referenceContainer>
            <referenceBlock name="report.bugs" remove="true"/>
            <move element="copyright" destination="before.body.end"/>


            .....






            share|improve this answer



























              0














              I could solve it by copying original xml from Magento_Theme/layout/default.xml into my custom theme and remove tag



              <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
              <body>
              <referenceContainer name="header.panel">
              <block class="MagentoFrameworkViewElementHtmlLinks" name="header.links">
              <arguments>
              <argument name="css_class" xsi:type="string">header links</argument>
              </arguments>
              </block>
              </referenceContainer>
              <referenceBlock name="logo">
              <arguments>
              <argument name="logo_img_width" xsi:type="number">148</argument>
              <argument name="logo_img_height" xsi:type="number">43</argument>
              </arguments>
              </referenceBlock>
              <referenceContainer name="footer">
              <block class="MagentoStoreBlockSwitcher" name="store_switcher" as="store_switcher" after="footer_links" template="Magento_Store::switch/stores.phtml"/>
              </referenceContainer>
              <referenceBlock name="report.bugs" remove="true"/>
              <move element="copyright" destination="before.body.end"/>


              .....






              share|improve this answer

























                0












                0








                0







                I could solve it by copying original xml from Magento_Theme/layout/default.xml into my custom theme and remove tag



                <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
                <body>
                <referenceContainer name="header.panel">
                <block class="MagentoFrameworkViewElementHtmlLinks" name="header.links">
                <arguments>
                <argument name="css_class" xsi:type="string">header links</argument>
                </arguments>
                </block>
                </referenceContainer>
                <referenceBlock name="logo">
                <arguments>
                <argument name="logo_img_width" xsi:type="number">148</argument>
                <argument name="logo_img_height" xsi:type="number">43</argument>
                </arguments>
                </referenceBlock>
                <referenceContainer name="footer">
                <block class="MagentoStoreBlockSwitcher" name="store_switcher" as="store_switcher" after="footer_links" template="Magento_Store::switch/stores.phtml"/>
                </referenceContainer>
                <referenceBlock name="report.bugs" remove="true"/>
                <move element="copyright" destination="before.body.end"/>


                .....






                share|improve this answer













                I could solve it by copying original xml from Magento_Theme/layout/default.xml into my custom theme and remove tag



                <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
                <body>
                <referenceContainer name="header.panel">
                <block class="MagentoFrameworkViewElementHtmlLinks" name="header.links">
                <arguments>
                <argument name="css_class" xsi:type="string">header links</argument>
                </arguments>
                </block>
                </referenceContainer>
                <referenceBlock name="logo">
                <arguments>
                <argument name="logo_img_width" xsi:type="number">148</argument>
                <argument name="logo_img_height" xsi:type="number">43</argument>
                </arguments>
                </referenceBlock>
                <referenceContainer name="footer">
                <block class="MagentoStoreBlockSwitcher" name="store_switcher" as="store_switcher" after="footer_links" template="Magento_Store::switch/stores.phtml"/>
                </referenceContainer>
                <referenceBlock name="report.bugs" remove="true"/>
                <move element="copyright" destination="before.body.end"/>


                .....







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 15 '18 at 7:00









                matinmatin

                77110




                77110



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f222310%2fsearch-result-page-blank-page%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form