Fatal Error with WooCommerce.
-
A PHP error occurred while trying to prepare the AMP response. This may not be caused by the AMP plugin but by some other active plugin or the current theme. You will need to review the error details to determine the source of the error. - Undefined class constant 'XPATH_MUSTACHE_TEMPLATE_ELEMENTS_QUERY' (0) [Error] #0 /var/www/htdocs/current/wp-content/plugins/amp-enhancer/class-amp-enhancer-form-sanitizer.php(101): AMP_Enhancer_Form_Sanitizer->ensure_response_message_elements(Object(AmpProject\Dom\Element)) #1 /var/www/htdocs/current/wp-content/plugins/amp/includes/templates/class-amp-content-sanitizer.php(147): AMP_Enhancer_Form_Sanitizer->sanitize() #2 /var/www/htdocs/current/wp-content/plugins/amp/includes/class-amp-theme-support.php(2035): AMP_Content_Sanitizer::sanitize_document(Object(AmpProject\Dom\Document), Array, Array) #3 /var/www/htdocs/current/wp-content/plugins/amp/includes/class-amp-theme-support.php(1753): AMP_Theme_Support::prepare_response('<!doctype html>...') #4 [internal function]: AMP_Theme_Support::finish_output_buffering('<!doctype html>...', 9) #5 /var/www/htdocs/current/wp-includes/functions.php(5107): ob_end_flush() #6 /var/www/htdocs/current/wp-includes/class-wp-hook.php(303): wp_ob_end_flush_all('') #7 /var/www/htdocs/current/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #8 /var/www/htdocs/current/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #9 /var/www/htdocs/current/wp-includes/load.php(1097): do_action('shutdown') #10 [internal function]: shutdown_action_hook() #11 {main}
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fatal Error with WooCommerce.’ is closed to new replies.