0

I have installed fresh magento 2 in my local server. Now when i am trying to reindex from my terminal in Ubuntu its givng error i.e.:

PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found

Prior i have installed magento 2, but it was working fine.

enter image description here

1
  • check your layout xml , there can be mismatch opening and closing tag. Commented Jun 12, 2017 at 6:48

1 Answer 1

2

I think your php DOM extension missing please check whether the extension is enabled and listed using the command php -m.

Check the below URL's for needed php extensions for magento2

1.http://devdocs.magento.com/guides/v2.1/install-gde/system-requirements-tech.html#required-php-extensions

2.http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements-tech.html#required-php-extensions

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.