• Resolved Ayobami Sodiq

    (@drinoayo)


    Hi,

    Please, I’m unable to access my AMP pages for my posts. It was actually working before but it just stopped working.

    Once is try to access a page with amp e.g [ redundant link removed ]

    It shows this error

    Uncaught Error: Call to a member function setAttribute() on null in /home/globdkbm/public_html/wp-content/plugins/amp/includes/sanitizers/class-amp-dev-mode-sanitizer.php on line 33
    sanitize()
    wp-content/plugins/amp/includes/templates/class-amp-content-sanitizer.php:117
    sanitize_document()
    wp-content/plugins/amp/includes/templates/class-amp-content.php:213
    sanitize()
    wp-content/plugins/amp/includes/templates/class-amp-content.php:132
    transform()
    wp-content/plugins/amp/includes/templates/class-amp-content.php:79
    __construct()
    wp-content/plugins/amp/includes/templates/class-amp-post-template.php:329
    build_post_content()
    wp-content/plugins/amp/includes/templates/class-amp-post-template.php:142
    __construct()
    wp-content/plugins/amp/amp.php:693
    amp_render_post()
    wp-content/plugins/amp/amp.php:641
    amp_render()
    wp-includes/class-wp-hook.php:288
    apply_filters()
    wp-includes/class-wp-hook.php:312
    do_action()
    wp-includes/plugin.php:478
    do_action()
    wp-includes/template-loader.php:13
    require_once()
    wp-blog-header.php:19
    require()
    index.php:17
    There has been a critical error on your website.

    Please what’s the solution to this.

    • This topic was modified 4 years, 8 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 31 through 32 (of 32 total)
Viewing 2 replies - 31 through 32 (of 32 total)
  • The topic ‘I Can’t Access My AMP Pages’ is closed to new replies.