• Resolved informaticacoexphal

    (@informaticacoexphal)


    Buenas tardes,

    Mi wordpress no me muestra el contenido AMP me dice que hay un error.

    El error completo que devuelve AMP es el siguiente:
    =========================================
    [Tue May 17 14:32:45.765772 2022] [lsapi:warn] [pid 406955] [client 188.165.131.5:0] [host www.aenverde.es] Backend log: Ha ocurrido un error PHP al tratar de preparar la respuesta AMP. Esto no puede haberlo provocado el plugin AMP sino algún otro plugin activo o el tema actual. Tendrás que revisar los detalles del error para determinar el origen del error.
    - Undefined class constant 'BIND_DATA_ATTR_PREFIX' (0) [Error]
    #0 /home/aenverd1/public_html/aenverde.es/wp-content/plugins/amp/includes/sanitizers/class-amp-style-sanitizer.php(609): AMP_Style_Sanitizer->get_used_class_names()
    #1 /home/aenverd1/public_html/aenverde.es/wp-content/plugins/amp/includes/sanitizers/class-amp-style-sanitizer.php(3605): AMP_Style_Sanitizer->has_used_class_name(Array)
    #2 /home/aenverd1/public_html/aenverde.es/wp-content/plugins/amp/includes/sanitizers/class-amp-style-sanitizer.php(3092): AMP_Style_Sanitizer->finalize_stylesheet_group(0, Array)
    #3 /home/aenverd1/public_html/aenverde.es/wp-content/plugins/amp/includes/sanitizers/class-amp-style-sanitizer.php(1025): AMP_Style_Sanitizer->finalize_styles()
    #4 /home/aenverd1/public_html/aenverde.es/wp-content/plugins/amp/includes/templates/class-amp-content-sanitizer.php(147): AMP_Style_Sanitizer->sanitize()
    #5 /home/aenverd1/public_html/aenverde.es/wp-content/plugins/amp/includes/class-amp-theme-support.php(2032): AMP_Content_Sanitizer::sanitize_document(Object(AmpProject\\Dom\\Document), Array, Array)
    #6 /home/aenverd1/public_html/aenverde.es/wp-content/plugins/amp/includes/class-amp-theme-support.php(1750): AMP_Theme_Support::prepare_response('<!doctype html>...')
    #7 [internal function]: AMP_Theme_Support::finish_output_buffering('<!doctype html>...', 9)
    #8 /home/aenverd1/public_html/aenverde.es/wp-includes/functions.php(4758): ob_end_flush()
    #9 /home/aenverd1/public_html/aenverde.es/wp-includes/class-wp-hook.php(287): wp_ob_end_flush_all('')
    #10 /home/aenverd1/public_html/aenverde.es/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #11 /home/aenverd1/public_html/aenverde.es/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #12 /home/aenverd1/public_html/aenverde.es/wp-includes/load.php(1052): do_action('shutdown')
    #13 [internal function]: shutdown_action_hook()
    #14 {main}

    Siempre me ha funcionado pero de repente dejo de funcionar.

    Si me pueden ayudar se lo agradeceria.
    Un saludo.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @informaticacoexphal

    Thank you for the support topic, can you please share your support UUID using
    AMP->Support so we can further investigate your issue.

    If this doesn’t work for you. please send your site health using this form (instructions included in the form )

    Thread Starter informaticacoexphal

    (@informaticacoexphal)

    Gracias,
    le indico la informacion solicitada:
    ampwp-429dd05b-0a5c-589a-9f8e-24cbdd86142e

    Gracias,
    Un saludo.

    Plugin Support Milind More

    (@milindmore22)

    Hello @informaticacoexphal

    Thank you for providing UUID, As we checked your site information you are using Two AMP plugins, the Official AMP plugin (the one with a blue icon) which is named just AMP and another AMP for WP (the one with a red icon).

    Both plugins are conflicting with each other, so we will recommend deactivating and removing other plugins ie AMP for WP( one with a red icon)

    that should fix your issue

    Plugin Support Milind More

    (@milindmore22)

    @informaticacoexphal
    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error AMP WordPress’ is closed to new replies.