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 Apr 9, 2019 at 5:42
  • PHP Version 7.0.30 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 Apr 9, 2019 at 6:54
  • Then the error must be one of your catalog_product_view.xml Apr 9, 2019 at 6:57

Your Answer

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

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