• Hello,
    it seems that 0.9.97.52 introduced a fatal error while trying to render AMP page when comments are present.

    I get:


    Fatal error: Uncaught Error: Class 'AMP_Rev_Slider_Embed_Handler' not found in ***/public_html/wp-content/plugins/accelerated-mobile-pages/templates/custom-sanitizer.php:71 Stack trace: #0 ***/public_html/wp-content/plugins/accelerated-mobile-pages/templates/custom-sanitizer.php(46): AMPFORWP_Content->register_embed_handlers() #1 ***/public_html/wp-content/plugins/accelerated-mobile-pages/templates/custom-sanitizer.php(27): AMPFORWP_Content->transform() #2 ***/public_html/wp-content/plugins/accelerated-mobile-pages/templates/features.php(6542): AMPFORWP_Content->__construct('<p>Bardzo cieka...', Array, Array) #3 ***/public_html/wp-includes/class-wp-hook.php(286): ampforwp_comments_sanitizer(3892) #4 ***/public_html/wp-includes/ in ***/public_html/wp-content/plugins/accelerated-mobile-pages/templates/custom-sanitizer.php on line 71

    While I use Revolution Slider on my site, it’s nowhere to be found on posts.

    Posts without comments (0) render fine. Posts with comments render fatal error.

    I’m also using wpDiscuz for comments. However, disabling wpDiscuz doesn’t fix the problem.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘0.9.97.52 fatal error on posts with comments present’ is closed to new replies.