In one of my website on nginx it is showing the below error in amp url, is this same error? will this also be fixed in the next release?
Screenshot: https://prntscr.com/gs6j5k
Fatal error: Uncaught Error: Class ‘DOMDocument’ not found in /home/WEBSITE/wp/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/utils/class-amp-dom-utils.php:7 Stack trace: #0 /home/WEBSITE/wp/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-content.php(98): AMP_DOM_Utils::get_dom_from_content(‘<p>WordPress 4….’) #1 /home/WEBSITE/wp/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-content.php(85): AMP_Content_Sanitizer::sanitize(‘<p>WordPress 4….’, Array, Array) #2 /home/WEBSITE/wp/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-content.php(46): AMP_Content->sanitize(‘<p>WordPress 4….’) #3 /home/WEBSITE/wp/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-content.php(22): AMP_Content->transform() #4 /home/WEBSITE/wp/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-post-template.php(242): AMP_Content->__const in /home/WEBSITE/wp/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/utils/class-amp-dom-utils.php on line 7