Error
-
Hello
I use AMP in summer Twenty Twenty theme website
He always presented an error at the end of the site, after the footer, with the code belo. What can I do?Fatal error: Uncaught Error: Call to undefined method DOMNodeList::count() in /home2/gustavors/public_html/wp-content/plugins/amp/includes/sanitizers/class-amp-core-theme-sanitizer.php:1597 Stack trace: #0 /home2/gustavors/public_html/wp-content/plugins/amp/includes/sanitizers/class-amp-core-theme-sanitizer.php(522): AMP_Core_Theme_Sanitizer->add_twentytwenty_modals(Array) #1 /home2/gustavors/public_html/wp-content/plugins/amp/includes/templates/class-amp-content-sanitizer.php(117): AMP_Core_Theme_Sanitizer->sanitize() #2 /home2/gustavors/public_html/wp-content/plugins/amp/includes/class-amp-theme-support.php(2275): AMP_Content_Sanitizer::sanitize_document(Object(DOMDocument), Array, Array) #3 /home2/gustavors/public_html/wp-content/plugins/amp/includes/class-amp-theme-support.php(1963): AMP_Theme_Support::prepare_response(‘<!DOCTYPE html>…’) #4 [internal function]: AMP_Theme_Support::finish_output_buffering(‘<!DOCTYPE html>…’, 9) #5 /home2/gustavors/public_html/wp-includes/functions.php(4483): ob_end_flush() #6 /home in /home2/gustavors/public_html/wp-content/plugins/amp/includes/sanitizers/class-amp-core-theme-sanitizer.php on line 1597
The page I need help with: [log in to see the link]
- The topic ‘Error’ is closed to new replies.