• Resolved mamo.solutions

    (@maatien)


    Hi,

    great plugin so far!

    Unfortunately, we cannot use the WPBakery Frontend Editor anymore with the current version of Complianz if YouTube or Instagram integration is enabled and any YouTube or Instagram content is included on the page to edit.

    The JS error message is:

    
    Uncaught SyntaxError: Unexpected token '%'
        at cmplz_run_script (complianz.min.js?ver=6.1.5:1:5274)
        at complianz.min.js?ver=6.1.5:1:14099
        at NodeList.forEach (<anonymous>)
        at cmplz_enable_category (complianz.min.js?ver=6.1.5:1:13409)
        at cmplz_set_blocked_content_container (complianz.min.js?ver=6.1.5:1:8044)
        at window.conditionally_show_banner (complianz.min.js?ver=6.1.5:1:16912)
        at complianz.min.js?ver=6.1.5:1:28962
    

    And this is the JS tried to execute:

    
    %3Cdiv%20class%3D%22vc_element%22%20data-tag%3D%22vc_row%22%20data-shortcode-controls%3D%22%5B%26quot%3Bedit%26quot%3B%2C%26quot%3Bclone%26quot%3B%2C%26quot%3Bdelete%26quot%3B%5D%22%20data-model-id%3D%2249ef2e8977eaef51975d70021d817301%22%3E%3Cdiv
    [...]
    %20vc_welcome-visible-e%22%3E%0A%09%09%09Don%26%23039%3Bt%20know%20where%20to%20start%3F%20Visit%20our%20%3Ca%20href%3D%22https%3A%2F%2Fkb.wpbakery.com%22%20target%3D%22_blank%22%3Eknowledge%20base%3C%2Fa%3E.%09%09%3C%2Fp%3E%0A%09%3C%2Fdiv%3E%0A%0A
    cmplzScriptLoaded();
    

    Can you please have a look in this?

    Kind regards,
    Martin

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Aert

    (@aahulsebos)

    Hi @maatien,

    I can’t yet reproduce this with the following;

    Standard WP Theme.
    Latest Complianz
    WP Bakery
    Video block from WP Bakery
    Instagram HTML embed

    Could you share your set-up?

    regards Aert

    Thread Starter mamo.solutions

    (@maatien)

    Hi @aahulsebos,

    thanks for your reply.

    This is the list of the currently active plugins:

    • Akismet Anti-Spam
    • BackWPup
    • Blog2Social: Social Media Auto Post & Scheduler
    • Cache Enabler
    • Complianz | GDPR/CCPA Cookie Consent
    • Contact Form 7
    • Enable Gzip Compression
    • Essential Grid
    • EWWW Image Optimizer
    • Honeypot for Contact Form 7
    • HTTP Headers
    • Loco Translate
    • MainWP Child
    • MC4WP: Mailchimp for WordPress
    • Redirection
    • Search & Replace
    • Slider Revolution
    • ThemeREX Updater
    • ThemeREX Utilities
    • WebP Express
    • Wordfence Security
    • WPBakery Page Builder
    • WPForms Lite
    • WP Mail SMTP
    • WP Phone Number
    • Yoast SEO

    Some plugins (ThemeRex, Essential Grid, Slider Revolution, WPBakery, WPForms) are direct bundled with the premium theme “Grooming

    Thanks in advance,
    Martin

    Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @maatien,

    Would it be possible for you to share an URL to the affected page, so we can recreate the page (using the same elements and such) on our own environments and try to reproduce the behavior?

    Thank you in advance.
    Kind regards,
    Jarno

    Thread Starter mamo.solutions

    (@maatien)

    Hi @jarnovos,

    the error occurs for example on this simple page with a YouTube video embedded:
    https://www.hunde-coach.com/mantrailing-en-espana/

    Regards,
    Martin

    Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @maatien,

    Could you try the plugin version attached on the GitHub link below? This should solve the issue as the Cookie Banner has now been excluded from the WPBakery front-end editor.

    You can download the adapted version by clicking the green Code button > “Download .ZIP”. Make sure to disable the currently activated version of Complianz first.

    https://github.com/Really-Simple-Plugins/complianz-gdpr/tree/wpb-frontend-builder

    Hope this helps!
    Kind regards,
    Jarno

    Thread Starter mamo.solutions

    (@maatien)

    Hi @jarnovos,

    the updated version fixes the problem, the page can be edited in the front-end editor again 🙂

    Thank you so much for your quick response, you are doing a great job!

    Kind regards,
    Martin

    Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @maatien,

    Thank you for your kind words and confirmation as to the solution!

    I expect this addition to be included in an upcoming update of the plugin soon.

    I’ll mark this thread as resolved for now.

    Kind regards,
    Jarno

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

The topic ‘WPBakery Frontend Editor breaks with YouTube or Instagram integration’ is closed to new replies.