Error Message in Oxygen Builder
-
Hello,
since updating to version 6.0.4, I’m getting an error message related to Complianze in the Oxygen Builder EditorAn update to 6.0.5 nothing changed. There ist still this message.
-
It sounds as if Oxygen is loading the banner javascript twice, not sure why. We’ll test this and get back to you.
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
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
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-
This reply was modified 3 years ago by
RedCougar.
I have the exact same issue. It started after installing Complianz.
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.
@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.
Many thanks for trying to help
Thanks for the help!
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/-
This reply was modified 3 years ago by
Rogier Lankhorst.
-
This reply was modified 3 years ago by
Rogier Lankhorst.
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
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
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
-
This reply was modified 3 years ago by
- The topic ‘Error Message in Oxygen Builder’ is closed to new replies.