Beaver Builder, Metabox.io and Gutenberg
- This topic has 7 replies, 2 voices, and was last updated 4 years, 6 months ago by
maybeadev.
-
AuthorPosts
-
August 18, 2020 at 7:54 AM #21328
maybeadev
ParticipantI'm using Metabox.io to add a two fields to PAGES. With this in place, if you then edit any page and click on the LAUNCH BEAVER BUILDER button, you cannot launch beaver builder. You end up with a javascript error.
You can launch BB if you hover over the page in the page list and click the BB link.
BB is network activated.
Metabox.io is network activated.
BB Themer is network activated (deactivating it doesn't make a difference)(I don't think network activation has anything to do with this conflict though).
This is reproducible even if nothing else is activated.
Is this a known issue? Any ideas for a workaround?
Thanks.
August 18, 2020 at 10:53 AM #21332Long Nguyen
ModeratorHi there,
Since WordPress 5.5 released, there are a lot of themes/page builder plugins that need to update the source code to compatible with the new feature of WP core.
Please follow these steps to help me isolate the problem:
- 1: Try to deactivate all plugins (leave only Beaver and BB Themer activate) and switch to the default theme of WordPress (Twenty Twenty) to check the problem again.
- 2: If it solves the problem, you can activate the plugin Meta Box then recheck it. If the problem happens in this step, please let me know the version of Beaver (Lite or Agency) and BB Themer, open the Console tab to get the JavaScript error, take some screenshots of this problem then share on the next reply.
- 3: If it does not solve the problem, please contact the Beaver support to get a better response.
August 22, 2020 at 12:39 AM #21392maybeadev
ParticipantHi:
This is not a 5.5 issue - it was happening before 5.5 and site is still on 5.4.
It's definitely an issue between metabox.io and bb.
Both the Beaver Builder plugin and the Beaver Themer plugin are at their latest versions.
Here is an image of the error:
https://www.screencast.com/t/4JSd24CR2Thanks!
PS: Not receiving email notifications of replies from this forum for some reason hence the late reply.
August 22, 2020 at 9:55 AM #21396Long Nguyen
ModeratorHi,
I've checked on my demo site (multisite also) with the latest version of WordPress, Meta Box, Beaver but not see any issue. Looking into the JavaScript error, there is an issue with React DOM while launching Beaver Builder on the editing page. There are two extensions that use React, MB Blocks and MB Views.
Could you please check in the site if there is any broken View or custom block?
September 18, 2020 at 8:17 PM #21940maybeadev
ParticipantHi - I got some feedback from BB on this - here is what they said:
Sorry for the wait! It looks like this issue is caused by this particular line in Metabox's script.js file:
// Detect Gutenberg.
rwmb.isGutenberg = document.body.classList.contains( 'block-editor-page' );They're detecting Gutenberg using a jQuery/JS that's causing an error when the page is being redirected.
Does this help?
September 19, 2020 at 9:49 AM #21962Long Nguyen
ModeratorHi,
Thank you. I will pass this issue to the developer team to investigate further and let you know if there is any information.
October 3, 2020 at 12:29 AM #22231maybeadev
ParticipantHi:
I just wanted to follow up on this to see if there's any progress.
Thanks.
October 20, 2020 at 1:01 PM #22470maybeadev
ParticipantHi:
Still looking to follow up on this.
Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.