Undefined property: DOMDocument::$documentElement in Magento 2Magento 2 not working on apache2, php7 and ubuntuMagento 2.0 Static Content Deploy PHP Fatal ErrorDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)error on magento 2 after update php 5 to 7, Warning: require(/var/www/html/vendor/magento/framework/registration.php):?admin grid not workingFatal error: Uncaught RuntimeException:Magento Website ErrorMagento 2.2.7 - PHP Fatal error: Uncaught Error: Class 'DOMDocument' NGINXMagento 2.2.7 NGinx ErrorMagento 2 Installation Error In Docker - File Cannot Be Renamed

Why tantalum for the Hayabusa bullets?

How to innovate in OR

My employer is refusing to give me the pay that was advertised after an internal job move

Why does the Rust compiler not optimize code assuming that two mutable references cannot alias?

Why were contact sensors put on three of the Lunar Module's four legs? Did they ever bend and stick out sideways?

Does dual boot harm a laptop battery or reduce its life?

Do the books ever say oliphaunts aren’t elephants?

What is a good example for artistic ND filter applications?

How can I kill my goat?

What are the cons of stateless password generators?

Newton's cradles

How did the SysRq key get onto modern keyboards if it's rarely used?

Unknown indication below upper stave

Can a US President, after impeachment and removal, be re-elected or re-appointed?

What clothes would flying-people wear?

Would people understand me speaking German all over Europe?

What force enables us to walk? Friction or normal reaction?

How to efficiently shred a lot of cabbage?

Is SecureRandom.ints() secure?

Why force the nose of 737 Max down in the first place?

Is it unprofessional to mention your cover letter and resume are best viewed in Chrome?

Piece of chess engine, which accomplishes move generation

Can Lightning Lure be used to knock out a creature like a magical Taser?

Who said "one can be a powerful king with a very small sceptre"?



Undefined property: DOMDocument::$documentElement in Magento 2


Magento 2 not working on apache2, php7 and ubuntuMagento 2.0 Static Content Deploy PHP Fatal ErrorDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)error on magento 2 after update php 5 to 7, Warning: require(/var/www/html/vendor/magento/framework/registration.php):?admin grid not workingFatal error: Uncaught RuntimeException:Magento Website ErrorMagento 2.2.7 - PHP Fatal error: Uncaught Error: Class 'DOMDocument' NGINXMagento 2.2.7 NGinx ErrorMagento 2 Installation Error In Docker - File Cannot Be Renamed






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0
















Notice: Undefined property: DOMDocument::$documentElement in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php on
line 148



