Support » Plugin: Web Stories » Fatal error: Uncaught Error: Call to a member function setAttribute() on null

  • Resolved complex economy

    (@complex-economy)


    Fatal error: Uncaught Error: Call to a member function setAttribute() on null in /wp-content/plugins/web-stories/includes/AMP/Traits/Sanitization_Utils.php:48 Stack trace: #0 /wp-content/plugins/web-stories/includes/AMP/Integration/AMP_Story_Sanitizer.php(52): Google\Web_Stories\AMP\Integration\AMP_Story_Sanitizer->transform_html_start_tag(Object(DOMDocument)) #1 /wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-content.php(135): Google\Web_Stories\AMP\Integration\AMP_Story_Sanitizer->sanitize() #2 /wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-content.php(100): AMPforWP\AMPVendor\AMP_Content_Sanitizer::sanitize(‘<p><html amp=””…’, Array, Array) #3 /wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-content. in wp-content/plugins/web-stories/includes/AMP/Traits/Sanitization_Utils.php on line 48

    blog_charset UTF-8

    AMP Plugin: Accelerated Mobile Pages

    Also tested it with the official AMP plugin, but it also didn’t work.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Uncaught Error: Call to a member function setAttribute() on null’ is closed to new replies.