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

Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

Log in Navigation menu

Invalid response line returned from server: HTTP/2 401 | ErrorPlease Please Help With Error 500 Internal Server Error after upgrading from 1.7 to 1.9Unable to place new customer orders in admin backendMagento - For “Manage Categories” Forbidden You do not have permission to access this documentHTTP ERROR 500 when using require(_once) app/Mage.phpMemcached causing Web Setup Wizard ErrorCould not create an acl object: Invalid XMLAn error occurred on the server. Please try to place the order againInvalid response line returned from server: HTTP/2 200 - message after update to 2.1.7Magento-CE 2.3.0 installation error on XamppMagento 2.2.6- After Migration all default Payment Methods are not working fine