• Resolved visionisto

    (@visionisto)


    Hi there, we received an error in Google Search Console with the message “A tag on this page requires an AMP component ‘script’ tag, which is missing.” How do we resolve this?

    We also noticed that under AMP Settings there was a message in regards to plugin compatibility with Gtranslate and Bakery Builder as seen here https://www.screencast.com/t/8nEqcotX63

    What is the best way to resolve these issues?

    [
    {
    “url”: “https://panterlaw.com/2022/09/21/child-passenger-safety/”,
    “type”: “is_singular[post]”,
    “label”: “Post”,
    “amp_url”: “https://panterlaw.com/2022/09/21/child-passenger-safety/?amp=1”,
    “validation_errors”: [
    {
    “node_name”: “script”,
    “parent_name”: “head”,
    “code”: “DISALLOWED_TAG”,
    “type”: “js_error”,
    “node_attributes”: {
    “type”: “text/javascript”,
    “src”: “https://panterlaw.com/wp-includes/js/jquery/jquery.min.js?ver=__normalized__”,
    “id”: “jquery-core-js”
    },
    “node_type”: 1,
    “sources”: [
    {
    “type”: “plugin”,
    “name”: “gtranslate”,
    “file”: “gtranslate.php”,
    “line”: 72,
    “function”: “GTranslate::enqueue_scripts”,
    “hook”: “init”,
    “priority”: 10,
    “dependency_type”: “script”,
    “handle”: “jquery”,
    “dependency_handle”: “jquery-core”
    },
    {
    “type”: “plugin”,
    “name”: “gtranslate”,
    “file”: “gtranslate.php”,
    “line”: 72,
    “function”: “GTranslate::enqueue_scripts”,
    “hook”: “init”,
    “priority”: 10,
    “dependency_type”: “script”,
    “handle”: “jquery-core”
    }
    ]
    },
    {
    “node_name”: “script”,
    “parent_name”: “head”,
    “code”: “DISALLOWED_TAG”,
    “type”: “js_error”,
    “node_attributes”: {
    “type”: “text/javascript”,
    “src”: “https://panterlaw.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=__normalized__”,
    “id”: “jquery-migrate-js”
    },
    “node_type”: 1,
    “sources”: [
    {
    “type”: “plugin”,
    “name”: “gtranslate”,
    “file”: “gtranslate.php”,
    “line”: 72,
    “function”: “GTranslate::enqueue_scripts”,
    “hook”: “init”,
    “priority”: 10,
    “dependency_type”: “script”,
    “handle”: “jquery”,
    “dependency_handle”: “jquery-migrate”
    },
    {
    “type”: “plugin”,
    “name”: “gtranslate”,
    “file”: “gtranslate.php”,
    “line”: 72,
    “function”: “GTranslate::enqueue_scripts”,
    “hook”: “init”,
    “priority”: 10,
    “dependency_type”: “script”,
    “handle”: “jquery-migrate”
    }
    ]
    }
    ],
    “stale”: false
    },
    {
    “url”: “https://panterlaw.com/video-testimonials/”,
    “type”: “is_singular[page]”,
    “label”: “Page”,
    “amp_url”: “https://panterlaw.com/video-testimonials/?amp=1”,
    “validation_errors”: [
    {
    “node_name”: “script”,
    “parent_name”: “head”,
    “code”: “DISALLOWED_TAG”,
    “type”: “js_error”,
    “node_attributes”: {
    “type”: “text/javascript”,
    “src”: “https://panterlaw.com/wp-includes/js/jquery/jquery.min.js?ver=__normalized__”,
    “id”: “jquery-core-js”
    },
    “node_type”: 1,
    “sources”: [
    {
    “type”: “plugin”,
    “name”: “gtranslate”,
    “file”: “gtranslate.php”,
    “line”: 72,
    “function”: “GTranslate::enqueue_scripts”,
    “hook”: “init”,
    “priority”: 10,
    “dependency_type”: “script”,
    “handle”: “jquery”,
    “dependency_handle”: “jquery-core”
    },
    {
    “type”: “plugin”,
    “name”: “gtranslate”,
    “file”: “gtranslate.php”,
    “line”: 72,
    “function”: “GTranslate::enqueue_scripts”,
    “hook”: “init”,
    “priority”: 10,
    “dependency_type”: “script”,
    “handle”: “jquery-core”
    }
    ]
    },
    {
    “node_name”: “script”,
    “parent_name”: “head”,
    “code”: “DISALLOWED_TAG”,
    “type”: “js_error”,
    “node_attributes”: {
    “type”: “text/javascript”,
    “src”: “https://panterlaw.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=__normalized__”,
    “id”: “jquery-migrate-js”
    },
    “node_type”: 1,
    “sources”: [
    {
    “type”: “plugin”,
    “name”: “gtranslate”,
    “file”: “gtranslate.php”,
    “line”: 72,
    “function”: “GTranslate::enqueue_scripts”,
    “hook”: “init”,
    “priority”: 10,
    “dependency_type”: “script”,
    “handle”: “jquery”,
    “dependency_handle”: “jquery-migrate”
    },
    {
    “type”: “plugin”,
    “name”: “gtranslate”,
    “file”: “gtranslate.php”,
    “line”: 72,
    “function”: “GTranslate::enqueue_scripts”,
    “hook”: “init”,
    “priority”: 10,
    “dependency_type”: “script”,
    “handle”: “jquery-migrate”
    }
    ]
    }
    ],
    “stale”: false
    }
    ]

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘AMP Script tag missing’ is closed to new replies.