Error: Class 'DOMDocument' not found in Drupal\Component\Utility\Html::load() (line 286 of core/lib/Drupal/Component/Utility/Html.php)
That sound like it can't find php Dom extension, to get that try sudo apt-get install php-xml, it should solve your problem