my system log says:

[2016-07-07 06:57:49] main.INFO: Cache file with merged layout: LAYOUT_frontend_STORE1_3bc116a8dbf5ce43f9f3e452fa24f453b and handles default, tglssearch_result_index: Please correct the XML data and try again.  [] []

[2016-07-07 06:57:49] main.INFO: Cache file with merged layout: LAYOUT_frontend_STORE1_3a7ccd8094436548b564a588f6303121c and handles 2columns-left: Please correct the XML data and try again.  [] []

My custom layout file :

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <referenceContainer name="content">
        <block class="Vendor\Module\Block\Navigation" before="-" name="catalogsearch.leftnav" template="Vendor_Module::search/filter.phtml" />

Could someone please help on this .


I think the block's template attribute must be named

| improve this answer | |

Here is might be a problem:

//case #1

$this->_domConfigFactory->createDom(['xml' => $value, 'schemaFile' => $this->_xsdSchemas[$schema]]);

//case #2

$result = $dom->schemaValidate($schema);

So, merged XML doesn't match to required schema file. I got the same problem. Seem, merged native files might have some issues as well.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.