Support » Plugin: AMP » AMP Validated URL, URL validation failed

  • Resolved thumbwind


    I’m getting this message when trying to run AMP validation:

    AMP Validated URL
    URL validation failed due to the AMP validation request not returning JSON data. This may be due to a PHP fatal error occurring. Please check your server PHP error logs; to do this you may need to enable WP_DEBUG_LOG. If you are stuck, please search the support forum for possible related topics, or otherwise start a new support topic including the error message, the URL to your site, and your active theme/plugins. Please include your Site Health Info.

    ### wp-core ###
    version: 5.8.1
    site_language: en_US
    user_language: en_US
    timezone: America/Detroit
    permalink: /%year%/%monthnum%/%day%/%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 9
    dotorg_communication: true
    ### wp-paths-sizes ###
    wordpress_path: /wordpress/core/5.8.1
    wordpress_size: 50.42 MB (52869556 bytes)
    uploads_path: /srv/htdocs/wp-content/uploads
    uploads_size: 12.91 GB (13862412364 bytes)
    themes_path: /srv/htdocs/wp-content/themes
    themes_size: 24.35 MB (25531266 bytes)
    plugins_path: /srv/htdocs/wp-content/plugins
    plugins_size: 488.93 MB (512680599 bytes)
    database_size: 747.36 MB (783663104 bytes)
    wpcomsh-disk-space-used: 14.6 GB
    wpcomsh-disk-space-quota: 200.0 GB
    ### wp-dropins (2) ###
    advanced-cache.php: true
    object-cache.php: true
    ### wp-active-theme ###
    name: GeneratePress (generatepress)
    version: 3.0.4
    author: Tom Usborne
    parent_theme: none
    theme_features: core-block-patterns, widgets-block-editor, custom-line-height, automatic-feed-links, post-thumbnails, post-formats, woocommerce, title-tag, html5, customize-selective-refresh-widgets, align-wide, responsive-embeds, custom-logo, menus, editor-style, widgets
    theme_path: /srv/htdocs/wp-content/themes/generatepress
    auto_update: Disabled
    ### wp-themes-inactive (10) ###
    Canard: version: 1.0.12-wpcom, author: Automattic, Updates managed by
    Neve: version: 3.0.5, author: ThemeIsle (latest version: 3.0.6), Auto-updates disabled
    Twenty Eleven: version: 3.9, author: the WordPress team, Auto-updates disabled
    Twenty Fifteen: version: 3.0, author: the WordPress team, Auto-updates disabled
    Twenty Fourteen: version: 3.0-wpcom, author: the WordPress team, Updates managed by
    Twenty Nineteen: version: 2.1, author: the WordPress team, Auto-updates disabled
    Twenty Sixteen: version: 2.5, author: the WordPress team, Auto-updates disabled
    Twenty Twelve: version: 3.3-wpcom, author: the WordPress team, Updates managed by
    Twenty Twenty: version: 1.8, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-One: version: 1.4, author: the WordPress team, Auto-updates disabled
    ### wp-mu-plugins (1) ### Site Helper: author: (undefined), version: (undefined)
    ### wp-plugins-active (23) ###
    301 Redirects Pro: version: 5.88, author: WebFactory Ltd, Auto-updates disabled
    Ad Inserter: version: 2.7.4, author: Igor Funa, Auto-updates disabled
    Ads.txt Manager: version: 1.3.0, author: 10up, Auto-updates disabled
    Akismet Anti-Spam: version: 4.2.1, author: Automattic, Updates managed by
    AMP: version: 2.1.4, author: AMP Project Contributors, Updates managed by version: 1.0.6, author:, Auto-updates disabled
    Export All URLs: version: 4.1, author: Atlas Gondal, Auto-updates disabled
    Ezoic: version: 2.5.14, author: Ezoic Inc., Auto-updates enabled
    Facebook for WordPress: version: 3.0.6, author: Facebook, Auto-updates disabled
    Featured Images in RSS for Mailchimp & More: version: 1.5.8, author: 5 Star Plugins, Auto-updates disabled
    Gutenberg: version: 11.7.1, author: Gutenberg Team, Updates managed by
    Jetpack: version: 10.3-a.3, author: Automattic, Updates managed by
    Media File Renamer: version: 5.3.2, author: Jordy Meow, Auto-updates disabled
    PixelYourSite: version: 8.2.8, author: PixelYourSite, Auto-updates enabled
    PixelYourSite Pinterest: version: 3.2.2, author: PixelYourSite, Auto-updates enabled
    Recipe Card Blocks for Gutenberg & Elementor: version: 2.8.8, author: WPZOOM, Auto-updates disabled
    Site Kit by Google: version: 1.43.0, author: Google, Auto-updates disabled
    Spreaker Shortcode: version: 1.8.0, author: Spreaker, Auto-updates disabled
    Stackable - Gutenberg Blocks: version: 3.0.3, author: Gambit Technologies, Inc, Auto-updates disabled
    Web Stories: version: 1.13.0, author: Google, Auto-updates disabled Editing Toolkit: version: 3.17411, author: Automattic, Updates managed by
    Yoast SEO: version: 17.4, author: Team Yoast, Updates managed by
    Yoast SEO Premium: version: 17.4, author: Team Yoast, Auto-updates enabled
    ### wp-plugins-inactive (12) ###
    Classic Editor: version: 1.6.2, author: WordPress Contributors, Updates managed by
    Cloudflare: version: 4.6.0, author: Cloudflare, Inc., Auto-updates disabled
    CoBlocks: version: 2.18.1, author: GoDaddy, Updates managed by
    Imagify: version: 1.10, author: WP Media, Auto-updates disabled
    Instant Articles for WP: version: 4.2.1, author: Automattic, Dekode, Facebook, Auto-updates disabled
    Layout Grid: version: 1.7, author: Automattic, Updates managed by
    Nimble Page Builder: version: 3.1.27, author: Press Customizr, Auto-updates disabled
    Page Optimize: version: 0.5.1, author: Automattic, Updates managed by
    WooCommerce: version: 5.8.0, author: Automattic, Updates managed by
    WooCommerce Shipping & Tax: version: 1.25.19, author: WooCommerce, Updates managed by
    WooCommerce Stripe Gateway: version: 5.7.0, author: WooCommerce, Updates managed by
    WP Rocket: version: 3.8.8, author: WP Media, Auto-updates disabled
    ### wp-media ###
    image_editor: Photon_Subsizes_WP_Image_Editor_GD
    imagick_module_version: Not available
    imagemagick_version: Not available
    imagick_version: Not available
    file_uploads: File uploads is turned off
    post_max_size: 2047M
    upload_max_filesize: 2047M
    max_effective_size: 2 GB
    max_file_uploads: 20
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP
    ghostscript_version: not available
    ### wp-server ###
    server_architecture: Linux 4.9.0-11-amd64 x86_64
    httpd_software: nginx
    php_version: 7.4.25 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 6144
    time_limit: 1200
    memory_limit: 512M
    max_input_time: 1200
    upload_max_filesize: 2047M
    php_post_max_size: 2047M
    curl_version: 7.78.0 OpenSSL/1.1.0l
    suhosin: false
    imagick_availability: false
    pretty_permalinks: true
    ### wp-database ###
    extension: mysqli
    server_version: 10.3.21-MariaDB-log
    client_version: mysqlnd 7.4.25
    ### wp-constants ###
    WP_CONTENT_DIR: /srv/htdocs/wp-content
    WP_PLUGIN_DIR: /srv/htdocs/wp-content/plugins
    WP_DEBUG: false
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    DB_CHARSET: latin1
    DB_COLLATE: latin1_swedish_ci
    ### wp-filesystem ###
    wordpress: not writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    ### jetpack ###
    site_id: 11017192
    ssl_cert: No
    time_diff: undefined
    version_option: 10.3-a.3:1634661432
    old_version: 10.2:1633469081
    public: Private
    master_user: #1 thumbwind
    current_user: #1 thumbwind
    tokens_set: Blog User
    blog_token: O1LNY1Td5Nsm3bnzq)d7b0QUAkyXyHUF
    user_token: lMF9vsIPw9ug6mziyObzH@H(PBH*t^Ns
    version: 10.3-a.3
    jp_plugin_dir: /wordpress/plugins/jetpack/10.3-a.3/
    plan: business
    protect_header: ""
    full_sync: {"started":"Mon, 03 May 2021 10:38:26 +0000","finished":"Mon, 03 May 2021 11:08:34 +0000","progress":{"constants":{"finished":true},"functions":{"finished":true},"options":{"finished":true},"updates":{"finished":true},"themes":{"finished":true},"users":{"total":"9","sent":9,"finished":true,"last_sent":"1"},"terms":{"total":"10941","sent":10941,"finished":true,"last_sent":"1"},"posts":{"total":"14559","sent":14559,"finished":true,"last_sent":"2"},"comments":{"total":"772","sent":772,"finished":true,"last_sent":"2"},"term_relationships":{"total":"11187","sent":11187,"finished":true,"last_sent":{"object_id":"2","term_taxonomy_id":"1"}}},"config":{"constants":1,"functions":1,"options":1,"updates":1,"themes":1,"users":1,"terms":1,"posts":1,"comments":1,"term_relationships":1}}
    sync_size: undefined
    sync_lag: 0 seconds
    full_sync_size: undefined
    full_sync_lag: 0 seconds
    idc_urls: {"home":"https:\/\/","siteurl":"https:\/\/","WP_HOME":"https:\/\/","WP_SITEURL":"https:\/\/"}
    idc_error_option: false
    idc_optin: true
    cxn_tests: All Pass.
    ### google-site-kit ###
    version: 1.43.0
    php_version: 7.4.25
    wp_version: 5.8.1
    amp_mode: secondary
    site_status: connected-site
    user_status: authenticated
    verification_status: verified-non-site-kit
    connected_user_count: 1
    active_modules: site-verification, search-console, adsense, analytics, analytics-4, pagespeed-insights, optimize, tagmanager
    	openid: ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
    	googlesitekit_authenticate: ✅
    	googlesitekit_setup: ✅
    	googlesitekit_view_posts_insights: ✅
    	googlesitekit_view_dashboard: ✅
    	googlesitekit_view_module_details: ✅
    	googlesitekit_manage_options: ✅
    	ga4setup: ✅
    	ideaHubModule: ⭕
    	serviceSetupV2: ⭕
    	swgModule: ⭕
    	userInput: ⭕
    	unifiedDashboard: ⭕
    adsense_account_id: pub-724•••••••••••••
    adsense_client_id: ca-pub-724•••••••••••••
    adsense_account_status: approved
    adsense_use_snippet: yes
    adsense_web_stories_adunit_id: none
    analytics_account_id: 2554••••
    analytics_property_id: UA-3020••••••
    analytics_profile_id: 5773••••
    analytics_use_snippet: no
    analytics_4_property_id: none
    analytics_4_web_data_stream_id: none
    analytics_4_measurement_id: none
    analytics_4_use_snippet: yes
    optimize_id: none
    tagmanager_account_id: 4701••••••
    tagmanager_container_id: GTM-PC6••••
    tagmanager_amp_container_id: GTM-TKJ••••
    tagmanager_use_snippet: yes
    ### amp_wp ###
    amp_slug_query_var: amp
    amp_slug_defined_late: false
    amp_mode_enabled: reader
    amp_reader_theme: neve
    amp_templates_enabled: post, page, attachment, is_singular, is_home, is_archive, is_author, is_date, is_search, is_404, is_category, is_tag, is_post_type_archive[web-story]
    amp_serve_all_templates: true
    amp_css_transient_caching_disabled: n/a
    amp_css_transient_caching_threshold: 5000 transients per day
    amp_css_transient_caching_sampling_range: 14 days
    amp_css_transient_caching_transient_count: undefined
    amp_libxml_version: 2.9.4
    ### web_stories ###
    web_stories_version: 1.13.0
    web_stories_db_version: 3.0.13
    web_stories_amp_version: 2.1.4
    web_stories_dev_mode: false
    web_stories_theme_support: Disabled
    	Eyedropper: Enabled
    	Taxonomies: Enabled
    	Video trimming: Enabled
    	Thumbnail Caching: Enabled
    web_stories_libxml_version: 2.9.4
    • This topic was modified 7 months ago by Yui.
    • This topic was modified 7 months ago by Yui. Reason: formatting

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Milind More


    Hello @thumbwind

    Thank you for the support topic, As explained in the error message this may be due to a PHP fatal error occurring OR some other plugin modifying the response.

    However, your page seems to have a Valid AMP, and we didn’t find any errors

    Your AMP page is valid, it’s a plugins validator that is not working, you can simply ignore that unless you are interested to know validation issues and want to fix them, you can always check your AMP pages for validation on the AMP test

    Please send us your PHP error log ( you can ask your hosting provider for PHP error log) using this form so we can further investigate the issue.

    Also, please make sure your site perform loopback requests and answer the question in the above form by following instructions to check loopback requests.

    Additionally, I would like to inform you that the Ezoic is not fully supported, please consider removing it. you can read more about it here

    we have also opened a support topic with ezoic.

    Hope this helps!

    Thread Starter thumbwind


    We found the issue.

    Use of the Ezoic plugin results in the error. When the Ezoic plugin is disabled AMP works with no error.

    Our workaround is to turn off Ezoic plugin when working to check AMP on posts. We have opened a case with Ezoic.

    Thanks for your response.

    Thread Starter thumbwind


    Closing incident

    Plugin Support Milind More


    Glad our suggestion is helpful, Open a new support topic if you face further issues, also feel free to leave a plugin review, we would love to hear your feedback.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘AMP Validated URL, URL validation failed’ is closed to new replies.