SOLVED: Bricks Builder and Weglot Plugin results in empty editor

Bricks Version: 1…57
Browser: Chrome 90
OS: macOS / Windows / Linux / etc.
URLhttps://jgv-steinbrunn.ch/

It’s more like a heads up as i can work around with little to no pain.

the moment I activate the Weglot Plugin, I can’t open Pages no more in Bricks. Pages that are open still can be edited however.

chhers,
Markus

Hi Markus,
Thanks so much for your report!

When activating Weglot, I have no problem, but when I click on the secondary language I get the white screen (the brx-body is empty) and some js errors in the console.

I have added the problem to the bug tracker, but I’m curious what your workaround is :slight_smile:

Best regards,
timmse

@timse

simply deactivate the plugin when i want to change something on the page and hopefully remember to activate it again after I’m done.
on that specific site this is no problem, others sites I was looking in to using weglot that would be a no go.

while i can perform some tasks when deactivate the plugin → open page in editor → activate the plugin again → start working on page, i can’t add images etc. cause insert button is not active.

1 Like

I have this exact problem. It took some time to find out what was going on.

Hi there.

Can someone give me a short update… is this problem fixed?

Thx

Hey Sascha,
Sorry, we’re still working on it (WIP).

1 Like

Hi.

Thx for Your fast feedback!

Do we know when this problem will be fixed?

Hi everyone,

One of our phenomenal users got in touch with Weglot regarding the issue and seems like the problem was from their end.

They’ve added this filter to get it solved:

if( isset( $_GET['bricks'] ) && $_GET['bricks'] == "run" ) {
      add_filter( 'weglot_active_translation',  __return_false );
}

Let me know if this solves it for you too :slight_smile:

Best regards,
Charaf

1 Like