• Resolved passenger

    (@enderax)


    Hi,

    AMP pages have started to give 5XX errors since yesterday.
    I updated to the version 1.0.76.2 but didn’t resolve the issue. I disabled the plugin as a workaround.

    Here are logs from debug:

    [17-Feb-2021 18:47:51 UTC] PHP Fatal error: Uncaught Error: Class ‘DOMDocument’ not found in /var/www/html/XXX/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/utils/class-amp-dom-utils.php:63
    Stack trace:
    #0 /var/www/html/XXX/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/utils/class-amp-dom-utils.php(324): AMPforWP\AMPVendor\AMP_DOM_Utils::get_dom()
    #1 /var/www/html/XXX/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-content.php(114): AMPforWP\AMPVendor\AMP_DOM_Utils::get_dom_from_content()
    #2 /var/www/html/XXX/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-content.php(44): AMPforWP\AMPVendor\AMP_Content_Sanitizer::sanitize()
    #3 /var/www/html/XXX/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-content.php(26): AMPforWP\AMPVendor\AMP_Content->transform()
    #4 /var/www/html/XXX/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-post-templat in /var/www/html/XXX/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/utils/class-amp-dom-utils.php on line 63
    [17-Feb-2021 18:47:51 UTC] PHP Fatal error: Uncaught Error: Class ‘DOMDocument’ not found in /var/www/html/XXX/wp-content/plugins/accelerated-mobile-pages/templates/features.php:8400
    Stack trace:
    #0 /var/www/html/XXX/wp-includes/class-wp-hook.php(287): ampforwp_include_required_scripts()
    #1 /var/www/html/XXX/wp-includes/plugin.php(212): WP_Hook->apply_filters()
    #2 /var/www/html/XXX/wp-content/plugins/accelerated-mobile-pages/includes/features/functions.php(246): apply_filters()
    #3 [internal function]: ampforwp_the_content_filter_full()
    #4 /var/www/html/XXX/wp-includes/functions.php(4755): ob_end_flush()
    #5 /var/www/html/XXX/wp-includes/class-wp-hook.php(287): wp_ob_end_flush_all()
    #6 /var/www/html/XXX/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #7 /var/www/html/XXX/wp-includes/plugin.php(484): WP_Hook->do_action()
    #8 /var/www/html/XXX/wp-includes/load.php(1052): do_action()
    #9 [internal function]: shutdown_action_hook()
    #10 {main}
    thrown in /var/www/html/XXX/wp-content/plugins/accelerated-mobile-pages/templates/features.php on line 8400

    Let me know if you need more information

    • This topic was modified 5 years, 3 months ago by passenger.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP Fatal error: Uncaught Error: Class ‘DOMDocument’ not found in’ is closed to new replies.