Failed to prepare AMP page

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.

If you get stuck, you may want to share any details in a new topic on the plugin's support forum.


Call to undefined function ctype_upper() (0) [Error]
/hermes/bosnacweb08/bosnacweb08ba/b1444/ipg.infowebexplorecom/foxcrawl/wp-content/plugins/amp/includes/sanitizers/class-amp-style-sanitizer.php:750

#0 /hermes/bosnacweb08/bosnacweb08ba/b1444/ipg.infowebexplorecom/foxcrawl/wp-content/plugins/amp/includes/sanitizers/class-amp-style-sanitizer.php(3611): AMP_Style_Sanitizer->has_used_class_name(Array)
#1 /hermes/bosnacweb08/bosnacweb08ba/b1444/ipg.infowebexplorecom/foxcrawl/wp-content/plugins/amp/includes/sanitizers/class-amp-style-sanitizer.php(3098): AMP_Style_Sanitizer->finalize_stylesheet_group(0, Array)
#2 /hermes/bosnacweb08/bosnacweb08ba/b1444/ipg.infowebexplorecom/foxcrawl/wp-content/plugins/amp/includes/sanitizers/class-amp-style-sanitizer.php(1027): AMP_Style_Sanitizer->finalize_styles()
#3 /hermes/bosnacweb08/bosnacweb08ba/b1444/ipg.infowebexplorecom/foxcrawl/wp-content/plugins/amp/includes/templates/class-amp-content-sanitizer.php(147): AMP_Style_Sanitizer->sanitize()
#4 /hermes/bosnacweb08/bosnacweb08ba/b1444/ipg.infowebexplorecom/foxcrawl/wp-content/plugins/amp/includes/class-amp-theme-support.php(2014): AMP_Content_Sanitizer::sanitize_document(Object(AmpProject\Dom\Document), Array, Array)
#5 /hermes/bosnacweb08/bosnacweb08ba/b1444/ipg.infowebexplorecom/foxcrawl/wp-content/plugins/amp/includes/class-amp-theme-support.php(1732): AMP_Theme_Support::prepare_response('<!doctype html>...')
#6 [internal function]: AMP_Theme_Support::finish_output_buffering('<!doctype html>...', 9)
#7 /hermes/bosnacweb08/bosnacweb08ba/b1444/ipg.infowebexplorecom/foxcrawl/wp-includes/functions.php(5373): ob_end_flush()
#8 /hermes/bosnacweb08/bosnacweb08ba/b1444/ipg.infowebexplorecom/foxcrawl/wp-includes/class-wp-hook.php(324): wp_ob_end_flush_all('')
#9 /hermes/bosnacweb08/bosnacweb08ba/b1444/ipg.infowebexplorecom/foxcrawl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#10 /hermes/bosnacweb08/bosnacweb08ba/b1444/ipg.infowebexplorecom/foxcrawl/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 /hermes/bosnacweb08/bosnacweb08ba/b1444/ipg.infowebexplorecom/foxcrawl/wp-includes/load.php(1260): do_action('shutdown')
#12 [internal function]: shutdown_action_hook()
#13 {main}

Go to non-AMP version