Magento 2 CE Latest Release – Creating DOMDocument Object

magento2

After I installed final Magento2 CE I got error as Object DOMDocument should be created . Anyone knows why? This is working fine in previous release version and there is sudden change when i transfer my module here.

Best Answer

In Magento 2.0.0 CE there are many changes are done.

You have to check for your module all .xml file. XML file header defination are changed.

You have to check all xml file xsi:noNamespaceSchemaLocation value from latest version core module and set that value in xml file.

    xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd".

You have to set new value for above location in your module all xml file.Your issue are solved after change xml value.

Also registation.php and composer.json file must need in module root.
Related Topic