I'm getting this error:
Uncaught Error: Class 'DOMDocument' not found in /home/hgfvhx/public_html/vendor/magento/framework/Config/Dom.php:384
Stack trace:
#0 /home/hgfvhx/public_html/vendor/magento/framework/Config/Dom.php(115): Magento\Framework\Config\Dom->_initDom('<?xml version="...')
#1 /home/hgfvhx/public_html/vendor/magento/framework/ObjectManager/Config/Reader/Dom.php(70): Magento\Framework\Config\Dom->__construct('<?xml version="...', Object(Magento\Framework\App\Arguments\ValidationState), Array, 'xsi:type', NULL)
#2 /home/hgfvhx/public_html/vendor/magento/framework/Config/Reader/Filesystem.php(149): Magento\Framework\ObjectManager\Config\Reader\Dom->_createConfigMerger('Magento\\Framewo...', '<?xml version="...')
#3 /home/hgfvhx/public_html/vendor/magento/framework/Config/Reader/Filesystem.php(130): Magento\Framework\Config\Reader\Filesystem->_readFiles(Object(Magento\Framework\Config\FileIterator))
#4 /home/hgfvhx/public_html/vendor/magento/framework/App/ObjectManagerFactory.php(275): Magento\Framework\Config\Reader\File in /home/hgfvhx/public_html/vendor/magento/framework/Config/Dom.php on line 384
PHP extensions:-
xmlreader:enabled
xmlrpc: enabled
xsl: enabled
dom: enabled
what the problem take all day searching no solutions worked :/.