• Resolved RedCougar

    (@redcougar)


    Hello,
    since updating to version 6.0.4, I’m getting an error message related to Complianze in the Oxygen Builder Editor

    Screenshot

    An update to 6.0.5 nothing changed. There ist still this message.

Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    It sounds as if Oxygen is loading the banner javascript twice, not sure why. We’ll test this and get back to you.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Can you try this branch?

    It completely excludes page builders from loading the banner javascript:

    https://github.com/Really-Simple-Plugins/complianz-gdpr/tree/pagebuilder-condition

    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @redcougar,

    If I enter the Oxygen editor I get the following parameter;

    ?ct_builder=true&ct_inner=true

    In your error I see &oxygen_iframe=true -> then an error of an injected script.

    Is there a specific element on the page that should be blocked on consent? For example a map, iframe or YouTube video? This way I can try to replicate the issue.

    regards Aert

    Thread Starter RedCougar

    (@redcougar)

    Thanks for your response

    @aahulsebos
    The message is displayed on every single page. No matter whether a video or something else or nothing at all is built in. Maybe it’s because Oxygen works with different templates for InnerContent and Header/Footer.

    @rogierlankhorst
    I have adjusted the code. Now I’m getting two messages

    Screenshot 01

    Screenshot 02

    • This reply was modified 3 years ago by RedCougar.
    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @redcougar,

    I can’t open the screenshots, I use snipboard.io for these instances.

    regards Aert

    Thread Starter RedCougar

    (@redcougar)

    @aahulsebos

    Again for you on snipboard

    Screenshot 01

    Screenshot 02

    oshika35

    (@oshika35)

    I have the exact same issue. It started after installing Complianz.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Apparently the latest oxygen version has changed something, as older versions work fine with 6.0.

    We’ll test with the latest version, and get back on this.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @oshika35 @redcougar I’ve just tested with the latest Oxygen plugin. I couldn’t find a conflict yet with Complianz: the builder loads without any issues. So apparently it happens in certain specific configurations, only I don’t know what that is.

    The error message you posted suggests that Oxygen is loading Complianz twice, which isn’t a good idea. I wouldn’t know why it would do that, and how we could prevent that.

    We’ll contact the authors about the issue, I’ll get back to you on this.

    Thread Starter RedCougar

    (@redcougar)

    Many thanks for trying to help

    oshika35

    (@oshika35)

    Thanks for the help!

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    I can’t be sure if this helps, as I haven’t been able to reproduce, but I’ve made a change in the code, which might fix a possible conflict.

    Can you check if this helps? You can use the master, which is the upcoming 6.1 release.
    https://github.com/Really-Simple-Plugins/complianz-gdpr/

    oshika35

    (@oshika35)

    I tried the master branch but it didn’t work. I first disabled the plugin in my current setup, replaced the files using FTP, enabled the plugin again, opened a page with oxygen page builder and there’s still an error:

    SyntaxError: redeclaration of let cmplz_all_scripts_hook_fired on line #1 in https://url-of-the-website.com/?ct_builder=true&ct_inner=true&oxygen_iframe=true line 2 > injectedScript

    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @oshika35,

    I contacted Oxygen, I asked them to have a look as well. They can’t reproduce the error either, but we will keep looking,

    regards Aert

    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @oshika35, @redcougar

    A workaround approach given by Oxygen is using https://wordpress.org/plugins/freesoul-deactivate-plugins/ to deactivate Complianz when the URL has “ct_builder” as parameter,

    Both Oxygen and Complianz need to reproduce this to see what’s going, for now we can’t.

    regards Aert

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Error Message in Oxygen Builder’ is closed to new replies.