• Resolved VEDEL

    (@jefstys)


    Bonjour à tous,

    Mon système de don fonctionne, mais pas en version amp. Il me donne 2 erreurs de compatibilité :

    Raw validation data which you may want to share with the author so they can fix AMP compatibility:

    [ { “url”: “https://pointactu.fr/compte-donateur/”, “type”: “is_singular[page]”, “label”: “Page”, “amp_url”: “https://pointactu.fr/compte-donateur/amp/”, “validation_errors”: [ { “code”: “CUSTOM_EVENT_HANDLER_ATTR”, “node_name”: “onload”, “parent_name”: “iframe”, “type”: “js_error”, “element_attributes”: { “name”: “give-embed-donor-profile”, “src”: “https://pointactu.fr/?give-embed=donor-dashboard&accent-color=%2368bb6c#/dashboard”, “data-autoscroll”: “1”, “onload”: “if( ‘undefined’ !== typeof Give ) { Give.initializeIframeResize(this) }”, “style”: “border: 0;visibility: hidden;min-height: 776px; width: 100%; max-width: 100% !important;” }, “node_type”: 2, “sandboxing_level”: 2, “sources”: [ { “block_name”: “give/donor-dashboard”, “post_id”: 11375, “block_content_index”: 0, “block_attrs”: { “align”: “wide” }, “type”: “plugin”, “name”: “give”, “file”: “src/DonorDashboards/Block.php”, “line”: 49, “function”: “Give\\DonorDashboards\\Block::renderCallback” } ] }, { “code”: “DISALLOWED_ATTR”, “element_attributes”: { “name”: “give-embed-donor-profile”, “src”: “https://pointactu.fr/?give-embed=donor-dashboard&accent-color=%2368bb6c#/dashboard”, “data-autoscroll”: “1”, “height”: “400”, “layout”: “fixed-height”, “width”: “auto”, “sandbox”: “allow-downloads allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-scripts allow-top-navigation-by-user-activation”, “data-amp-original-style”: “border: 0;visibility: hidden;min-height: 776px; width: 100%; max-width: 100% !important;”, “class”: “amp-wp-ac4b1f8” }, “node_name”: “name”, “parent_name”: “amp-iframe”, “type”: “html_attribute_error”, “node_type”: 2, “sandboxing_level”: 2, “sources”: [ { “block_name”: “give/donor-dashboard”, “post_id”: 11375, “block_content_index”: 0, “block_attrs”: { “align”: “wide” }, “type”: “plugin”, “name”: “give”, “file”: “src/DonorDashboards/Block.php”, “line”: 49, “function”: “Give\\DonorDashboards\\Block::renderCallback” } ] } ], “stale”: false, “error”: false, “validated_url_post”: { “id”: 11391, “edit_link”: “https://pointactu.fr/wp-admin/post.php?post=11391&action=edit” } } ]

    Merci de votre aide !!!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter VEDEL

    (@jefstys)

    Heureusement que ça répond vite !

    Plugin Support Matheus Martins

    (@matheusfd)

    Hi, @jefstys.

    Glad you reached out.

    I believe the issue here relates to how AMP works. What some AMP tools do is to store a version of the webpage and present it to the user. However, it would not work on pages containing a GiveWP form because we need to load certain scripts is a specific order for it to work. And when you use AMP, it breaks the scripts.

    Putting myself in your shoes, I would either deactivate the AMP functionality, or I would disable it on the pages that contain a form at least.

    I do apologize for my slow turnaround on this one.

    Looking forward to helping you get to the bottom of this!

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

The topic ‘Marche pas avec AMP’ is closed to new replies.