Fatal error: Uncaught TypeError
-
Hello,
First of all, thank you for this really good pluggin !
I am encountering an error on one of my AMP page… I have no idea what the problem is. I have this message (you cans see it directly on the page) :
Fatal error: Uncaught TypeError: Argument 1 passed to DOMNode::replaceChild() must be an instance of DOMNode, string given in /datas/vol2/w4a138130/var/www/byothe.fr/htdocs/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/sanitizers/class-amp-gallery-block-sanitizer.php:136 Stack trace: #0 /datas/vol2/w4a138130/var/www/byothe.fr/htdocs/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/sanitizers/class-amp-gallery-block-sanitizer.php(136): DOMNode->replaceChild('', Object(DOMElement)) #1 /datas/vol2/w4a138130/var/www/byothe.fr/htdocs/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-content.php(129): AMPforWP\AMPVendor\AMP_Gallery_Block_Sanitizer->sanitize() #2 /datas/vol2/w4a138130/var/www/byothe.fr/htdocs/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-content.php(94): AMPforWP\AMPVendor\AMP_Content_Sanitizer::sanitize('<div class='mai...', Array, Array) #3 /datas/vol2/w4a138130/var/www/byothe.fr/htdocs/wp-c in /datas/vol2/w4a138130/var/www/byothe.fr/htdocs/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/sanitizers/class-amp-gallery-block-sanitizer.php on line 136Thank you for your help,
The page I need help with: [log in to see the link]
The topic ‘Fatal error: Uncaught TypeError’ is closed to new replies.