I'm trying to login in Magento 2 Admin Panel when I try to login to Admin Panel firstly the login page comes perfectly like

enter image description here

but after when I logged In it gives me an error

Exception #0 (Magento\Framework\Exception\LocalizedException): Object DOMDocument should be created.

you can also see the error in the image below
enter image description here now what is the problem n how can I solve this? Thanks

| improve this question | | | | |
  • Share your code. I think something is missing in your XML. – Chirag Patel Jun 10 '19 at 6:49
  • which XML file? – Asad Khan Jun 10 '19 at 7:04
  • As per your question screen-shoot. you have done customization in the admin login form. so it might be a chance something is missing or wrong. – Chirag Patel Jun 10 '19 at 7:07
  • this exception came because of you have a mistake in .xml file – divya sekar Jun 10 '19 at 7:12
  • Share your log file error. – Chirag Patel Jun 10 '19 at 7:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.