• Hi,
    I have activated your Contact Form 7 Plugin on my site where AMP plugin was already activated. It is showing AMP Validation errors. The AMP Validation data is given below:

    [
        {
            "url": "https://bestlaptopsexpert.com/",
            "type": "is_home",
            "label": "Homepage",
            "amp_url": "https://bestlaptopsexpert.com/",
            "validation_errors": [
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-includes/js/dist/vendor/regenerator-runtime.min.js?ver=__normalized__",
                        "id": "regenerator-runtime-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7",
                            "dependency_handle": "regenerator-runtime"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=__normalized__",
                        "id": "wp-polyfill-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7",
                            "dependency_handle": "wp-polyfill"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_INLINE_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "id": "contact-form-7-js-extra"
                    },
                    "text": "\nvar wpcf7 = {__DOUBLE_QUOTED_STRING__:{__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__,__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__}};\n",
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "extra_key": "data",
                            "text": "var wpcf7 = {\"api\":{\"root\":\"https:\\/\\/bestlaptopsexpert.com\\/wp-json\\/\",\"namespace\":\"contact-form-7\\/v1\"}};",
                            "handle": "contact-form-7"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-content/plugins/contact-form-7/includes/js/index.js?ver=__normalized__",
                        "id": "contact-form-7-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7"
                        }
                    ]
                }
            ],
            "stale": false,
            "error": false,
            "validated_url_post": {
                "id": 4501,
                "edit_link": "https://bestlaptopsexpert.com/wp-admin/post.php?post=4501&action=edit"
            }
        },
        {
            "url": "https://bestlaptopsexpert.com/why-is-my-mouse-not-working-on-chromebook/",
            "type": "is_singular[post]",
            "label": "Post",
            "amp_url": "https://bestlaptopsexpert.com/why-is-my-mouse-not-working-on-chromebook/",
            "validation_errors": [
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-includes/js/dist/vendor/regenerator-runtime.min.js?ver=__normalized__",
                        "id": "regenerator-runtime-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7",
                            "dependency_handle": "regenerator-runtime"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=__normalized__",
                        "id": "wp-polyfill-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7",
                            "dependency_handle": "wp-polyfill"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_INLINE_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "id": "contact-form-7-js-extra"
                    },
                    "text": "\nvar wpcf7 = {__DOUBLE_QUOTED_STRING__:{__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__,__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__}};\n",
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "extra_key": "data",
                            "text": "var wpcf7 = {\"api\":{\"root\":\"https:\\/\\/bestlaptopsexpert.com\\/wp-json\\/\",\"namespace\":\"contact-form-7\\/v1\"}};",
                            "handle": "contact-form-7"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-content/plugins/contact-form-7/includes/js/index.js?ver=__normalized__",
                        "id": "contact-form-7-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7"
                        }
                    ]
                }
            ],
            "stale": false,
            "error": false,
            "validated_url_post": {
                "id": 4598,
                "edit_link": "https://bestlaptopsexpert.com/wp-admin/post.php?post=4598&action=edit"
            }
        },
        {
            "url": "https://bestlaptopsexpert.com/home-page/",
            "type": "is_singular[page]",
            "label": "Page",
            "amp_url": "https://bestlaptopsexpert.com/home-page/",
            "validation_errors": [
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-includes/js/dist/vendor/regenerator-runtime.min.js?ver=__normalized__",
                        "id": "regenerator-runtime-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7",
                            "dependency_handle": "regenerator-runtime"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=__normalized__",
                        "id": "wp-polyfill-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7",
                            "dependency_handle": "wp-polyfill"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_INLINE_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "id": "contact-form-7-js-extra"
                    },
                    "text": "\nvar wpcf7 = {__DOUBLE_QUOTED_STRING__:{__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__,__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__}};\n",
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "extra_key": "data",
                            "text": "var wpcf7 = {\"api\":{\"root\":\"https:\\/\\/bestlaptopsexpert.com\\/wp-json\\/\",\"namespace\":\"contact-form-7\\/v1\"}};",
                            "handle": "contact-form-7"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-content/plugins/contact-form-7/includes/js/index.js?ver=__normalized__",
                        "id": "contact-form-7-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7"
                        }
                    ]
                }
            ],
            "stale": false,
            "error": false,
            "validated_url_post": {
                "id": 4502,
                "edit_link": "https://bestlaptopsexpert.com/wp-admin/post.php?post=4502&action=edit"
            }
        },
        {
            "url": "https://bestlaptopsexpert.com/buyers-guide/",
            "type": "is_tax[category]",
            "label": "Category",
            "amp_url": "https://bestlaptopsexpert.com/buyers-guide/",
            "validation_errors": [
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-includes/js/dist/vendor/regenerator-runtime.min.js?ver=__normalized__",
                        "id": "regenerator-runtime-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7",
                            "dependency_handle": "regenerator-runtime"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=__normalized__",
                        "id": "wp-polyfill-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7",
                            "dependency_handle": "wp-polyfill"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_INLINE_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "id": "contact-form-7-js-extra"
                    },
                    "text": "\nvar wpcf7 = {__DOUBLE_QUOTED_STRING__:{__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__,__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__}};\n",
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "extra_key": "data",
                            "text": "var wpcf7 = {\"api\":{\"root\":\"https:\\/\\/bestlaptopsexpert.com\\/wp-json\\/\",\"namespace\":\"contact-form-7\\/v1\"}};",
                            "handle": "contact-form-7"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-content/plugins/contact-form-7/includes/js/index.js?ver=__normalized__",
                        "id": "contact-form-7-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7"
                        }
                    ]
                }
            ],
            "stale": false,
            "error": false,
            "validated_url_post": {
                "id": 4506,
                "edit_link": "https://bestlaptopsexpert.com/wp-admin/post.php?post=4506&action=edit"
            }
        },
        {
            "url": "https://bestlaptopsexpert.com/2022/",
            "type": "is_date",
            "label": "Date Archive",
            "amp_url": "https://bestlaptopsexpert.com/2022/",
            "validation_errors": [
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-includes/js/dist/vendor/regenerator-runtime.min.js?ver=__normalized__",
                        "id": "regenerator-runtime-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7",
                            "dependency_handle": "regenerator-runtime"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=__normalized__",
                        "id": "wp-polyfill-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7",
                            "dependency_handle": "wp-polyfill"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_INLINE_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "id": "contact-form-7-js-extra"
                    },
                    "text": "\nvar wpcf7 = {__DOUBLE_QUOTED_STRING__:{__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__,__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__}};\n",
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "extra_key": "data",
                            "text": "var wpcf7 = {\"api\":{\"root\":\"https:\\/\\/bestlaptopsexpert.com\\/wp-json\\/\",\"namespace\":\"contact-form-7\\/v1\"}};",
                            "handle": "contact-form-7"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-content/plugins/contact-form-7/includes/js/index.js?ver=__normalized__",
                        "id": "contact-form-7-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7"
                        }
                    ]
                }
            ],
            "stale": false,
            "error": false,
            "validated_url_post": {
                "id": 4504,
                "edit_link": "https://bestlaptopsexpert.com/wp-admin/post.php?post=4504&action=edit"
            }
        },
        {
            "url": "https://bestlaptopsexpert.com/?s=example",
            "type": "is_search",
            "label": "Search Results",
            "amp_url": "https://bestlaptopsexpert.com/?s=example",
            "validation_errors": [
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-includes/js/dist/vendor/regenerator-runtime.min.js?ver=__normalized__",
                        "id": "regenerator-runtime-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7",
                            "dependency_handle": "regenerator-runtime"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=__normalized__",
                        "id": "wp-polyfill-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7",
                            "dependency_handle": "wp-polyfill"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_INLINE_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "id": "contact-form-7-js-extra"
                    },
                    "text": "\nvar wpcf7 = {__DOUBLE_QUOTED_STRING__:{__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__,__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__}};\n",
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "extra_key": "data",
                            "text": "var wpcf7 = {\"api\":{\"root\":\"https:\\/\\/bestlaptopsexpert.com\\/wp-json\\/\",\"namespace\":\"contact-form-7\\/v1\"}};",
                            "handle": "contact-form-7"
                        }
                    ]
                },
                {
                    "code": "CUSTOM_EXTERNAL_SCRIPT",
                    "node_name": "script",
                    "parent_name": "body",
                    "type": "js_error",
                    "node_attributes": {
                        "src": "https://bestlaptopsexpert.com/wp-content/plugins/contact-form-7/includes/js/index.js?ver=__normalized__",
                        "id": "contact-form-7-js"
                    },
                    "node_type": 1,
                    "sandboxing_level": 2,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "contact-form-7",
                            "file": "includes/controller.php",
                            "line": 36,
                            "function": "{closure}",
                            "hook": "wp_enqueue_scripts",
                            "priority": 10,
                            "dependency_type": "script",
                            "handle": "contact-form-7"
                        }
                    ]
                }
            ],
            "stale": false,
            "error": false,
            "validated_url_post": {
                "id": 4505,
                "edit_link": "https://bestlaptopsexpert.com/wp-admin/post.php?post=4505&action=edit"
            }
        }
    ]

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

  • The topic ‘AMP Validation errors’ is closed to new replies.