Fatal error: Uncaught TypeError: Argument 1 passed to
MagentoFrameworkConfigDom::_mergeNode() must be an instance of
DOMElement, null given, called in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php on
line 148 and defined in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php:164
Stack trace: #0
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php(148):
MagentoFrameworkConfigDom->_mergeNode(NULL, '') #1
/var/www/html/projectnenny/vendor/magento/framework/Config/Reader/Filesystem.php(151):
MagentoFrameworkConfigDom->merge('_readFiles(Object(MagentoFrameworkConfigFileIterator))
3 /var/www/html/projectnenny/generated/code/Magento/Framework/ObjectManager/Config/Reader/Dom/Proxy.php(95):
MagentoFrameworkConfigReaderFilesystem->read('global') #4
/var/www/html/projectnenny/vendor/magento/framework/Interception/C in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php on
line 164





Normally I use PHP 7.2 for Magento 2. Recently I received a complete
project in Magento that is not running in PHP 7.2, so I change my PHP version to 7.0 also. Install all required extensions in PHP 7.0
version



and when open my project Home page receiving this error.
after that also run all issue related commands like:-



sudo apt-get install php7.0-dom 


and



sudo apt-get install php7.0-xml


but my problem is not solved.



Please help










share|improve this question


























  • What is the magento version of your new project

    – surbhi agr
    Jul 22 at 10:33

















0
















Notice: Undefined property: DOMDocument::$documentElement in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php on
line 148



Fatal error: Uncaught TypeError: Argument 1 passed to
MagentoFrameworkConfigDom::_mergeNode() must be an instance of
DOMElement, null given, called in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php on
line 148 and defined in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php:164
Stack trace: #0
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php(148):
MagentoFrameworkConfigDom->_mergeNode(NULL, '') #1
/var/www/html/projectnenny/vendor/magento/framework/Config/Reader/Filesystem.php(151):
MagentoFrameworkConfigDom->merge('_readFiles(Object(MagentoFrameworkConfigFileIterator))
3 /var/www/html/projectnenny/generated/code/Magento/Framework/ObjectManager/Config/Reader/Dom/Proxy.php(95):
MagentoFrameworkConfigReaderFilesystem->read('global') #4
/var/www/html/projectnenny/vendor/magento/framework/Interception/C in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php on
line 164





Normally I use PHP 7.2 for Magento 2. Recently I received a complete
project in Magento that is not running in PHP 7.2, so I change my PHP version to 7.0 also. Install all required extensions in PHP 7.0
version



and when open my project Home page receiving this error.
after that also run all issue related commands like:-



sudo apt-get install php7.0-dom 


and



sudo apt-get install php7.0-xml


but my problem is not solved.



Please help










share|improve this question


























  • What is the magento version of your new project

    – surbhi agr
    Jul 22 at 10:33













0












0








0









Notice: Undefined property: DOMDocument::$documentElement in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php on
line 148



Fatal error: Uncaught TypeError: Argument 1 passed to
MagentoFrameworkConfigDom::_mergeNode() must be an instance of
DOMElement, null given, called in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php on
line 148 and defined in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php:164
Stack trace: #0
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php(148):
MagentoFrameworkConfigDom->_mergeNode(NULL, '') #1
/var/www/html/projectnenny/vendor/magento/framework/Config/Reader/Filesystem.php(151):
MagentoFrameworkConfigDom->merge('_readFiles(Object(MagentoFrameworkConfigFileIterator))
3 /var/www/html/projectnenny/generated/code/Magento/Framework/ObjectManager/Config/Reader/Dom/Proxy.php(95):
MagentoFrameworkConfigReaderFilesystem->read('global') #4
/var/www/html/projectnenny/vendor/magento/framework/Interception/C in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php on
line 164





Normally I use PHP 7.2 for Magento 2. Recently I received a complete
project in Magento that is not running in PHP 7.2, so I change my PHP version to 7.0 also. Install all required extensions in PHP 7.0
version



and when open my project Home page receiving this error.
after that also run all issue related commands like:-



sudo apt-get install php7.0-dom 


and



sudo apt-get install php7.0-xml


but my problem is not solved.



Please help










share|improve this question

















Notice: Undefined property: DOMDocument::$documentElement in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php on
line 148



Fatal error: Uncaught TypeError: Argument 1 passed to
MagentoFrameworkConfigDom::_mergeNode() must be an instance of
DOMElement, null given, called in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php on
line 148 and defined in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php:164
Stack trace: #0
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php(148):
MagentoFrameworkConfigDom->_mergeNode(NULL, '') #1
/var/www/html/projectnenny/vendor/magento/framework/Config/Reader/Filesystem.php(151):
MagentoFrameworkConfigDom->merge('_readFiles(Object(MagentoFrameworkConfigFileIterator))
3 /var/www/html/projectnenny/generated/code/Magento/Framework/ObjectManager/Config/Reader/Dom/Proxy.php(95):
MagentoFrameworkConfigReaderFilesystem->read('global') #4
/var/www/html/projectnenny/vendor/magento/framework/Interception/C in
/var/www/html/projectnenny/vendor/magento/framework/Config/Dom.php on
line 164





Normally I use PHP 7.2 for Magento 2. Recently I received a complete
project in Magento that is not running in PHP 7.2, so I change my PHP version to 7.0 also. Install all required extensions in PHP 7.0
version



and when open my project Home page receiving this error.
after that also run all issue related commands like:-



sudo apt-get install php7.0-dom 


and



sudo apt-get install php7.0-xml


but my problem is not solved.



Please help







magento2 php-7 php-7.2 dom






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 22 at 10:26









Raj Mohan R

1,7473 silver badges13 bronze badges




1,7473 silver badges13 bronze badges










asked Jul 20 at 6:36









Mahendar SinghMahendar Singh

407 bronze badges




407 bronze badges















  • What is the magento version of your new project

    – surbhi agr
    Jul 22 at 10:33

















  • What is the magento version of your new project

    – surbhi agr
    Jul 22 at 10:33
















What is the magento version of your new project

– surbhi agr
Jul 22 at 10:33





What is the magento version of your new project

– surbhi agr
Jul 22 at 10:33










0






active

oldest

votes














Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f282703%2fundefined-property-domdocumentdocumentelement-in-magento-2%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f282703%2fundefined-property-domdocumentdocumentelement-in-magento-2%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form