I'm getting the below error while access the website.
Fatal error: Uncaught Error: Class 'DOMDocument' not found in /home/rugsahos/public_html/vendor/magento/framework/Config/Dom.php:384 Stack trace: #0 /home/rugsahos/public_html/vendor/magento/framework/Config/Dom.php(115): Magento\Framework\Config\Dom->_initDom('__construct('_createConfigMerger('Magento\Framewo...', '_readFiles(Object(Magento\Framework\Config\FileIterator)) #4 /home/rugsahos/public_html/vendor/magento/framework/App/ObjectManagerFactory.php(275): Magento\Framework\Config in /home/rugsahos/public_html/vendor/magento/framework/Config/Dom.php on line 384
Can you please let me know the proper solution for this error?