• For my blog I use the official AMP plugin. That plugin reports compatibility issues with Contact form 7. Can these be solved in your plugin?

    Thanks,
    Joost

    [
        {
            "url": "https://www.eetman.nl/espresso-karamel-milkshake/",
            "type": "is_singular[post]",
            "label": "Bericht",
            "amp_url": "https://www.eetman.nl/espresso-karamel-milkshake/?amp=1",
            "validation_errors": [
                {
                    "node_name": "script",
                    "parent_name": "body",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "type": "text/javascript",
                        "src": "https://www.eetman.nl/wp-includes/js/dist/vendor/regenerator-runtime.min.js?ver=__normalized__",
                        "id": "regenerator-runtime-js"
                    },
                    "node_type": 1,
                    "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"
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "body",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "type": "text/javascript",
                        "src": "https://www.eetman.nl/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=__normalized__",
                        "id": "wp-polyfill-js"
                    },
                    "node_type": 1,
                    "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"
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "body",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "type": "text/javascript",
                        "id": "contact-form-7-js-extra"
                    },
                    "text": "\n/* <![CDATA[ */\nvar wpcf7 = {__DOUBLE_QUOTED_STRING__:{__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__,__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__},__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__};\n/* ]]> */\n",
                    "node_type": 1,
                    "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:\\/\\/www.eetman.nl\\/wp-json\\/\",\"namespace\":\"contact-form-7\\/v1\"},\"cached\":\"1\"};",
                            "handle": "contact-form-7"
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "body",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "type": "text/javascript",
                        "src": "https://www.eetman.nl/wp-content/plugins/contact-form-7/includes/js/index.js?ver=__normalized__",
                        "id": "contact-form-7-js"
                    },
                    "node_type": 1,
                    "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
        },
        {
            "url": "https://www.eetman.nl/cookiebeleid-eu/",
            "type": "is_singular[page]",
            "label": "Pagina",
            "amp_url": "https://www.eetman.nl/cookiebeleid-eu/?amp=1",
            "validation_errors": [
                {
                    "node_name": "script",
                    "parent_name": "body",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "type": "text/javascript",
                        "src": "https://www.eetman.nl/wp-includes/js/dist/vendor/regenerator-runtime.min.js?ver=__normalized__",
                        "id": "regenerator-runtime-js"
                    },
                    "node_type": 1,
                    "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"
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "body",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "type": "text/javascript",
                        "src": "https://www.eetman.nl/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=__normalized__",
                        "id": "wp-polyfill-js"
                    },
                    "node_type": 1,
                    "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"
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "body",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "type": "text/javascript",
                        "id": "contact-form-7-js-extra"
                    },
                    "text": "\n/* <![CDATA[ */\nvar wpcf7 = {__DOUBLE_QUOTED_STRING__:{__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__,__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__},__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__};\n/* ]]> */\n",
                    "node_type": 1,
                    "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:\\/\\/www.eetman.nl\\/wp-json\\/\",\"namespace\":\"contact-form-7\\/v1\"},\"cached\":\"1\"};",
                            "handle": "contact-form-7"
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "body",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "type": "text/javascript",
                        "src": "https://www.eetman.nl/wp-content/plugins/contact-form-7/includes/js/index.js?ver=__normalized__",
                        "id": "contact-form-7-js"
                    },
                    "node_type": 1,
                    "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
        }
    ]

    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 ‘Compatibility issues with AMP plugin’ is closed to new replies.