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

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

Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?