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

asked Feb 14, 2019 at 13:08

1 Answer 1

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.

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

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.