• i am receiving this message on amp plugins validation

    And Asked to share this code by AMP PLUGIN BY GOOGLE

    [
    {
    "url": "https://www.tvhex.com/",
    "type": "is_home",
    "label": "Homepage",
    "amp_url": "https://www.tvhex.com/?amp=1",
    "validation_errors": [
    {
    "code": "DISALLOWED_ATTR",
    "element_attributes": {
    "href": "https://news.google.com/publications/CAAqBwgKMKacrgsws6fGAw",
    "aria-label": "Google",
    "reviews": "",
    "target": "_blank",
    "rel": "noopener noreferrer",
    "class": "ast-builder-social-element ast-inline-flex ast-google_reviews header-social-item amp-wp-fcc2668",
    "data-amp-original-style": "--color: #dc4e41; --background-color: transparent;"
    },
    "node_name": "reviews",
    "parent_name": "a",
    "type": "html_attribute_error",
    "node_type": 2,
    "sources": [
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/markup-extras.php",
    "line": 650,
    "function": "astra_header_markup",
    "hook": "astra_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 240,
    "function": "Astra_Builder_Header::desktop_header",
    "hook": "astra_masthead",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 271,
    "function": "Astra_Builder_Header::primary_header",
    "hook": "astra_primary_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 233,
    "function": "Astra_Builder_Header::render_column",
    "hook": "astra_render_header_column",
    "priority": 10
    }
    ]
    }
    ],
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 766,
    "edit_link": "https://www.tvhex.com/wp-admin/post.php?post=766&action=edit"
    }
    },
    {
    "url": "https://www.tvhex.com/fast-x-movie-review/",
    "type": "is_singular[post]",
    "label": "Post",
    "amp_url": "https://www.tvhex.com/fast-x-movie-review/?amp=1",
    "validation_errors": [
    {
    "code": "DISALLOWED_ATTR",
    "element_attributes": {
    "href": "https://news.google.com/publications/CAAqBwgKMKacrgsws6fGAw",
    "aria-label": "Google",
    "reviews": "",
    "target": "_blank",
    "rel": "noopener noreferrer",
    "class": "ast-builder-social-element ast-inline-flex ast-google_reviews header-social-item amp-wp-fcc2668",
    "data-amp-original-style": "--color: #dc4e41; --background-color: transparent;"
    },
    "node_name": "reviews",
    "parent_name": "a",
    "type": "html_attribute_error",
    "node_type": 2,
    "sources": [
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/markup-extras.php",
    "line": 650,
    "function": "astra_header_markup",
    "hook": "astra_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 240,
    "function": "Astra_Builder_Header::desktop_header",
    "hook": "astra_masthead",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 271,
    "function": "Astra_Builder_Header::primary_header",
    "hook": "astra_primary_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 233,
    "function": "Astra_Builder_Header::render_column",
    "hook": "astra_render_header_column",
    "priority": 10
    }
    ]
    },
    {
    "code": "DISALLOWED_ATTR",
    "element_attributes": {
    "class": "entry-content clear",
    "ast-blocks-layout": "true",
    "itemprop": "text"
    },
    "node_name": "ast-blocks-layout",
    "parent_name": "div",
    "type": "html_attribute_error",
    "node_type": 2,
    "sources": [
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/class-astra-loop.php",
    "line": 186,
    "function": "Astra_Loop::loop_markup",
    "hook": "astra_content_loop",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/class-astra-loop.php",
    "line": 118,
    "function": "Astra_Loop::template_parts_post",
    "hook": "astra_template_parts_content",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/template-parts.php",
    "line": 264,
    "function": "astra_entry_content_single_template",
    "hook": "astra_entry_content_single",
    "priority": 10
    }
    ]
    }
    ],
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 1057,
    "edit_link": "https://www.tvhex.com/wp-admin/post.php?post=1057&action=edit"
    }
    },
    {
    "url": "https://www.tvhex.com/full-video-download-link/",
    "type": "is_singular[page]",
    "label": "Page",
    "amp_url": "https://www.tvhex.com/full-video-download-link/?amp=1",
    "validation_errors": [
    {
    "code": "DISALLOWED_ATTR",
    "element_attributes": {
    "href": "https://news.google.com/publications/CAAqBwgKMKacrgsws6fGAw",
    "aria-label": "Google",
    "reviews": "",
    "target": "_blank",
    "rel": "noopener noreferrer",
    "class": "ast-builder-social-element ast-inline-flex ast-google_reviews header-social-item amp-wp-fcc2668",
    "data-amp-original-style": "--color: #dc4e41; --background-color: transparent;"
    },
    "node_name": "reviews",
    "parent_name": "a",
    "type": "html_attribute_error",
    "node_type": 2,
    "sources": [
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/markup-extras.php",
    "line": 650,
    "function": "astra_header_markup",
    "hook": "astra_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 240,
    "function": "Astra_Builder_Header::desktop_header",
    "hook": "astra_masthead",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 271,
    "function": "Astra_Builder_Header::primary_header",
    "hook": "astra_primary_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 233,
    "function": "Astra_Builder_Header::render_column",
    "hook": "astra_render_header_column",
    "priority": 10
    }
    ]
    },
    {
    "node_name": "script",
    "parent_name": "p",
    "code": "DISALLOWED_TAG",
    "type": "js_error",
    "node_attributes": [],
    "text": "(function(s,u,z,p){s.src=u,s.setAttribute(SINGLE_QUOTED_STRING,z),p.appendChild(s);})(document.createElement(SINGLE_QUOTED_STRING),SINGLE_QUOTED_STRING,INT,document.body||document.documentElement)",
    "node_type": 1,
    "sources": [
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/class-astra-loop.php",
    "line": 173,
    "function": "Astra_Loop::loop_markup_page",
    "hook": "astra_content_page_loop",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/class-astra-loop.php",
    "line": 108,
    "function": "Astra_Loop::template_parts_page",
    "hook": "astra_page_template_parts_content",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/template-parts.php",
    "line": 375,
    "function": "astra_entry_content_single_page_template",
    "hook": "astra_entry_content_single_page",
    "priority": 10
    }
    ]
    },
    {
    "code": "DISALLOWED_ATTR",
    "element_attributes": {
    "class": "entry-content clear",
    "ast-blocks-layout": "true",
    "itemprop": "text"
    },
    "node_name": "ast-blocks-layout",
    "parent_name": "div",
    "type": "html_attribute_error",
    "node_type": 2,
    "sources": [
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/class-astra-loop.php",
    "line": 173,
    "function": "Astra_Loop::loop_markup_page",
    "hook": "astra_content_page_loop",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/class-astra-loop.php",
    "line": 108,
    "function": "Astra_Loop::template_parts_page",
    "hook": "astra_page_template_parts_content",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/template-parts.php",
    "line": 375,
    "function": "astra_entry_content_single_page_template",
    "hook": "astra_entry_content_single_page",
    "priority": 10
    }
    ]
    }
    ],
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 940,
    "edit_link": "https://www.tvhex.com/wp-admin/post.php?post=940&action=edit"
    }
    },
    {
    "url": "https://www.tvhex.com/category/tvhex/",
    "type": "is_tax[category]",
    "label": "Category",
    "amp_url": "https://www.tvhex.com/category/tvhex/?amp=1",
    "validation_errors": [
    {
    "code": "DISALLOWED_ATTR",
    "element_attributes": {
    "href": "https://news.google.com/publications/CAAqBwgKMKacrgsws6fGAw",
    "aria-label": "Google",
    "reviews": "",
    "target": "_blank",
    "rel": "noopener noreferrer",
    "class": "ast-builder-social-element ast-inline-flex ast-google_reviews header-social-item amp-wp-fcc2668",
    "data-amp-original-style": "--color: #dc4e41; --background-color: transparent;"
    },
    "node_name": "reviews",
    "parent_name": "a",
    "type": "html_attribute_error",
    "node_type": 2,
    "sources": [
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/markup-extras.php",
    "line": 650,
    "function": "astra_header_markup",
    "hook": "astra_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 240,
    "function": "Astra_Builder_Header::desktop_header",
    "hook": "astra_masthead",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 271,
    "function": "Astra_Builder_Header::primary_header",
    "hook": "astra_primary_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 233,
    "function": "Astra_Builder_Header::render_column",
    "hook": "astra_render_header_column",
    "priority": 10
    }
    ]
    }
    ],
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 769,
    "edit_link": "https://www.tvhex.com/wp-admin/post.php?post=769&action=edit"
    }
    },
    {
    "url": "https://www.tvhex.com/tag/tvhex/",
    "type": "is_tax[post_tag]",
    "label": "Tag",
    "amp_url": "https://www.tvhex.com/tag/tvhex/?amp=1",
    "validation_errors": [
    {
    "code": "DISALLOWED_ATTR",
    "element_attributes": {
    "href": "https://news.google.com/publications/CAAqBwgKMKacrgsws6fGAw",
    "aria-label": "Google",
    "reviews": "",
    "target": "_blank",
    "rel": "noopener noreferrer",
    "class": "ast-builder-social-element ast-inline-flex ast-google_reviews header-social-item amp-wp-fcc2668",
    "data-amp-original-style": "--color: #dc4e41; --background-color: transparent;"
    },
    "node_name": "reviews",
    "parent_name": "a",
    "type": "html_attribute_error",
    "node_type": 2,
    "sources": [
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/markup-extras.php",
    "line": 650,
    "function": "astra_header_markup",
    "hook": "astra_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 240,
    "function": "Astra_Builder_Header::desktop_header",
    "hook": "astra_masthead",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 271,
    "function": "Astra_Builder_Header::primary_header",
    "hook": "astra_primary_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 233,
    "function": "Astra_Builder_Header::render_column",
    "hook": "astra_render_header_column",
    "priority": 10
    }
    ]
    }
    ],
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 770,
    "edit_link": "https://www.tvhex.com/wp-admin/post.php?post=770&action=edit"
    }
    },
    {
    "url": "https://www.tvhex.com/author/adsense-crawler/",
    "type": "is_author",
    "label": "Author Archive",
    "amp_url": "https://www.tvhex.com/author/adsense-crawler/?amp=1",
    "validation_errors": [
    {
    "code": "DISALLOWED_ATTR",
    "element_attributes": {
    "href": "https://news.google.com/publications/CAAqBwgKMKacrgsws6fGAw",
    "aria-label": "Google",
    "reviews": "",
    "target": "_blank",
    "rel": "noopener noreferrer",
    "class": "ast-builder-social-element ast-inline-flex ast-google_reviews header-social-item amp-wp-fcc2668",
    "data-amp-original-style": "--color: #dc4e41; --background-color: transparent;"
    },
    "node_name": "reviews",
    "parent_name": "a",
    "type": "html_attribute_error",
    "node_type": 2,
    "sources": [
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/markup-extras.php",
    "line": 650,
    "function": "astra_header_markup",
    "hook": "astra_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 240,
    "function": "Astra_Builder_Header::desktop_header",
    "hook": "astra_masthead",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 271,
    "function": "Astra_Builder_Header::primary_header",
    "hook": "astra_primary_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 233,
    "function": "Astra_Builder_Header::render_column",
    "hook": "astra_render_header_column",
    "priority": 10
    }
    ]
    }
    ],
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 1083,
    "edit_link": "https://www.tvhex.com/wp-admin/post.php?post=1083&action=edit"
    }
    },
    {
    "url": "https://www.tvhex.com/2023/",
    "type": "is_date",
    "label": "Date Archive",
    "amp_url": "https://www.tvhex.com/2023/?amp=1",
    "validation_errors": [
    {
    "code": "DISALLOWED_ATTR",
    "element_attributes": {
    "href": "https://news.google.com/publications/CAAqBwgKMKacrgsws6fGAw",
    "aria-label": "Google",
    "reviews": "",
    "target": "_blank",
    "rel": "noopener noreferrer",
    "class": "ast-builder-social-element ast-inline-flex ast-google_reviews header-social-item amp-wp-fcc2668",
    "data-amp-original-style": "--color: #dc4e41; --background-color: transparent;"
    },
    "node_name": "reviews",
    "parent_name": "a",
    "type": "html_attribute_error",
    "node_type": 2,
    "sources": [
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/markup-extras.php",
    "line": 650,
    "function": "astra_header_markup",
    "hook": "astra_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 240,
    "function": "Astra_Builder_Header::desktop_header",
    "hook": "astra_masthead",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 271,
    "function": "Astra_Builder_Header::primary_header",
    "hook": "astra_primary_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 233,
    "function": "Astra_Builder_Header::render_column",
    "hook": "astra_render_header_column",
    "priority": 10
    }
    ]
    }
    ],
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 771,
    "edit_link": "https://www.tvhex.com/wp-admin/post.php?post=771&action=edit"
    }
    },
    {
    "url": "https://www.tvhex.com/?s=example",
    "type": "is_search",
    "label": "Search Results",
    "amp_url": "https://www.tvhex.com/?s=example&amp=1",
    "validation_errors": [
    {
    "code": "DISALLOWED_ATTR",
    "element_attributes": {
    "href": "https://news.google.com/publications/CAAqBwgKMKacrgsws6fGAw",
    "aria-label": "Google",
    "reviews": "",
    "target": "_blank",
    "rel": "noopener noreferrer",
    "class": "ast-builder-social-element ast-inline-flex ast-google_reviews header-social-item amp-wp-fcc2668",
    "data-amp-original-style": "--color: #dc4e41; --background-color: transparent;"
    },
    "node_name": "reviews",
    "parent_name": "a",
    "type": "html_attribute_error",
    "node_type": 2,
    "sources": [
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/markup-extras.php",
    "line": 650,
    "function": "astra_header_markup",
    "hook": "astra_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 240,
    "function": "Astra_Builder_Header::desktop_header",
    "hook": "astra_masthead",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 271,
    "function": "Astra_Builder_Header::primary_header",
    "hook": "astra_primary_header",
    "priority": 10
    },
    {
    "type": "theme",
    "name": "astra",
    "file": "inc/builder/markup/class-astra-builder-header.php",
    "line": 233,
    "function": "Astra_Builder_Header::render_column",
    "hook": "astra_render_header_column",
    "priority": 10
    }
    ]
    }
    ],
    "stale": false,
    "error": false,
    "validated_url_post": {
    "id": 772,
    "edit_link": "https://www.tvhex.com/wp-admin/post.php?post=772&action=edit"
    }
    }
    ]

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Amp Not Compatible in Astra+Child theme’ is closed to new replies.