Hello,
DOMDocument is a PHP class (https://www.php.net/manual/en/class.domdocument.php) available in the PHP XML extension. You need to install and enable this PHP extension on your server.
We recommend you run the check.php script included in the package on your server, which checks if the required PHP extensions are installed.
Regards.