Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'count': This element is not expected. Expected is ( argument ). Line: 1077

  • Whether is it a fresh instance. Php version please Commented Apr 9, 2019 at 5:42
  • PHP Version 7.0.30 Commented Apr 9, 2019 at 6:50

1 Answer 1


You have error in one of your xml files, where you have specified a 'count' node in wrong place. Please check one xml you've recently modified or search for xml for 'count' keyword.

  • this issue show only product list page...for this reason we replace magento catalog module from luma theme...but error is still showing...@Vivek Kumar Commented Apr 9, 2019 at 6:54
  • Then the error must be one of your catalog_product_view.xml Commented Apr 9, 2019 at 6:57

Your Answer

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

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