• Resolved byothe

    (@byothe)


    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 136

    Thank you for your help,

    • This topic was modified 7 years ago by byothe.

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

Viewing 1 replies (of 1 total)
  • Plugin Author Mohammed Kaludi

    (@mohammed_kaludi)

    We have fixed this issue in the latest update, so please update the pluign to the latest version(0.9.97.53) and do let us know.

Viewing 1 replies (of 1 total)

The topic ‘Fatal error: Uncaught TypeError’ is closed to new replies.