AMP-plugin errors

Posted in: Newspaper
Post count: 2

Hello. I get this error with the new td-amp plugin:

2018/02/15 17:23:57 [error] 8912#0: *581 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Class ‘DOMDocument’ not found in /var/www/website/wp-content/plugins/td-amp/includes/utils/class-amp-dom-utils.php:29
Stack trace:
#0 /var/www/website/wp-content/plugins/td-amp/includes/templates/class-amp-content-sanitizer.php(25): AMP_DOM_Utils::get_dom_from_content(‘<p><a href=”htt…’)
#1 /var/www/website/wp-content/plugins/td-amp/includes/templates/class-amp-content.php(185): AMP_Content_Sanitizer::sanitize(‘<p><a href=”htt…’, Array, Array)
#2 /var/www/website/wp-content/plugins/td-amp/includes/templates/class-amp-content.php(118): AMP_Content->sanitize(‘<p><a href=”htt…’)
#3 /var/www/website/wp-content/plugins/td-amp/includes/templates/class-amp-content.php(76): AMP_Content->transform()
#4 /var/www/website/wp-content/plugins/td-amp/includes/templates/class-amp-post-template.php(409): AMP_Content->__construct(‘<a href=”https:…’, Array, Array, Array)

any clues?

Post count: 23312

Hello Katarsis17,

Please contact your hosting provider and tell them to install the dom extensions for PHP because it’s required.

Thanks for your understanding!

Post count: 2

Great, thanks! Works now.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.