• Resolved javcardenas

    (@javcardenas)


    el plugin amp de wordpress envía mensaje de error por incompatibilidad con la plantilla NEVE.
    Uno de los inconvenientes es que no se muestran los anuncios de adsense en el cuerpo de las entradas, porque NEVE considera que son Js no permitidos.
    envío el informe de errores generado por dicho plugin (Datos de validación)

    [
        {
            "url": "https://leerciencia.net/",
            "type": "is_front_page",
            "label": "Página de inicio",
            "amp_url": "https://leerciencia.net/?amp=1",
            "validation_errors": [
                {
                    "node_name": "script",
                    "parent_name": "p",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "p",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                }
            ],
            "stale": false
        },
        {
            "url": "https://leerciencia.net/torque-de-una-fuerza-o-momento-de-torsion/",
            "type": "is_singular[post]",
            "label": "Entrada",
            "amp_url": "https://leerciencia.net/torque-de-una-fuerza-o-momento-de-torsion/?amp=1",
            "validation_errors": [
                {
                    "node_name": "script",
                    "parent_name": "p",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "p",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                }
            ],
            "stale": false
        },
        {
            "url": "https://leerciencia.net/nosotros-leerciencia/",
            "type": "is_singular[page]",
            "label": "Página",
            "amp_url": "https://leerciencia.net/nosotros-leerciencia/?amp=1",
            "validation_errors": [
                {
                    "node_name": "script",
                    "parent_name": "p",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "p",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                }
            ],
            "stale": false
        },
        {
            "url": "https://leerciencia.net/talleres-de-genetica/",
            "type": "is_tax[category]",
            "label": "Categoría",
            "amp_url": "https://leerciencia.net/talleres-de-genetica/?amp=1",
            "validation_errors": [
                {
                    "node_name": "script",
                    "parent_name": "p",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "p",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                }
            ],
            "stale": false
        },
        {
            "url": "https://leerciencia.net/?s=example",
            "type": "is_search",
            "label": "Resultados de la búsqueda",
            "amp_url": "https://leerciencia.net/?s=example&amp=1",
            "validation_errors": [
                {
                    "node_name": "script",
                    "parent_name": "p",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "p",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": {
                        "async": "",
                        "src": "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4997678257990110",
                        "crossorigin": "anonymous"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                },
                {
                    "node_name": "script",
                    "parent_name": "div",
                    "code": "DISALLOWED_TAG",
                    "type": "js_error",
                    "node_attributes": [],
                    "text": "\n     (adsbygoogle = window.adsbygoogle || []).push({});\n",
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "theme",
                            "name": "neve",
                            "file": "inc/views/layouts/layout_sidebar.php",
                            "line": 38,
                            "function": "Neve\\Views\\Layouts\\Layout_Sidebar::sidebar",
                            "hook": "neve_do_sidebar",
                            "priority": 10
                        }
                    ]
                }
            ],
            "stale": false
        }
    ]

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @javcardenas,

    Thanks for choosing Neve!

    I checked this using the Site Scan option within AMP and I don’t get any compatibility issues with Neve. Also, no other users reported this before. Does switching to a default theme like Twenty Twenty One fix the issue?

    Thanks!

    Thread Starter javcardenas

    (@javcardenas)

    Thanks for answering.
    Yes, I changed to twenty twenty two and the problem was solved.

    Kush

    (@kushnamdev)

    Hey @javcardenas,

    I have also tried replicating this on my instance and I am not getting any errors as well. Could you please tell me which AMP plugin you are using for the testing? the official one or any other third-party plugin so that we can try replicating this again and have a close look at this issue. Also, please attach the screenshot of the plugin settings page in the next replies.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Neve presenta incompatibilidad con el pluguin AMP de wordpress’ is closed to new replies.