0

On setting developer mode this error is displaying want to find the files which are causing this error what should I do remove this error.

[2019-02-14 12:58:34] main.INFO: Cache file with merged layout: LAYOUT_frontend_STORE1_4e8c25a3874faeb17115e71caadc75f22 and handles default, catalog_category_view, catalog_category_view_type_layered, catalog_category_view_type_layered_without_children, catalog_category_view_id_462: Please correct the XML data and try again. Element 'arguments': Missing child element(s). Expected is ( argument ). Line: 852

Also this error

Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'move': This element is not expected. Line: 64

1

According to your error, you somewhere (in layout) used arguments without argument.

Ex.


<block class="Magento\Cookie\Block\RequireCookie" name="require-cookie" template="Magento_Cookie::require_cookie.phtml">
    <arguments>
        <argument name="triggers" xsi:type="array">
            <item name="compareProductLink" xsi:type="string">.action.tocompare</item>
        </argument>
    </arguments>
</block>

But you missed <argument name="triggers" xsi:type="array"> part.

Now you need to correct your xml and clear the cache.

  • ok let me check – sourabh yadav Feb 14 at 13:15
  • Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'move': This element is not expected. Line: 64 and about this error ?? – sourabh yadav Feb 14 at 15:46

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.